From stuart at lexacorp.com.pg Tue Nov 1 00:50:25 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 Nov 2005 16:50:25 +1000 Subject: [AccessD] New Wheel Encryption Add-in In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F59@main2.marlow.com> Message-ID: <43679CD1.11867.1F36E281@stuart.lexacorp.com.pg> On 31 Oct 2005 at 11:49, DWUTKA at marlow.com wrote: > My my my, you lean something new everyday! I never realized that Mid was a > function that you could 'set', like Date(), and Time() > > Go figure. You obviously weren't following the recent thread on creating text files. I gave an example a few days ago using Mid$(): strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) -- Stuart From Gustav at cactus.dk Tue Nov 1 04:19:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 11:19:21 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all Well, Shamil did the dll in C++ and the result is amazing. A simple function runs the dll like this and returns the execution time in seconds: Public Function IArrayTimeLocal_ArrayTimeLocal( _ ByVal vlngSequences As Long, _ ByVal lngLoopMax As Long, _ strTotalCnt As String) As Long Dim obj As Object ' ArrayCruncherLib.Test Set obj = CreateObject("ArrayCruncher.Test") IArrayTimeLocal_ArrayTimeLocal = obj.ArrayTimeLocal(vlngSequences, lngLoopMax, strTotalCnt) Set obj = Nothing End Function It is essential the same as those functions used to test clean VBA and the DLL made with PowerBasic or FreeBASIC, but with an added multiplier, vlngSequences, to prevent too large values for lngLoopMax. For comparison I ran the test like this: ? IArrayTimeLocal_ArrayTimeLocal(1, 10 ^ 8, a$) This runs on my machine in 20 seconds! To summarize, this means that the result table for 10^6 loops now is (with converted time for PowerBasic from Stuart): ArrayTimeLocal: 34 seconds ArrayTimeDLL: 3.4 seconds (PowerBasic dll measured with 10^7 loops) ArrayTimeDLL: 2.2 seconds (FreeBASIC dll measured with 10^7 loops) IArrayTimeLocal_ArrayTimeLocal: 0.2 seconds (measured with 10^8 loops) Or to express it as speed improvement compared to VBA: VBA: 1:1 PowerBasic dll: 10:1 FreeBASIC dll: 15.5:1 C++ dll: 170:1 and compared to the FreeBASIC dll: C++ dll: 11:1 I knew C++ was fast but not this fast. I doubt you can program this in Assembler to run faster without a very deep understanding of both Assembler and how to optimize code for different Intel processors and even though it would take days if not weeks to program. Seems like if you do applications where some routines do millions of iterations, you better team up with a decent C++ programmer if not an expert like Shamil and move those functions and classes to external libraries. /gustav >>> Gustav at cactus.dk 30-10-2005 21:16 >>> Hi Marty, Shamil, Fred et all Well, I did a small and quite surprising test inspired by Shamil. Here is a test routine which can be seen as typical for what I do. The array is not large but it is read from and written to a bunch of times. Here is the local test using standard VBA: Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long Const lngItems As Long = 100 Dim alngTmp(1 To lngItems, 1 To 2) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double dblStart = Timer For lngLoop = 1 To lngLoopMax For lngItem = 1 To lngItems alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) ArrayTimeLocal = lngSeconds End Function And this is the test function using an DLL containing nearly identical code: Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long ArrayTimeDLL = ArrayTime(lngLoopMax) End Function The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. Setting lngLoopMax to 10^6 returns these running times for the two functions: ArrayTimeLocal: 34 seconds ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. /gustav From Gustav at cactus.dk Tue Nov 1 05:05:55 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 12:05:55 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Thanks! I posted the results in a previous message. I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. A learning experience indeed. /gustav >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil From bheid at appdevgrp.com Tue Nov 1 07:16:51 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 1 Nov 2005 08:16:51 -0500 Subject: [AccessD] Convert to Double - Excel OT In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7281@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1DD@ADGSERVER> This is just a WAG, but assuming that data in columns 15 and 9 are the integers, I'd do something like: Cells(irow, 18).Value = getNPPTLCell(cdbl(.Cells(irow, 15).Value), _ cdbl(.Cells(irow, 9).Value)) What does the function getNPPTLCell do? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 31, 2005 9:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Convert to Double - Excel OT I need to convert a number that is an integer to double format, as my routine is comparing an integer to a formula that contains decimals, and naturally Excel is rounding up, causing my select statement to jump to the next level of qualifications when any integer ends in the number 5. Does anyone know where in the world I would put the CDbl() in this statement: Cells(irow, 18).Value = getNPPTLCell(.Cells(irow, 15).Value, .Cells(irow, 9).Value) I have to define as rows as I am looping through the spreadsheet. Happy Halloween to all! Karen S. Nicholson From DWUTKA at marlow.com Tue Nov 1 07:32:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 1 Nov 2005 07:32:18 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F63@main2.marlow.com> Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. Drew -----Original Message----- From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] Sent: Tuesday, November 01, 2005 12:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Wheel Encryption Add-in On 31 Oct 2005 at 11:49, DWUTKA at marlow.com wrote: > My my my, you lean something new everyday! I never realized that Mid was a > function that you could 'set', like Date(), and Time() > > Go figure. You obviously weren't following the recent thread on creating text files. I gave an example a few days ago using Mid$(): strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 1 07:49:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 14:49:05 +0100 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: Hi Drew Well, one thread to check out, is: Array faster in DLL? That could really spin up your wheel encryption ... /gustav >>> DWUTKA at marlow.com 01-11-2005 14:32 >>> Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. From Gustav at cactus.dk Tue Nov 1 08:04:06 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 15:04:06 +0100 Subject: [AccessD] Oracle 10g Express Edition Message-ID: Hi all This is the official message published today: http://www.oracle.com/technology/products/database/xe/index.html /gustav >>> Gustav at cactus.dk 31-10-2005 16:00 >>> Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. From accessd at shaw.ca Tue Nov 1 11:38:35 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 01 Nov 2005 09:38:35 -0800 Subject: [AccessD] OT: Oracle 10g Express Edition In-Reply-To: Message-ID: <00fc01c5df0b$15cd2f50$017ba8c0@xpserver> Hi Gustav: Just received this comments from an OpenSource product research insider and I quote: Yes and no... they just recently acquired the company behind Innodb, which is an opensource project developed as a key component to MySQL. Oracle has been in talks with MySQL, but it's a bit hush. Oracle is publicly making a lot of promises about this and that, so not to p*** off the open source community (we remember what happened with SCO, right?), I think a lot of people are worried that Oracle has the potential for hostility against the MySQL world, as they have _no_ history of open source contributions, whereas the OS community trusts IBM for example... but on the other hand, they might give some technology to MySQL as a trade to get a better rep, like IBM We shall see. I don't have much hope for oracle, because, unless they are completely stupid, opensource is creeping into their territory and they need to change their business plan if they want to stay relevant. ...and, as far as I am aware, just like Microsoft, they haven't. All these comments are not my opinion but I thought they would be relevant. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 01, 2005 6:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Oracle 10g Express Edition Hi all This is the official message published today: http://www.oracle.com/technology/products/database/xe/index.html /gustav >>> Gustav at cactus.dk 31-10-2005 16:00 >>> Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Nov 1 12:04:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 01 Nov 2005 10:04:38 -0800 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> My hats off to you Gustav, Shamil and Stuart. Watching the exercises in array manipulation, in language performance and design has been very enlightening. I would like to be so bold as to ask whether any of you would mind if I placed the discussion exercise on our DBA web site. Appropriate credits will be applied. I can be contacted either on or off line. Jim The DBA web guy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 01, 2005 3:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Shamil Thanks! I posted the results in a previous message. I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. A learning experience indeed. /gustav >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 1 12:12:38 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 19:12:38 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim I certainly don't mind, you are most welcome! /gustav >>> accessd at shaw.ca 01-11-2005 19:04 >>> I would like to be so bold as to ask whether any of you would mind if I placed the discussion exercise on our DBA web site. Appropriate credits will be applied. I can be contacted either on or off line. Jim The DBA web guy From shamil at users.mns.ru Tue Nov 1 12:26:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:26:38 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <00b101c5df11$dbb75370$6401a8c0@fincomplex.spb.ru> You're welcome, Gustav! That was an interesting test to implement. And it brought me some new experience. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 01, 2005 2:05 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Thanks! I posted the results in a previous message. > > I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. > A learning experience indeed. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > > Very nice! I'm looking forward ... > Here it's Gustav - final results: > > VB6: 400,000,000 cycles in ~20 seconds > > C++: 10,000,000,000 cycles in ~18-19 seconds > > All the source code and test executables can be downloaded from: > http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) > > That was a quick test work but one can find some VB6 advanced coding with > Implements, which shows (IMHO) why low coupling and high cohesion is a good > and very practically oriented idea (especially for long run projects). > > Of course there is there also a direct coding - advanced a la' OOP was added > to start it getting generalized for someone else to maybe add other > languages test cases - anybody? > > Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the > test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run > enclosed batch file regme.bat > > Enjoy! > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 1 12:24:03 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:24:03 +0300 Subject: [AccessD] New Wheel Encryption Add-in References: Message-ID: <00b001c5df11$db9aa3b0$6401a8c0@fincomplex.spb.ru> Gustav and Drew, The code below with 10^5 chars string concatenation works within 1 second. 10^6 chars string concatenation works for ~10 secs on my PC. So before diving into C++ maybe some easy tricks on VB6/VBA can be used if they are good enough for a certain task? Please take into account that sample code below is just for demostation purposes - it wasn't made "rock solid" as it should be.... ' TEST code Private Sub Command1_Click() Dim obj As New CStringConcatenator Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) 'strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) obj.Add LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") strTemp2 = obj.Result MsgBox strTemp2 End Sub ' === cut here ==== ' Little tricky sample class to concat strings written by SS Private Const mcstrClassName As String = "CStringConcatenator" Private fileNumber As Integer Private fileFullPath As String Private Sub Class_Initialize() fileNumber = FreeFile fileFullPath = App.Path & "\~concat.tmp.txt" If Len(Dir(fileFullPath, vbNormal)) > 0 Then Kill fileFullPath Open fileFullPath For Binary Access Read Write As #fileNumber End Sub Private Sub Class_Terminate() Close #fileNumber End Sub Public Sub Add(ByVal vstr As String) Put #fileNumber, , vstr End Sub Public Property Get Result() As String Dim lngFileLen As Long Dim strResult As String lngFileLen = LOF(fileNumber) strResult = String(lngFileLen, Chr(0)) Seek #fileNumber, 1 Get #fileNumber, , strResult Result = strResult End Property HTH, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 01, 2005 4:49 PM Subject: Re: [AccessD] New Wheel Encryption Add-in > Hi Drew > > Well, one thread to check out, is: > > Array faster in DLL? > > That could really spin up your wheel encryption ... > > /gustav > > >>> DWUTKA at marlow.com 01-11-2005 14:32 >>> > Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 1 12:37:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:37:58 +0300 Subject: [AccessD] Array faster in DLL? References: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> Message-ID: <00d201c5df13$72f97190$6401a8c0@fincomplex.spb.ru> Jim, I don't mind. You're welcome to publish on DBA web site whatever you wanted from the stuff I wrote for this thread! Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 01, 2005 9:04 PM Subject: Re: [AccessD] Array faster in DLL? > My hats off to you Gustav, Shamil and Stuart. Watching the exercises in > array manipulation, in language performance and design has been very > enlightening. > > I would like to be so bold as to ask whether any of you would mind if I > placed the discussion exercise on our DBA web site. Appropriate credits will > be applied. I can be contacted either on or off line. > > Jim > The DBA web guy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 01, 2005 3:06 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > Hi Shamil > > Thanks! I posted the results in a previous message. > > I appreciate very much you took the time to create this dll. It certainly > has brought a new perspective. > A learning experience indeed. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > > Very nice! I'm looking forward ... > Here it's Gustav - final results: > > VB6: 400,000,000 cycles in ~20 seconds > > C++: 10,000,000,000 cycles in ~18-19 seconds > > All the source code and test executables can be downloaded from: > http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) > > That was a quick test work but one can find some VB6 advanced coding with > Implements, which shows (IMHO) why low coupling and high cohesion is a good > and very practically oriented idea (especially for long run projects). > > Of course there is there also a direct coding - advanced a la' OOP was added > to start it getting generalized for someone else to maybe add other > languages test cases - anybody? > > Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the > test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run > enclosed batch file regme.bat > > Enjoy! > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rupert_bennett at msn.com Tue Nov 1 13:24:15 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Tue, 01 Nov 2005 14:24:15 -0500 Subject: [AccessD] ActiveX Component Can't Create Object In-Reply-To: <00df01c5de93$63462f70$6101a8c0@JISREGISTRATION.local> Message-ID: This does not seem to be the problem. I downloaded the latest version last night. Any other suggestions are welcome. rupert >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] ActiveX Component Can't Create Object >Date: Mon, 31 Oct 2005 22:21:45 -0500 > >...I'd take a look at your MDAC ...either corrupted or an older version >maybe. > >William > >----- Original Message ----- >From: "Rupert Bennett" >To: >Sent: Monday, October 31, 2005 9:20 PM >Subject: [AccessD] ActiveX Component Can't Create Object > > > > Hi, > > I must have tinkered around and done something wrong, but I can't use > > objects from my toolbox or any of my wizards anymore. I have all the >most > > recent updates and service packs installed. I also upgraded to Access >2003 > > in the hope that this would solve the problem, but to no avail. Each >time > > I try to use a control from my toolbox or use any of the wizards, I get >a > > message saying "ActiveX Component can't create object". Does anyone know > > what the problem could be and what I could do to fix this? > > Thanks, > > Rupert > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Tue Nov 1 15:27:06 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2005 07:27:06 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> References: Message-ID: <43686A4A.18217.22598396@stuart.lexacorp.com.pg> On 1 Nov 2005 at 10:04, Jim Lawrence wrote: > My hats off to you Gustav, Shamil and Stuart. Watching the exercises in > array manipulation, in language performance and design has been very > enlightening. > > I would like to be so bold as to ask whether any of you would mind if I > placed the discussion exercise on our DBA web site. Appropriate credits will > be applied. I can be contacted either on or off line. > OK by me. -- Stuart From robert at servicexp.com Tue Nov 1 17:52:27 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 1 Nov 2005 18:52:27 -0500 Subject: [AccessD] ActiveX Component Can't Create Object Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F7B@gbsserver.GBS.local> Does this result take place on a brand new, empty db? Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rupert Bennett Sent: Tuesday, November 01, 2005 2:46 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ActiveX Component Can't Create Object This does not seem to be the problem. I downloaded the latest version last night. Any other suggestions are welcome. rupert >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] ActiveX Component Can't Create Object >Date: Mon, 31 Oct 2005 22:21:45 -0500 > >...I'd take a look at your MDAC ...either corrupted or an older version >maybe. > >William > >----- Original Message ----- >From: "Rupert Bennett" >To: >Sent: Monday, October 31, 2005 9:20 PM >Subject: [AccessD] ActiveX Component Can't Create Object > > > > Hi, > > I must have tinkered around and done something wrong, but I can't use > > objects from my toolbox or any of my wizards anymore. I have all the >most > > recent updates and service packs installed. I also upgraded to Access >2003 > > in the hope that this would solve the problem, but to no avail. Each >time > > I try to use a control from my toolbox or use any of the wizards, I get >a > > message saying "ActiveX Component can't create object". Does anyone know > > what the problem could be and what I could do to fix this? > > Thanks, > > Rupert > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 1 18:15:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 01 Nov 2005 16:15:52 -0800 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <43680538.10206@shaw.ca> You receive a "ActiveX component can't create object" error message when using Access http://support.microsoft.com/kb/q319844/ I'll bet on unregistered DA360.dll out of the five listed above. It is a common reason from 97 onward. Rupert Bennett wrote: >This does not seem to be the problem. I downloaded the latest version last >night. Any other suggestions are welcome. >rupert > > > > >>From: "William Hindman" >>Reply-To: Access Developers discussion and problem >>solving >>To: "Access Developers discussion and problem >>solving" >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" >>To: >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> >> >>>Hi, >>>I must have tinkered around and done something wrong, but I can't use >>>objects from my toolbox or any of my wizards anymore. I have all the >>> >>> >>most >> >> >>>recent updates and service packs installed. I also upgraded to Access >>> >>> >>2003 >> >> >>>in the hope that this would solve the problem, but to no avail. Each >>> >>> >>time >> >> >>>I try to use a control from my toolbox or use any of the wizards, I get >>> >>> >>a >> >> >>>message saying "ActiveX Component can't create object". Does anyone know >>>what the problem could be and what I could do to fix this? >>>Thanks, >>>Rupert >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/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 martyconnelly at shaw.ca Tue Nov 1 18:19:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 01 Nov 2005 16:19:10 -0800 Subject: [AccessD] Oracle 10g Express Edition References: Message-ID: <436805FE.6000703@shaw.ca> Or they are worried about MS SQL Express. Both database have same size limits. Gustav Brock wrote: >Hi all > >This is the official message published today: > > http://www.oracle.com/technology/products/database/xe/index.html > >/gustav > > > >>>>Gustav at cactus.dk 31-10-2005 16:00 >>> >>>> >>>> >Hi all > >This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. >It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. > >It is still in beta though ... whatever that is as 10g has been around for some time. >It's a 157 MB download. > > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at bellsouth.net Tue Nov 1 19:01:25 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 1 Nov 2005 20:01:25 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <008e01c5df48$f4415990$6101a8c0@JISREGISTRATION.local> ...did you delete the original before installing the new version? ...if they are the same version it will report the install but may not actually replace it. William ----- Original Message ----- From: "Rupert Bennett" To: Sent: Tuesday, November 01, 2005 2:24 PM Subject: Re: [AccessD] ActiveX Component Can't Create Object > This does not seem to be the problem. I downloaded the latest version last > night. Any other suggestions are welcome. > rupert > > >>From: "William Hindman" >>Reply-To: Access Developers discussion and problem >>solving >>To: "Access Developers discussion and problem >>solving" >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" >>To: >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> > Hi, >> > I must have tinkered around and done something wrong, but I can't use >> > objects from my toolbox or any of my wizards anymore. I have all the >>most >> > recent updates and service packs installed. I also upgraded to Access >>2003 >> > in the hope that this would solve the problem, but to no avail. Each >>time >> > I try to use a control from my toolbox or use any of the wizards, I get >>a >> > message saying "ActiveX Component can't create object". Does anyone >> > know >> > what the problem could be and what I could do to fix this? >> > Thanks, >> > Rupert >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rupert_bennett at msn.com Tue Nov 1 19:52:14 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Tue, 1 Nov 2005 20:52:14 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: <43680538.10206@shaw.ca> Message-ID: This seems to have been the problem. It was fixed after registering the DAO360.dll. Thanks Thanks for your help ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Tuesday, November 01, 2005 7:15 PM Subject: Re: [AccessD] ActiveX Component Can't Create Object You receive a "ActiveX component can't create object" error message when using Access http://support.microsoft.com/kb/q319844/ I'll bet on unregistered DA360.dll out of the five listed above. It is a common reason from 97 onward. Rupert Bennett wrote: >This does not seem to be the problem. I downloaded the latest version last >night. Any other suggestions are welcome. >rupert > > > > >>From: "William Hindman" > >>Reply-To: Access Developers discussion and problem >>solving> >>To: "Access Developers discussion and problem >>solving"> >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" > >>To: > >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> >> >>>Hi, >>>I must have tinkered around and done something wrong, but I can't use >>>objects from my toolbox or any of my wizards anymore. I have all the >>> >>> >>most >> >> >>>recent updates and service packs installed. I also upgraded to Access >>> >>> >>2003 >> >> >>>in the hope that this would solve the problem, but to no avail. Each >>> >>> >>time >> >> >>>I try to use a control from my toolbox or use any of the wizards, I get >>> >>> >>a >> >> >>>message saying "ActiveX Component can't create object". Does anyone know >>>what the problem could be and what I could do to fix this? >>>Thanks, >>>Rupert >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Nov 2 00:19:28 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 1 Nov 2005 22:19:28 -0800 Subject: [AccessD] AXP & A2k3 Message-ID: <000001c5df75$6215a300$0a01a8c0@desktop> Anyone load them on the same machine & partition. Different folders. Do they play well like that? Thanks Joe From shamil at users.mns.ru Wed Nov 2 03:16:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 12:16:53 +0300 Subject: [AccessD] AXP & A2k3 References: <000001c5df75$6215a300$0a01a8c0@desktop> Message-ID: <000301c5df95$1037f130$6401a8c0@fincomplex.spb.ru> Joe, I have Access2.0/97/2000/XP/2003 on the same PC, on the same logical disk and in different folders of course. They play well like that. Shamil ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 02, 2005 9:19 AM Subject: [AccessD] AXP & A2k3 > Anyone load them on the same machine & partition. Different folders. Do they > play well like that? > > Thanks > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 2 08:25:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 17:25:57 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... Message-ID: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Hi All, Could you please, anybody who has non-MS email clients, check that this code popups your email client send mail window? Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long public Sub TestSendMail() Dim strAddr As String Dim strSubj As String Dim strBody As String strAddr = "nobody at ghost.net" strSubj = "Prepare e-mail message via ShellExecute" strBody = "First line%0d%0aSecond line%0d%0aThird line..." Call ShellExecute(0&, vbNullString, _ "mailto:" & strAddr & _ "?Subject=" & strSubj & _ "&body=" & strBody, _ vbNullString, vbNullString, vbNormalFocus) End Sub Thank you, Shamil From JHewson at karta.com Wed Nov 2 08:35:50 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 2 Nov 2005 08:35:50 -0600 Subject: [AccessD] AXP & A2k3 Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0370B736@karta-exc-int.Karta.com> I have Access 97/2000/XP/2003 also. They work well together. What I have found is that to "force" one version to open for any given database file, I put the path of the Access executable in the shortcut. Otherwise, A2003 always opens. I can't figure out how to make the last version opened start. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 02, 2005 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AXP & A2k3 Joe, I have Access2.0/97/2000/XP/2003 on the same PC, on the same logical disk and in different folders of course. They play well like that. Shamil ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 02, 2005 9:19 AM Subject: [AccessD] AXP & A2k3 > Anyone load them on the same machine & partition. Different folders. Do they > play well like that? > > Thanks > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 2 08:35:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Nov 2005 15:35:57 +0100 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... Message-ID: Hi Shamil It does with GroupWise as the primary mail client. To: nobody at ghost.net Subject: Prepare e-mail message via ShellExecute Body: First line Second line Third line... /gustav >>> shamil at users.mns.ru 02-11-2005 15:25 >>> Hi All, Could you please, anybody who has non-MS email clients, check that this code popups your email client send mail window? From bchacc at san.rr.com Wed Nov 2 09:08:20 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 2 Nov 2005 07:08:20 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> <004401c5de46$16076eb0$0600a8c0@v1000> Message-ID: <009501c5dfbf$435fda30$6501a8c0@HAL9004> Lembit: I think you may be right. But I hate to make changes I can't test. I wish there were a way to get it to fail consistently. Regards, Rocky ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 10:08 AM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report >I guess you should put the second command into the OnOpen or better even > OnLoad event of the frmMainMenu. It might not like closing the form while > the open command is still being executed. > > Lembit > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Monday, October 31, 2005 6:42 PM > Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > > >> Dear List: >> >> Does anyone know why a user should generate this error: >> >> Error: 2585 - This action can't be carried out while processing a form or >> report event. >> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >> It occurs in a sub menu - unbound form. The click routine just opens the >> main menu and closes this sub menu. It doesn't occur consistently. I >> can't >> get it to repeat and a couple of users who have gotten it can't get it to >> occur with any regularity. Some users never get it. >> >> The code in the click event (I stripped out the error trapping) is: >> >> DoCmd.OpenForm ("frmMainMenu") >> DoCmd.Close acForm, "frmMaterialPlanning" >> >> Any ideas? >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> ----- Original Message ----- >> From: "Laurie" >> To: >> Sent: Monday, October 31, 2005 9:35 AM >> Subject: E-Z-MRP(tm) Error Report >> >> >> Error: 2585 - This action can't be carried out while processing a form or >> report event. >> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >> 28.10.2005 >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shait at mindspring.com Wed Nov 2 10:19:02 2005 From: shait at mindspring.com (Stephen Hait) Date: Wed, 2 Nov 2005 11:19:02 -0500 Subject: [AccessD] AXP & A2k3 In-Reply-To: <000001c5df75$6215a300$0a01a8c0@desktop> Message-ID: <4368A0A6.27355.9A48103@localhost> > Anyone load them on the same machine & partition. Different folders. > Do they play well like that? You should be able to run multiple versions of Access on the same machine - I do. One tool that helps with this is called Access Version Checker. http://www.aylott.com.au/accver.htm This allows opening an Access file with the correct version of Access as well as giving you a quick way to determine what version of Access a file was created with. HTH, Stephen From shamil at users.mns.ru Wed Nov 2 11:16:51 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 20:16:51 +0300 Subject: [AccessD] FYI: What CIOs Need To Know About Office 12 Message-ID: <001701c5dfd1$41c055d0$6401a8c0@fincomplex.spb.ru> http://www.cio-today.com/story.xhtml?story_id=1330000323MJ "We're not trying to single out Microsoft here, but rather note that heterogeneity allows businesses to tolerate threats more effectively, just as biological diversity allows populations to better tolerate disease." Shamil . From lembit.soobik at t-online.de Wed Nov 2 10:40:26 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 2 Nov 2005 17:40:26 +0100 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000> <009501c5dfbf$435fda30$6501a8c0@HAL9004> Message-ID: <001201c5dfcc$216a6370$0600a8c0@v1000> I'm not sure how to make it fail for sure :) but you can try to install it on a very slow and on a very fast PC from your info it seems to try to close the form while it is still starting to open the other form, so it may be either closing too fast or opening too slowly. you could try to put a ton of controls on the form to be opened, which is a lot of work and no guarantee for success. you could also try to run it on a PC where the cpu is temperaturewise on the upper limit (to reduce its speed) or cool it down to increase speed Also you can ask the users on what PCs they are using it when they have the failure and see whether tat are very slow ones. Lembit ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 4:08 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Lembit: > > I think you may be right. But I hate to make changes I can't test. I > wish > there were a way to get it to fail consistently. > > Regards, > > Rocky > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 31, 2005 10:08 AM > Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > > >>I guess you should put the second command into the OnOpen or better even >> OnLoad event of the frmMainMenu. It might not like closing the form while >> the open command is still being executed. >> >> Lembit >> >> ----- Original Message ----- >> From: "Rocky Smolin - Beach Access Software" >> To: >> Sent: Monday, October 31, 2005 6:42 PM >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report >> >> >>> Dear List: >>> >>> Does anyone know why a user should generate this error: >>> >>> Error: 2585 - This action can't be carried out while processing a form >>> or >>> report event. >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >>> >>> It occurs in a sub menu - unbound form. The click routine just opens >>> the >>> main menu and closes this sub menu. It doesn't occur consistently. I >>> can't >>> get it to repeat and a couple of users who have gotten it can't get it >>> to >>> occur with any regularity. Some users never get it. >>> >>> The code in the click event (I stripped out the error trapping) is: >>> >>> DoCmd.OpenForm ("frmMainMenu") >>> DoCmd.Close acForm, "frmMaterialPlanning" >>> >>> Any ideas? >>> >>> MTIA, >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> >>> ----- Original Message ----- >>> From: "Laurie" >>> To: >>> Sent: Monday, October 31, 2005 9:35 AM >>> Subject: E-Z-MRP(tm) Error Report >>> >>> >>> Error: 2585 - This action can't be carried out while processing a form >>> or >>> report event. >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >>> -- >>> Internal Virus Database is out-of-date. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >>> 28.10.2005 >>> >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: 01.11.2005 > > From carbonnb at gmail.com Wed Nov 2 11:29:13 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 2 Nov 2005 12:29:13 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: On 02/11/05, Shamil Salakhetdinov wrote: > Could you please, anybody who has non-MS email clients, check that this code > popups your email client send mail window? Works for me with Groupwise as well. I'll check at home tonight to see if it works with Pegasus Mail, if I get the chance. -- 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 shamil at users.mns.ru Wed Nov 2 12:13:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 21:13:31 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: Message-ID: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> Thank you, Gustav! So it works well for non-MS mail clients running of MS Windows. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 02, 2005 5:35 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > Hi Shamil > > It does with GroupWise as the primary mail client. > > To: nobody at ghost.net > Subject: Prepare e-mail message via ShellExecute > Body: > First line > Second line > Third line... > > /gustav > > >>> shamil at users.mns.ru 02-11-2005 15:25 >>> > Hi All, > > Could you please, anybody who has non-MS email clients, check that this code > popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 12:50:27 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 13:50:27 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F06@EXCNYSM0A1AI.nysemail.nyenet> One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** From mboyd at deloitte.com Wed Nov 2 12:55:03 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 13:55:03 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: Patti - First, make sure there is a default printer installed. If there is, I recommend removing it, and re-installing. I've seen a number of preview/printing issues related to Access reports, generally resulting in an issue with the default printer. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 - Page Setup and Print not working One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From shamil at users.mns.ru Wed Nov 2 13:04:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 22:04:23 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: <009201c5dfe0$3e9fb710$6401a8c0@fincomplex.spb.ru> Thank you, Bryan, I should work with Pegasus mail too I guess. How it works under MS Windows "hoods" is described here: http://www.microsoft.com/mind/0199/cutting/cutting0199.asp Shamil ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 8:29 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > On 02/11/05, Shamil Salakhetdinov wrote: > > > Could you please, anybody who has non-MS email clients, check that this code > > popups your email client send mail window? > > Works for me with Groupwise as well. I'll check at home tonight to see > if it works with Pegasus Mail, if I get the chance. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:13:30 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:13:30 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F08@EXCNYSM0A1AI.nysemail.nyenet> Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Wed Nov 2 13:26:33 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 14:26:33 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: On a pc where the app is printing fine, is the default printer selected for the report(s) within Page Setup, or is a specific printer selected? You mentioned that you tried setting up a different printer. Did you first remove the default printer entirely, then re-add it? Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 2:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 2 13:30:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 02 Nov 2005 11:30:04 -0800 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> Message-ID: <436913BC.3010304@shaw.ca> Mine doesn't work with Netscape Composer But I know why. The Shell command should return this error but you wont see it "Could not perform this operation because the default mail client is not properly installed." The reason is this registry entry below points to Outlook rather than Netscape. HKEY_CLASSES_ROOT\mailto\shell\open\command I installed Netscape then full Office 2003 I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 so the registry key wasn't changed back. One of these days I may do a full install of Netscape 8.0 Shamil Salakhetdinov wrote: >Thank you, Gustav! >So it works well for non-MS mail clients running of MS Windows. > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Wednesday, November 02, 2005 5:35 PM >Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS >emailclients... > > > > >>Hi Shamil >> >>It does with GroupWise as the primary mail client. >> >>To: nobody at ghost.net >>Subject: Prepare e-mail message via ShellExecute >>Body: >>First line >>Second line >>Third line... >> >>/gustav >> >> >> >>>>>shamil at users.mns.ru 02-11-2005 15:25 >>> >>>>> >>>>> >>Hi All, >> >>Could you please, anybody who has non-MS email clients, check that this >> >> >code > > >>popups your email client send mail window? >> >> >>-- >>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 Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:31:25 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:31:25 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F09@EXCNYSM0A1AI.nysemail.nyenet> No did entirely remove the original default printer. We assigned another printer as default and Access still would not print or do page setup. Then moved it reset original as default. Will try entirely removing printer, restarting, and adding it again - see what happens. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 02:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > On a pc where the app is printing fine, is the default > printer selected for the report(s) within Page Setup, or is a > specific printer selected? > > You mentioned that you tried setting up a different printer. > Did you first remove the default printer entirely, then re-add it? > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 2:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Tried to set up a different printer - no good even restarted access > > When you put the cursor near the printer in word, outlook, excel - the > name of the printer shows up > BUT when you do the same on the access printer it says NO PRINTER. > > Thanks - Any other ideas > Patti > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Boyd, Mark Thomas (US - Philadelphia) > > Sent: Wednesday, November 02, 2005 01:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access 2003 - Page Setup and Print > not working > > > > Patti - > > First, make sure there is a default printer installed. If > > there is, I recommend removing it, and re-installing. I've > > seen a number of preview/printing issues related to Access > > reports, generally resulting in an issue with the default printer. > > > > > > Mark Boyd > > Senior Consultant > > Enterprise Risk Services > > Deloitte & Touche LLP > > > > Tel: +1 215 405 5576 > > mboyd at deloitte.com > > www.deloitte.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > > Patricia (OTDA) > > Sent: Wednesday, November 02, 2005 1:50 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > > > One of the people in our office is having a problem with printing > > anything in an Access database. Whenever they try doing the > PAGE SETUP > > and/or Print nothing happens. I tried creating a new test > database to > > see if maybe it was just the DB they were working with, but > > no the same > > thing happened. I had them reboot the machine. I also tried > > the compact > > and repair - still no help. > > > > It is not happening to Excel or Word on that same machine. I also > > checked with DB's on my machine also with no problem. > > > > Any help will be greatly appreciated. > > Thanks > > Patti > > > > ****************************************************************** > > *Patricia O'Connor > > *Associate Computer Programmer Analyst > > *OTDA - BDMA > > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > > *(w) mailto:aa1160 at otda.state.ny.us > > ****************************************************************** > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > This message (including any attachments) contains > > confidential information intended for a specific individual > > and purpose, and is protected by law. If you are not the > > intended recipient, you should delete this message. > > > > > > Any disclosure, copying, or distribution of this message, or > > the taking of any action based on it, is strictly > prohibited. [v.E.1] > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Wed Nov 2 13:32:38 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 13:32:38 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F08@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <001701c5dfe4$2fcba560$6901a8c0@ScuzzPaq> If you go into File | Page Setup and click the Page Tab is the default printer radio button picked or the use specific printer button? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:37:24 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:37:24 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0A@EXCNYSM0A1AI.nysemail.nyenet> The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 02:33 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > If you go into File | Page Setup and click the Page Tab is > the default printer radio button picked or the use specific > printer button? > From cyx5 at cdc.gov Wed Nov 2 13:24:18 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 2 Nov 2005 14:24:18 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: Also make sure that the autocorrect feature is not checked as true, that will mess reports up major. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, November 02, 2005 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Patti - First, make sure there is a default printer installed. If there is, I recommend removing it, and re-installing. I've seen a number of preview/printing issues related to Access reports, generally resulting in an issue with the default printer. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 - Page Setup and Print not working One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Wed Nov 2 13:57:00 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 14:57:00 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: I recommend ensuring that the most recent Office SP is installed on the pc that is having the problem. Also, have your network admin verify that the printer has the most up-to-date drivers. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 02:33 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > If you go into File | Page Setup and click the Page Tab is > the default printer radio button picked or the use specific > printer button? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From shamil at users.mns.ru Wed Nov 2 14:25:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 23:25:30 +0300 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> <436913BC.3010304@shaw.ca> Message-ID: <00c201c5dfeb$9a95e2f0$6401a8c0@fincomplex.spb.ru> Marty, May I ask you to run this code below, which shows ShellExecute return value in a message box? When ShellExecute succeed this return value = 42. What it's in your case? Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Public Sub TestSendMail() Dim strAddr As String Dim strSubj As String Dim strBody As String Dim lngRet As Long strAddr = "nobody at ghost.net" strSubj = "Prepare e-mail message via ShellExecute" strBody = "First line%0d%0aSecond line%0d%0aThird line..." lngRet = ShellExecute(0&, vbNullString, _ "mailto:" & strAddr & _ "?Subject=" & strSubj & _ "&body=" & strBody, _ vbNullString, vbNullString, vbNormalFocus) MsgBox "ShellExecute return value = " & lngRet, _ vbInformation + vbOKOnly, "Test SE" End Sub Thank you, Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 10:30 PM Subject: Re: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... > Mine doesn't work with Netscape Composer > But I know why. > The Shell command should return this error but you wont see it > "Could not perform this operation because the default mail client is > not properly installed." > The reason is this registry entry below points to Outlook rather than > Netscape. > > HKEY_CLASSES_ROOT\mailto\shell\open\command > > I installed Netscape then full Office 2003 > I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 > so the registry key wasn't changed back. > One of these days I may do a full install of Netscape 8.0 > <<< tail trimmed>>> From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 14:21:01 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 15:21:01 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0B@EXCNYSM0A1AI.nysemail.nyenet> Thank you everyone. We finally got it fixed. Had to make sure access was closed before selecting a default printer. Also part of the problem is some of the printers are older and do need new drivers, since they all cause problems with Access. Thanks again for you prompt help Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** From john at winhaven.net Wed Nov 2 14:25:17 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 14:25:17 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0A@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <002001c5dfeb$8a7b9270$6901a8c0@ScuzzPaq> Is this a runtime version of Access? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:37 PM The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. From shamil at users.mns.ru Wed Nov 2 14:48:34 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 23:48:34 +0300 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000><009501c5dfbf$435fda30$6501a8c0@HAL9004> <001201c5dfcc$216a6370$0600a8c0@v1000> Message-ID: <00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> Rocky, Did you try to do it this way?: DoCmd.Close acForm, "frmMaterialPlanning" DoCmd.OpenForm ("frmMainMenu") I.e. change the sequence of close and open form statements? What version of MS Access do you use? Do you have any ActiveX controls on your forms? Do you have timer control on your forms? Do you use DoEvents statements in your code called directly or indirectly while frmMainMenu is being opened and frmMaterialPlanning is being closed? Open form and close form are synchronous operations but they can queue asynchronous operations like processing events of ActiveX controls (e.g. Treeview) - and when they will be processed depends on many factors... Shamil > >> > >> ----- Original Message ----- > >> From: "Rocky Smolin - Beach Access Software" > >> To: > >> Sent: Monday, October 31, 2005 6:42 PM > >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > >> > >> > >>> Dear List: > >>> > >>> Does anyone know why a user should generate this error: > >>> > >>> Error: 2585 - This action can't be carried out while processing a form > >>> or > >>> report event. > >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click > >>> > >>> It occurs in a sub menu - unbound form. The click routine just opens > >>> the > >>> main menu and closes this sub menu. It doesn't occur consistently. I > >>> can't > >>> get it to repeat and a couple of users who have gotten it can't get it > >>> to > >>> occur with any regularity. Some users never get it. > >>> > >>> The code in the click event (I stripped out the error trapping) is: > >>> > >>> DoCmd.OpenForm ("frmMainMenu") > >>> DoCmd.Close acForm, "frmMaterialPlanning" > >>> > >>> Any ideas? > >>> > >>> MTIA, > >>> > >>> Rocky Smolin > >>> Beach Access Software > >>> http://www.e-z-mrp.com > >>> 858-259-4334 > >>> > >>> ----- Original Message ----- > >>> From: "Laurie" > >>> To: > >>> Sent: Monday, October 31, 2005 9:35 AM > >>> Subject: E-Z-MRP(tm) Error Report > >>> > >>> > >>> Error: 2585 - This action can't be carried out while processing a form > >>> or > >>> report event. > >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click > >>> -- > >>> Internal Virus Database is out-of-date. > >>> Checked by AVG Anti-Virus. > >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > >>> > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> > >>> -- > >>> No virus found in this incoming message. > >>> Checked by AVG Free Edition. > >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: > >>> 28.10.2005 > >>> > >>> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: 01.11.2005 > > > > > > -- > 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 Nov 2 14:55:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 2 Nov 2005 12:55:24 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> <004401c5de46$16076eb0$0600a8c0@v1000> <009501c5dfbf$435fda30$6501a8c0@HAL9004> <001201c5dfcc$216a6370$0600a8c0@v1000> <00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> Message-ID: <030901c5dfef$bf6aea40$6501a8c0@HAL9004> Shamil: Thought you had to open the next form before closing the current one. No? Other questions: mde compiled in A2K (although a user could obviously run the A2K mde with A2K2 or A2K3) No ActiveX controls. No timer control or event. No DoEvents. Any clues there? Regards, Rocky ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 12:48 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Rocky, > > Did you try to do it this way?: > > DoCmd.Close acForm, "frmMaterialPlanning" > DoCmd.OpenForm ("frmMainMenu") > > I.e. change the sequence of close and open form statements? > > What version of MS Access do you use? > Do you have any ActiveX controls on your forms? > Do you have timer control on your forms? > Do you use DoEvents statements in your code called directly or indirectly > while frmMainMenu is being opened and frmMaterialPlanning is being closed? > > Open form and close form are synchronous operations but they can queue > asynchronous operations like processing events of ActiveX controls (e.g. > Treeview) - and when they will be processed depends on many factors... > > Shamil > > >> >> >> >> ----- Original Message ----- >> >> From: "Rocky Smolin - Beach Access Software" >> >> To: >> >> Sent: Monday, October 31, 2005 6:42 PM >> >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report >> >> >> >> >> >>> Dear List: >> >>> >> >>> Does anyone know why a user should generate this error: >> >>> >> >>> Error: 2585 - This action can't be carried out while processing a >> >>> form >> >>> or >> >>> report event. >> >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >>> >> >>> It occurs in a sub menu - unbound form. The click routine just opens >> >>> the >> >>> main menu and closes this sub menu. It doesn't occur consistently. >> >>> I >> >>> can't >> >>> get it to repeat and a couple of users who have gotten it can't get >> >>> it >> >>> to >> >>> occur with any regularity. Some users never get it. >> >>> >> >>> The code in the click event (I stripped out the error trapping) is: >> >>> >> >>> DoCmd.OpenForm ("frmMainMenu") >> >>> DoCmd.Close acForm, "frmMaterialPlanning" >> >>> >> >>> Any ideas? >> >>> >> >>> MTIA, >> >>> >> >>> Rocky Smolin >> >>> Beach Access Software >> >>> http://www.e-z-mrp.com >> >>> 858-259-4334 >> >>> >> >>> ----- Original Message ----- >> >>> From: "Laurie" >> >>> To: >> >>> Sent: Monday, October 31, 2005 9:35 AM >> >>> Subject: E-Z-MRP(tm) Error Report >> >>> >> >>> >> >>> Error: 2585 - This action can't be carried out while processing a >> >>> form >> >>> or >> >>> report event. >> >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >>> -- >> >>> Internal Virus Database is out-of-date. >> >>> Checked by AVG Anti-Virus. >> >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >> >>> >> >>> >> >>> >> >>> -- >> >>> AccessD mailing list >> >>> AccessD at databaseadvisors.com >> >>> http://databaseadvisors.com/mailman/listinfo/accessd >> >>> Website: http://www.databaseadvisors.com >> >>> >> >>> >> >>> -- >> >>> No virus found in this incoming message. >> >>> Checked by AVG Free Edition. >> >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >> >>> 28.10.2005 >> >>> >> >>> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > No virus found in this incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: > 01.11.2005 >> > >> > >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 15:12:44 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 16:12:44 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0C@EXCNYSM0A1AI.nysemail.nyenet> Regular version of access. We made sure access was closed, re-did the printer, started access and it worked Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 03:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Is this a runtime version of Access? > From john at winhaven.net Wed Nov 2 15:36:01 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 15:36:01 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0C@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <003601c5dff5$6c3bff20$6901a8c0@ScuzzPaq> Glad it worked for you. Please let us know if this is a recurring problem. I've never heard of an instance like this and its good to know what kind of problems to expect! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 3:13 PM Regular version of access. We made sure access was closed, re-did the printer, started access and it worked From stuart at lexacorp.com.pg Wed Nov 2 15:44:52 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 03 Nov 2005 07:44:52 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> On 2 Nov 2005 at 12:29, Bryan Carbonnell wrote: > On 02/11/05, Shamil Salakhetdinov wrote: > > > Could you please, anybody who has non-MS email clients, check that this code > > popups your email client send mail window? > > Works for me with Groupwise as well. I'll check at home tonight to see > if it works with Pegasus Mail, if I get the chance. > Works fine for me with Pegasus Mail. -- Stuart From shamil at users.mns.ru Wed Nov 2 17:44:59 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 02:44:59 +0300 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000><009501c5dfbf$435fda30$6501a8c0@HAL9004><001201c5dfcc$216a6370$0600a8c0@v1000><00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> <030901c5dfef$bf6aea40$6501a8c0@HAL9004> Message-ID: <018801c5e00a$7afd69d0$6401a8c0@fincomplex.spb.ru> <<< > Thought you had to open the next form before closing the current one. No? >>> No, it's not necessary. Despite the fact form is closed its code behind finishes OK. But beware when form is closed its local form level variables become deinitialized therefore they can't be used while form is closing.... <<< although a user could obviously run the A2K mde with > A2K2 or A2K3 >>> This can be the source of the problem. I have seen such weird effects for Acc2K add-ins(mda) running under AXP and A2003... Shamil ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 11:55 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Shamil: > > Thought you had to open the next form before closing the current one. No? > > Other questions: > mde compiled in A2K (although a user could obviously run the A2K mde with > A2K2 or A2K3) > No ActiveX controls. > No timer control or event. > No DoEvents. > > Any clues there? > > Regards, > > Rocky > > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 02, 2005 12:48 PM > Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > > > > Rocky, > > > > Did you try to do it this way?: > > > > DoCmd.Close acForm, "frmMaterialPlanning" > > DoCmd.OpenForm ("frmMainMenu") > > > > I.e. change the sequence of close and open form statements? > > > > What version of MS Access do you use? > > Do you have any ActiveX controls on your forms? > > Do you have timer control on your forms? > > Do you use DoEvents statements in your code called directly or indirectly > > while frmMainMenu is being opened and frmMaterialPlanning is being closed? > > > > Open form and close form are synchronous operations but they can queue > > asynchronous operations like processing events of ActiveX controls (e.g. > > Treeview) - and when they will be processed depends on many factors... > > > > Shamil > > <<< tail skipped>>> From martyconnelly at shaw.ca Wed Nov 2 19:23:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 02 Nov 2005 17:23:57 -0800 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> <436913BC.3010304@shaw.ca> <00c201c5dfeb$9a95e2f0$6401a8c0@fincomplex.spb.ru> Message-ID: <436966AD.7080408@shaw.ca> I get return value = 5 Shamil Salakhetdinov wrote: >Marty, > >May I ask you to run this code below, which shows ShellExecute return value >in a message box? >When ShellExecute succeed this return value = 42. >What it's in your case? > >Private Declare Function ShellExecute Lib "shell32.dll" _ > Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ > As String, ByVal lpFile As String, ByVal lpParameters As String, _ > ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long > >Public Sub TestSendMail() >Dim strAddr As String >Dim strSubj As String >Dim strBody As String >Dim lngRet As Long > strAddr = "nobody at ghost.net" > strSubj = "Prepare e-mail message via ShellExecute" > strBody = "First line%0d%0aSecond line%0d%0aThird line..." > lngRet = ShellExecute(0&, vbNullString, _ > "mailto:" & strAddr & _ > "?Subject=" & strSubj & _ > "&body=" & strBody, _ > vbNullString, vbNullString, vbNormalFocus) > MsgBox "ShellExecute return value = " & lngRet, _ > vbInformation + vbOKOnly, "Test SE" >End Sub > >Thank you, >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, November 02, 2005 10:30 PM >Subject: Re: [AccessD] ShellExecute to send short e-mailvia non-MS >emailclients... > > > > >>Mine doesn't work with Netscape Composer >>But I know why. >>The Shell command should return this error but you wont see it >>"Could not perform this operation because the default mail client is >>not properly installed." >>The reason is this registry entry below points to Outlook rather than >>Netscape. >> >>HKEY_CLASSES_ROOT\mailto\shell\open\command >> >>I installed Netscape then full Office 2003 >>I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 >>so the registry key wasn't changed back. >>One of these days I may do a full install of Netscape 8.0 >> >> >> ><<< tail trimmed>>> > > > -- Marty Connelly Victoria, B.C. Canada From Paul.Rogers at SummitMedia.co.uk Thu Nov 3 03:18:50 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 3 Nov 2005 09:18:50 -0000 Subject: [AccessD] MySQL 5 Message-ID: Any good reason for not upgrading to MySQL 5, Gurus? Cheers paul -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/159 - Release Date: 02/11/2005 From carbonnb at gmail.com Thu Nov 3 04:22:58 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 3 Nov 2005 05:22:58 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> Message-ID: On 02/11/05, Stuart McLachlan wrote: > On 2 Nov 2005 at 12:29, Bryan Carbonnell wrote: > > > On 02/11/05, Shamil Salakhetdinov wrote: > > > > > Could you please, anybody who has non-MS email clients, check that this code > > > popups your email client send mail window? > > > > Works for me with Groupwise as well. I'll check at home tonight to see > > if it works with Pegasus Mail, if I get the chance. > > > > Works fine for me with Pegasus Mail. Me too. Like I ever doubted it :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rl_stewart at highstream.net Thu Nov 3 07:18:13 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 03 Nov 2005 07:18:13 -0600 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: References: Message-ID: <6.2.3.4.2.20051103071744.0293a880@pop3.highstream.net> Works with Eudora. At 12:00 PM 11/2/2005, you wrote: >From: "Shamil Salakhetdinov" >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > clients... >To: "!DBA-MAIN" >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> >Content-Type: text/plain; charset="koi8-r" > >Hi All, > >Could you please, anybody who has non-MS email clients, check that this code >popups your email client send mail window? From iggy at nanaimo.ark.com Thu Nov 3 07:47:54 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 03 Nov 2005 05:47:54 -0800 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... Message-ID: <436A150A.4050607@nanaimo.ark.com> Hey Shamil The code worked fine on my 2 XP machines. Tried it on my old NT machine - Netscape not using Outlook Message Box gives me a return value of 42 But then I get what looks like an Outlook error msg."The ordinal 36 could not be located in the dynamic link library Mapi32.dll." From shamil at users.mns.ru Thu Nov 3 08:33:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 17:33:42 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... References: <6.2.3.4.2.20051103071744.0293a880@pop3.highstream.net> Message-ID: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> > Works with Eudora. > Works fine for me with Pegasus Mail. > Works for me with Groupwise as well. > Works for Outlook > Works for Outlook Express Thank you everybody! Obviously it works with any default e-mail client on MS Windows. > How it works under MS Windows "hoods" is described here: > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp For me this means there is protocol all the e-mail clients follow. And under MS Windows mshtml.dll seems to be the program, which is calling default mail clients - the question is how it does that? Is that as simple as /mailurl: ? I.e. for Outlook Express in generic form it should look like: "%Outlook Express Folder%MSIMN.EXE" /mailurl:mailto:%t?cc=%c&bcc=%b&subject=%s&body=%m But it doesn't work when I try to use real parameters. It works only for the first parameter (To) - the tail parameters are getting lost... What is the default (command line) mailto protocol all e-mail clients follow? Or there is a different protocol they all accept? - I cannot find it via google.... Why so simple things are implemented so complicated way and are so badly documented? (just a rhetoric question) Shamil ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Thursday, November 03, 2005 4:18 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS email clients... > Works with Eudora. > > At 12:00 PM 11/2/2005, you wrote: > >From: "Shamil Salakhetdinov" > >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > > clients... > >To: "!DBA-MAIN" > >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> > >Content-Type: text/plain; charset="koi8-r" > > > >Hi All, > > > >Could you please, anybody who has non-MS email clients, check that this code > >popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 3 08:42:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 17:42:16 +0300 Subject: [AccessD] ShellExecute to sendshort e-mailvia non-MS email clients... References: <436A150A.4050607@nanaimo.ark.com> Message-ID: <009b01c5e084$d415cab0$6401a8c0@fincomplex.spb.ru> > Message Box gives me a return value of 42 Return value 42 is OK - I get the same when new e-mail message is created and Outlook Express is popped up. > But then I get what looks like an Outlook error msg."The ordinal 36 > could not be located in the dynamic link library Mapi32.dll." Weird. This means that a function with entry point ordinal #36 doesn't exist in Mapi32.dll Looks like your old NT machine doesn't support mailto protocol despite the fact that ShellExecute returns 42 = OK. Shamil ----- Original Message ----- From: "Tony Septav" To: Sent: Thursday, November 03, 2005 4:47 PM Subject: Re: [AccessD] ShellExecute to sendshort e-mailvia non-MS emailclients... > Hey Shamil > The code worked fine on my 2 XP machines. > Tried it on my old NT machine - Netscape not using Outlook > Message Box gives me a return value of 42 > But then I get what looks like an Outlook error msg."The ordinal 36 > could not be located in the dynamic link library Mapi32.dll." > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Nov 3 09:07:30 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 3 Nov 2005 10:07:30 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... In-Reply-To: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> Message-ID: IF your looking for a command line e-mail capability, I would suggest BLAT. It bypasses any local client by talking directly to a SMTP server. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Thursday, November 03, 2005 9:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > Works with Eudora. > Works fine for me with Pegasus Mail. > Works for me with Groupwise as well. > Works for Outlook > Works for Outlook Express Thank you everybody! Obviously it works with any default e-mail client on MS Windows. > How it works under MS Windows "hoods" is described here: > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp For me this means there is protocol all the e-mail clients follow. And under MS Windows mshtml.dll seems to be the program, which is calling default mail clients - the question is how it does that? Is that as simple as /mailurl: ? I.e. for Outlook Express in generic form it should look like: "%Outlook Express Folder%MSIMN.EXE" /mailurl:mailto:%t?cc=%c&bcc=%b&subject=%s&body=%m But it doesn't work when I try to use real parameters. It works only for the first parameter (To) - the tail parameters are getting lost... What is the default (command line) mailto protocol all e-mail clients follow? Or there is a different protocol they all accept? - I cannot find it via google.... Why so simple things are implemented so complicated way and are so badly documented? (just a rhetoric question) Shamil ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Thursday, November 03, 2005 4:18 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS email clients... > Works with Eudora. > > At 12:00 PM 11/2/2005, you wrote: > >From: "Shamil Salakhetdinov" > >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > > clients... > >To: "!DBA-MAIN" > >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> > >Content-Type: text/plain; charset="koi8-r" > > > >Hi All, > > > >Could you please, anybody who has non-MS email clients, check that this code > >popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Nov 3 10:07:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 3 Nov 2005 11:07:00 -0500 Subject: [AccessD] MySQL 5 In-Reply-To: Message-ID: <200511031607.jA3G73J08716@databaseadvisors.com> No good reason at all. It appears that they have fixed most to all the problems in the various beta releases. (Sprocs were very problematic, and fortunately all those problems seem to have gone away -- at least, our test suite works as expected.) Self-serving plug: Peter and I will soon update our MySQL e-book to conform to the specs of the official MySQL 5 release: www.artfulsoftware.com. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: November 3, 2005 4:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MySQL 5 Any good reason for not upgrading to MySQL 5, Gurus? Cheers paul From shamil at users.mns.ru Thu Nov 3 10:18:04 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 19:18:04 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MSemailclients... References: Message-ID: <006101c5e092$2c9ad9c0$6401a8c0@fincomplex.spb.ru> No, Jim, I don't need to talk directly to SMTP server - I'm not going to implement a spamming program :) What I need is a simple and reliable method to open default mail client with a short custom message. Users will decide by themselves: to click [Send] button or to cancel sending this message. mailto protocol seems to be a good candidate. It didn't work in one case (for Tony Septav) only. (Bad news is the fact that ShellExecute returned 42 (SUCCESS)) Shamil ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 03, 2005 6:07 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MSemailclients... > IF your looking for a command line e-mail capability, I would suggest BLAT. > It bypasses any local client by talking directly to a SMTP server. > > Jim. > <<< tail skipped>>> From JRojas at tnco-inc.com Thu Nov 3 11:19:50 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 3 Nov 2005 12:19:50 -0500 Subject: [AccessD] MySQL Newbie Message-ID: <758E92433C4F3740B67BE4DD369AF57745A5@ex2k3.corp.tnco-inc.com> Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR From John.Clark at niagaracounty.com Thu Nov 3 13:43:16 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 03 Nov 2005 14:43:16 -0500 Subject: [AccessD] Access Error Message-ID: I've got a user that just called our office with an A2K problem. Something happened w/the system and she had to reboot her PC, while Acess was saving...this is according to her. The problem is that her db, which I am quessing is just basic tables and basic, if any, forms, will no longer open. The error that we are getting is, "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time." Anybody got a clue how to get into this thing? I have tried: 1) Moving the db to another directory (Stupid, I know, but I was hoping to clear any locks up that way...maybe it would see it as a whole new instance) 2) Removing any "connected" open files...the ldb...there was a hidden file that I believe was the ldb (I did it too quick to be sure...but there not usually hidden...right) 3) Renaming the file (I thought if it were looking at it, from a network file usage this might trick it. I really don't know, and as you can tell, I am grasping here. Luckilly, I haven't had very many problems since switching to Access, so I haven't had too much experience with this. When we used FoxPro...still got some...it broke everytime there was a network problem...plus some. I've still got a version of "FoxFix" on my PC that I have to drag out, every now and then. Thanks John W Clark From bchacc at san.rr.com Thu Nov 3 13:55:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 3 Nov 2005 11:55:38 -0800 Subject: [AccessD] Access Error References: Message-ID: <01e001c5e0b0$9050af80$6501a8c0@HAL9004> John: I'd try: 1. Compact and repair 2. Decompile first. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 11:43 AM Subject: [AccessD] Access Error > I've got a user that just called our office with an A2K problem. > Something happened w/the system and she had to reboot her PC, while > Acess was saving...this is according to her. > > The problem is that her db, which I am quessing is just basic tables > and basic, if any, forms, will no longer open. The error that we are > getting is, "The Microsoft Jet database engine stopped the process > because you and another user are attempting to change the same data at > the same time." > > Anybody got a clue how to get into this thing? > > I have tried: > > 1) Moving the db to another directory (Stupid, I know, but I was hoping > to clear any locks up that way...maybe it would see it as a whole new > instance) > > 2) Removing any "connected" open files...the ldb...there was a hidden > file that I believe was the ldb (I did it too quick to be sure...but > there not usually hidden...right) > > 3) Renaming the file (I thought if it were looking at it, from a > network file usage this might trick it. > > I really don't know, and as you can tell, I am grasping here. Luckilly, > I haven't had very many problems since switching to Access, so I haven't > had too much experience with this. When we used FoxPro...still got > some...it broke everytime there was a network problem...plus some. I've > still got a version of "FoxFix" on my PC that I have to drag out, every > now and then. > > Thanks > > John W Clark > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Thu Nov 3 15:01:50 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 03 Nov 2005 16:01:50 -0500 Subject: [AccessD] Access Error Message-ID: I can't get into it at all...how do I do this? Actually, it isn't an emergency any longer. We grabbed it off of a backup tape, but I want to know for the next time. >>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> John: I'd try: 1. Compact and repair 2. Decompile first. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 11:43 AM Subject: [AccessD] Access Error > I've got a user that just called our office with an A2K problem. > Something happened w/the system and she had to reboot her PC, while > Acess was saving...this is according to her. > > The problem is that her db, which I am quessing is just basic tables > and basic, if any, forms, will no longer open. The error that we are > getting is, "The Microsoft Jet database engine stopped the process > because you and another user are attempting to change the same data at > the same time." > > Anybody got a clue how to get into this thing? > > I have tried: > > 1) Moving the db to another directory (Stupid, I know, but I was hoping > to clear any locks up that way...maybe it would see it as a whole new > instance) > > 2) Removing any "connected" open files...the ldb...there was a hidden > file that I believe was the ldb (I did it too quick to be sure...but > there not usually hidden...right) > > 3) Renaming the file (I thought if it were looking at it, from a > network file usage this might trick it. > > I really don't know, and as you can tell, I am grasping here. Luckilly, > I haven't had very many problems since switching to Access, so I haven't > had too much experience with this. When we used FoxPro...still got > some...it broke everytime there was a network problem...plus some. I've > still got a version of "FoxFix" on my PC that I have to drag out, every > now and then. > > Thanks > > John W Clark > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 3 15:38:48 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 04 Nov 2005 07:38:48 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> Message-ID: <436B1008.16744.2CB0E756@stuart.lexacorp.com.pg> On 3 Nov 2005 at 17:33, Shamil Salakhetdinov wrote: > > Works with Eudora. > > Works fine for me with Pegasus Mail. > > Works for me with Groupwise as well. > > Works for Outlook > > Works for Outlook Express > Thank you everybody! > Obviously it works with any default e-mail client on MS Windows. > > > How it works under MS Windows "hoods" is described here: > > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp > > For me this means there is protocol all the e-mail clients follow. > And under MS Windows mshtml.dll seems to be the program, which is calling > default mail clients - the question is how it does that? > You are using two things here. 1. The URI mailto. See RFC2368 2. MAPI. This it the protocol used to call the email client under Windows. In this case, you are using a part of Microsofts built in browser (mshtml.dll is part of IE) to convert a mailto: URI to a MAPI command. Note that mailto: is a very simple protocol which only has a limited number of parameters and there are cautions about using some of these. Note that some headers are inherently unsafe to include in a message generated from a URL. For example, headers such as "From:", "Bcc:", and so on, should never be interpreted from a URL. In general, the fewer headers interpreted from the URL, the less likely it is that a sending agent will create an unsafe message. It's up to mshtml.dll which parameters it choses to pass through the MAPI MAPI is much richer, there are lots of things you can do with your own direct MAPI calls from an application that you can't do with mailto: such as include attachments and automatically send the message with no user intervention -- Stuart From bchacc at san.rr.com Thu Nov 3 17:39:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 3 Nov 2005 15:39:25 -0800 Subject: [AccessD] Access Error References: Message-ID: <006901c5e0cf$d3bce030$6501a8c0@HAL9004> Here's the command line I use in Start-->Run: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" c:\Clients\SleepDoc\TheSleepAdvisorDevelopment-Version-608.mdb /decompile to decompile the Sleep Advisor. Seems to fix a multitude of problems. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 1:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Nov 3 18:47:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 03:47:38 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <436B1008.16744.2CB0E756@stuart.lexacorp.com.pg> Message-ID: <001501c5e0d9$75039020$6401a8c0@fincomplex.spb.ru> > MAPI is much richer, there are lots of things you can do with your own > direct MAPI calls Stuart, Yes, I know about MAPI, and about simple MAPI (I did write programs using it starting MS Access 2.0 in 1995) and I read RFC2368 etc. But using MAPI I can only send e-mail via Outlook Express and Outlook - right? And I need a method to prepare (just prepare in popped-up e-mail client, not send) e-mail message with any e-mail client - and here mailto protocol seems to be the only free(built-in) solution? Still open question: - I'm just curious and I can't find answer by myself - how mailto protocol's URL is interpreted by MS Windows system for non-MS e-mail clients? I mean: - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a special command line. If yes - what format this command line should have? if not - what other way MS Windows system uses to activate non-ms e-mail clients? Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 12:38 AM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > On 3 Nov 2005 at 17:33, Shamil Salakhetdinov wrote: > > > > Works with Eudora. > > > Works fine for me with Pegasus Mail. > > > Works for me with Groupwise as well. > > > Works for Outlook > > > Works for Outlook Express > > Thank you everybody! > > Obviously it works with any default e-mail client on MS Windows. > > > > > How it works under MS Windows "hoods" is described here: > > > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp > > > > For me this means there is protocol all the e-mail clients follow. > > And under MS Windows mshtml.dll seems to be the program, which is calling > > default mail clients - the question is how it does that? > > > > You are using two things here. > > 1. The URI mailto. > See RFC2368 > > > 2. MAPI. > This it the protocol used to call the email client under Windows. > > In this case, you are using a part of Microsofts built in browser > (mshtml.dll is part of IE) to convert a mailto: URI to a MAPI command. > > Note that mailto: is a very simple protocol which only has a limited number > of parameters and there are cautions about using some of these. > > > Note that some headers are inherently unsafe to include in a message > generated from a URL. For example, headers such as "From:", "Bcc:", > and so on, should never be interpreted from a URL. In general, the > fewer headers interpreted from the URL, the less likely it is that a > sending agent will create an unsafe message. > > > It's up to mshtml.dll which parameters it choses to pass through the MAPI > > MAPI is much richer, there are lots of things you can do with your own > direct MAPI calls from an application that you can't do with mailto: such > as include attachments and automatically send the message with no user > intervention > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 3 19:25:02 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Fri, 04 Nov 2005 11:25:02 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... In-Reply-To: <001501c5e0d9$75039020$6401a8c0@fincomplex.spb.ru> Message-ID: <436B450E.30038.AD6592@localhost> On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > MAPI is much richer, there are lots of things you can do with your own > > direct MAPI calls > Stuart, > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > But using MAPI I can only send e-mail via Outlook Express and Outlook - > right? No, MAPI is the core Messaging API which provides a common interface for all mail clients. Using MAPI, you will send to whatever client is configured as the default. > Still open question: - I'm just curious and I can't find answer by myself - > how mailto protocol's URL is interpreted by MS Windows system for non-MS > e-mail clients? I mean: It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant email client whether it is MS or not. > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > special command line. No >If yes - what format this command line should have? if > not - what other way MS Windows system uses to activate non-ms e-mail > clients? > It's all done through MAPI From wdhindman at bellsouth.net Thu Nov 3 20:31:11 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 3 Nov 2005 21:31:11 -0500 Subject: [AccessD] Access Error References: Message-ID: <007901c5e0e7$d1ecee40$6101a8c0@JISREGISTRATION.local> ...did you try MS's Jet Compact tool? ...it has always worked for me when nothing else would get me into a corrupted mdb ...http://support.microsoft.com/kb/q295334/ ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 4:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Nov 3 23:16:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 08:16:58 +0300 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... References: <436B450E.30038.AD6592@localhost> Message-ID: <008201c5e0fe$fd544300$6401a8c0@fincomplex.spb.ru> Stuart, I'd not argue but this question about using different e-mail clients under MS Windows, which IMO should have simple effective solution, looks still unclear here. Do you have a generic sample to work with any e-mail client via MAPI? Do you know how MAPI can be used with non-MS e-mail clients ? Did you try to run this sample http://support.microsoft.com/default.aspx/kb/q163216/ (Updated Mapivb32.bas for Simple MAPI on 32-bit platforms) with Outlook Express or any non-MS e-mail clients? For me it didn't work for Outlook Express. > It's all done through MAPI How it's done? Is there any information how it works? I guess MAPI.dll is a middleware between application program and e-mail client. This means that e-mail client software should support specific MAPI-compliant protocols - are you saying that all modern e-mail clients running on MS Windows are supporting this MAPI-compliant protocol? If not, how then MAPI.dll "talks to them/communicates with them"? Shamil ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 4:25 AM Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... > On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > > > MAPI is much richer, there are lots of things you can do with your own > > > direct MAPI calls > > Stuart, > > > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > > But using MAPI I can only send e-mail via Outlook Express and Outlook - > > right? > > No, MAPI is the core Messaging API which provides a common interface for all mail > clients. Using MAPI, you will send to whatever client is configured as the default. > > > > Still open question: - I'm just curious and I can't find answer by myself - > > how mailto protocol's URL is interpreted by MS Windows system for non-MS > > e-mail clients? I mean: > > It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant > email client whether it is MS or not. > > > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > > special command line. > > No > > >If yes - what format this command line should have? if > > not - what other way MS Windows system uses to activate non-ms e-mail > > clients? > > > > It's all done through MAPI > > > -- > 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 Nov 4 00:54:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 04 Nov 2005 16:54:18 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... In-Reply-To: <008201c5e0fe$fd544300$6401a8c0@fincomplex.spb.ru> Message-ID: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> On 4 Nov 2005 at 8:16, Shamil Salakhetdinov wrote: > Stuart, > > I'd not argue but this question about using different e-mail clients under > MS Windows, which IMO should have simple effective solution, looks still > unclear here. > Do you have a generic sample to work with any e-mail client via MAPI? Take a look at http://www.a1vbcode.com/snippet-270.asp Note that the Logon and Logoff are not needed for most emali clients' Outlook is about the only time you need these functions. > Do you know how MAPI can be used with non-MS e-mail clients ? Yes, take a look at MAPISend on my website. It's a small application I wrote in PowerBASIC specifically to do this. It works fine with Pegasus Mail, Eudora etc. .... > This means that e-mail client software should support specific > MAPI-compliant protocols - are you saying that all modern e-mail clients > running on MS Windows are supporting this MAPI-compliant protocol? Every decent email client that I am aware of is MAPI compliant. If they are not, they won't be much use in Windows. Things such as Winzip's "Zip and Email", WInRAR's "Compress and email", Acrobat's "Convert to PDF and email" functions all use Simple MAPI for the latter action so any non-MAPI compliant emailer won't work with these sorts of utilities. -- Stuart From jimdettman at earthlink.net Fri Nov 4 04:55:06 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 4 Nov 2005 05:55:06 -0500 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... In-Reply-To: <436B450E.30038.AD6592@localhost> Message-ID: <> No, there is also VIM (Vendor Independent Messaging), which is an alternative to MAPI. I'm not sure if anyone is still using that protocol or not. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of stuart at lexacorp.com.pg Sent: Thursday, November 03, 2005 8:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > MAPI is much richer, there are lots of things you can do with your own > > direct MAPI calls > Stuart, > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > But using MAPI I can only send e-mail via Outlook Express and Outlook - > right? No, MAPI is the core Messaging API which provides a common interface for all mail clients. Using MAPI, you will send to whatever client is configured as the default. > Still open question: - I'm just curious and I can't find answer by myself - > how mailto protocol's URL is interpreted by MS Windows system for non-MS > e-mail clients? I mean: It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant email client whether it is MS or not. > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > special command line. No >If yes - what format this command line should have? if > not - what other way MS Windows system uses to activate non-ms e-mail > clients? > It's all done through MAPI -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 4 05:30:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Nov 2005 12:30:19 +0100 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... Message-ID: Hi Jim Lotus Notes and Organizer supported VIM, but today not even Organizer seems to support it. So I guess you safely can leave it ... /gustav >>> jimdettman at earthlink.net 04-11-2005 11:55 >>> <> No, there is also VIM (Vendor Independent Messaging), which is an alternative to MAPI. I'm not sure if anyone is still using that protocol or not. From artful at rogers.com Fri Nov 4 07:45:10 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 4 Nov 2005 08:45:10 -0500 Subject: [AccessD] MySQL Newbie In-Reply-To: <758E92433C4F3740B67BE4DD369AF57745A5@ex2k3.corp.tnco-inc.com> Message-ID: <200511041345.jA4DjFJ18521@databaseadvisors.com> 1. You can connect Access to MySQL using ODBC. There is also a connection from .NET to MySQL. 2. The software itself can be obtained either free or you can purchase it as part of a support package. 3. There are various management tools available. To my knowledge, none yet provide a GUI to build sprocs, so you have to write those as text. 4. The standard version uses MySQL ISAM data files, while the Max version uses the innoDB engine (which provides transactions etc.). In the Max version you can mix and match both table types. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: November 3, 2005 12:20 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL Newbie Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 4 07:54:22 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 16:54:22 +0300 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... References: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> Message-ID: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> > Take a look at http://www.a1vbcode.com/snippet-270.asp Stuart, It would have been great but it(api_SendMail) didn't work with Outlook Express on my PC resulting in a message: Microsoft Office Outlook. ========================= Either there is no default mail client or the current mail client cannot fullfill the messaging request. Please run Microsoft Office Outlook and set it as the default mail client. What is also bad news this message above comes somewhere out of MS Windows(MAPI32.dll probably) and can't be suppressed.... Tested on another PC - the same result. On both PCs mailto protocol works just fine. When tested your sample, which forces to use Outlook(olk_SendMail) it resulted in an annoying message: << A program is trying to automatically send e-mail on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". >> Yes, I know it can be suppressed but what I'm looking for is just a simple method to prepare a message, pop it up for users to click [Send] button or cancel... <<< It works fine with Pegasus Mail, Eudora etc. >>> Do you mean you api_SendMail code? - it failes here for Outlook Express :( Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 9:54 AM Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... > On 4 Nov 2005 at 8:16, Shamil Salakhetdinov wrote: > > > Stuart, > > > > I'd not argue but this question about using different e-mail clients under > > MS Windows, which IMO should have simple effective solution, looks still > > unclear here. > > Do you have a generic sample to work with any e-mail client via MAPI? > > Take a look at http://www.a1vbcode.com/snippet-270.asp > Note that the Logon and Logoff are not needed for most emali clients' > Outlook is about the only time you need these functions. > > > > Do you know how MAPI can be used with non-MS e-mail clients ? > > Yes, take a look at MAPISend on my website. It's a small application I > wrote in PowerBASIC specifically to do this. It works fine with Pegasus > Mail, Eudora etc. > .... > > > This means that e-mail client software should support specific > > MAPI-compliant protocols - are you saying that all modern e-mail clients > > running on MS Windows are supporting this MAPI-compliant protocol? > > Every decent email client that I am aware of is MAPI compliant. If they are > not, they won't be much use in Windows. Things such as Winzip's "Zip and > Email", WInRAR's "Compress and email", Acrobat's "Convert to PDF and email" > functions all use Simple MAPI for the latter action so any non-MAPI > compliant emailer won't work with these sorts of utilities. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Fri Nov 4 07:50:23 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 04 Nov 2005 08:50:23 -0500 Subject: [AccessD] Access Error Message-ID: No, I didn't know about this William. And, although I've heard y'all talk about Rocky's solution, in the past, I have never done it, so I couldn't remember how it was done. As luck would have it, I am in the middle of an office move, so my books weren't close at hand either. I thank you guys for your help. As usual...I know I always say this...I could count on this list for help. Unfortunately...for me anyhow, because I wanted to play w/this...they did not wait for me and got it from a backup. Actually, one of the techs, who happens to be in charge of our backups, heard me and his supervisor talking and went out and grabbed it. That is good I guess, but I wanted to actually try this technique out. And, yes, they already deleted the "bad" file. Thanks again! >>> wdhindman at bellsouth.net 11/3/2005 9:31 PM >>> ...did you try MS's Jet Compact tool? ...it has always worked for me when nothing else would get me into a corrupted mdb ...http://support.microsoft.com/kb/q295334/ ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 4:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 4 08:37:15 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Nov 2005 15:37:15 +0100 Subject: [AccessD] MySQL Newbie Message-ID: Hi Arthur Oh no. MaxDB is the former SAP DB which is capable and accepted for running SAP R/3, thus it compares more to Oracle: http://www.mysql.com/products/maxdb/ MySQL uses either MyISAM, InnoDB, or the new Archive table format which I posted a link for recently. /gustav >>> artful at rogers.com 04-11-2005 14:45 >>> 4. The standard version uses MySQL ISAM data files, while the Max version uses the innoDB engine (which provides transactions etc.). In the Max version you can mix and match both table types. From rl_stewart at highstream.net Fri Nov 4 08:45:05 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 04 Nov 2005 08:45:05 -0600 Subject: [AccessD] MySQL Newbie In-Reply-To: References: Message-ID: <6.2.3.4.2.20051104084211.029d0640@pop3.highstream.net> See answers below... Personally, I have not used it because I did not want to take multiple steps backward. With the new release, I will look at it again. At 12:00 PM 11/3/2005, you wrote: >From: "Joe Rojas" >Subject: [AccessD] MySQL Newbie >To: "Access Developers discussion and problem solving" > >Message-ID: > <758E92433C4F3740B67BE4DD369AF57745A5 at ex2k3.corp.tnco-inc.com> >Content-Type: text/plain; charset="iso-8859-1" > >Hi All! > >I have been keeping an eye on MySQL for sometime now. I have been >hesitant to use it because I have been accustomed to using SQL >Server and like using stored procedures and triggers. >Now that MySQL 5 is out, I very interested in checking it out. > >I have some newbie questions. > >1) Does Access play nicely with MySQL? I have not tried it yet. >2) Is MySQL really free? Are there fees somewhere for using the software? Technically no. If you want to put your software into open source, then it is free, otherwise there is a cost. >3) Does MySQL come with management tools, like Enterprise Manager >for SQL Server? No. Unless there are tools they released with 5. There are 3rd party tools. >4) I see there is a Standard version and a MAX version on MySQL.com. >What is the difference? > >Thanks! >JR From Rich_Lavsa at pghcorning.com Fri Nov 4 09:14:32 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Fri, 4 Nov 2005 10:14:32 -0500 Subject: [AccessD] Staging/Queueing Ideas Message-ID: <2A261FF9D5EBCA46940C11688CE872EE032D8B33@goexchange2.pghcorning.com> Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich From dwaters at usinternet.com Fri Nov 4 09:52:58 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 4 Nov 2005 09:52:58 -0600 Subject: [AccessD] Staging/Queueing Ideas In-Reply-To: <5636099.1131117550129.JavaMail.root@sniper23> Message-ID: <000001c5e157$d420a240$0200a8c0@danwaters> Hi Rich, Well - you're taking my job away from me! Take a look at the site www.promationsystems.com when you get a chance. For each process like this I define logical breaks, and it sounds like you've already done this. You are definitely on the right track. Give a simple name to each stage and create a field to store that name. Have people check a checkbox at the end of each stage so that your code knows where the process is. When they check the checkbox, automatically record their name, the date, and maybe the time; and change the stage name to what is next. But before they check this, be sure that the names of the next person(s) who need to take action are entered. You may want to run a current event to lock the fields in any stages that have been completed. So now you know the stage each record is at, and you can get the name of the person(s) who have the action to take in that stage. This gives you the information you need for a status report, that everyone can pull up to see who needs to do what. For an advanced exercise, create code that can go through each record in this process and identify the name(s) of each person(s) who has an open item. Now you can send each of those people a single email which tells them they need to open the database. This email should be triggered by the first person who opens the database each day. And the next exercise would be to create a form that shows, for each person, what all their open items are. And from this form they can push a button to move straight to the screen and the record where they need to do their work. This is a lot of work, but it pays off handsomely in increased productivity - especially yours when you can quit chasing people down so they get their work down! Hope this Helps, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Friday, November 04, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Staging/Queueing Ideas Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Fri Nov 4 10:23:51 2005 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 4 Nov 2005 10:23:51 -0600 Subject: [AccessD] Updating Connect string for SQL Linked tables Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D0@cpixchng-1.cpiqpc.net> I have a form (A97) that I designed to be able to change the parameters of a connect string for any or all linked SQL tables in the current database that the form resides in. It seems to work once or twice on a database but then quits working. By quits working, I mean it goes through the code, looks like it's working, but when you check the connect string (either through the properties of the table, or looking at the msysobjects table), the connect string is still the old one and the changes are not reflected in the connection information on the SQL server. I'm posting the code used to update the connection strings. Any ideas would be greatly appreciated. Private Sub ChangeSQLODBCTables(strName As String, strOption As String, strTo As String) '*************************************************************************** ******************** '*** This subroutine will refresh any tables that are linked to the Access database via ODBC *** '*** and will re-create the primary pseudo-index on the newly re-linked table if necessary *** '*** Created by RustyH - 3/5/2003 *** '*************************************************************************** ******************** Dim db As Database Dim tdf As TableDef Dim tdfNew As TableDef Dim strConnect As String Dim strSourceTbl As String Dim strIndex As String Dim idx As Index Dim fld As Field Dim strFields As String Dim X As Integer Dim strSQL As String Dim fNewHasPrimary As Boolean Dim fOldHadPrimary Dim strStatus As String Set db = CurrentDb Set tdf = db.TableDefs(strName) strConnect = tdf.Connect fOldHadPrimary = False 'Test if the connect string starts with ODBC - Linked access tables don't show a link type 'and local tables have an empty connect string ("") If Left(tdf.Connect, 5) = "ODBC;" Then strSourceTbl = tdf.SourceTableName strStatus = SysCmd(acSysCmdSetStatus, strName) For Each idx In tdf.Indexes 'Search for a primary index on the table If idx.Primary = True Then fOldHadPrimary = True 'Get the primary index name strIndex = idx.Name strFields = "" X = 0 'Get the field list that makes up the primary index For Each fld In idx.Fields If X = 0 Then strFields = fld.Name Else strFields = strFields & "," & fld.Name End If X = X + 1 Next fld End If Next idx 'Refresh the link to the table If strTo = "" Then strConnect = ReplaceString_SQLTableOption(strConnect, ";" & strOption & "=", "", False) Else strConnect = ReplaceString_SQLTableOption(strConnect, ";" & strOption & "=", ";" & strOption & "=" & strTo & ";", False) End If If strConnect = "NO" Then Stop 'Me.StatusMsg = Me.StatusMsg & vbCrLf & vbCrLf & strName & " is not linked to the " & strFrom & " server" Else MsgBox "New connect: " & strConnect, vbOKOnly 'tdf.Connect = strConnect 'tdf.RefreshLink db.TableDefs.Delete strName Set tdfNew = db.CreateTableDef(strName) tdfNew.SourceTableName = strSourceTbl tdfNew.Connect = strConnect db.TableDefs.Append tdfNew tdfNew.RefreshLink 'db.TableDefs.Refresh fNewHasPrimary = False For Each idx In tdfNew.Indexes 'Determine if the newly refreshed table already has a primary index If idx.Primary = True Then fNewHasPrimary = True End If Next idx 'If the newly refreshed linked ODBC table does NOT have a primary index but it did before 'the link was refreshed, then create a primary pseudo-index If fNewHasPrimary = False And fOldHadPrimary = True Then strSQL = "Create unique index " & strIndex & " on " & tdfNew.Name & "(" & strFields & ")" DoCmd.RunSQL strSQL End If Me.StatusMsg = Me.StatusMsg & vbCrLf & strName & " done" End If End If db.Close Set db = Nothing strStatus = SysCmd(acSysCmdClearStatus) End Sub The following function is called by the main sub to create the new connect string: Private Function ReplaceString_SQLTableOption(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String ' Comments : replaces a substring in a string with another ' Parameters : strTextIn - string to work on ' strFind - string to find ' strReplace - string to replace with ' fCaseSensitive - True for case sensitive search, False for case-insensitive search ' Returns : modified string ' Dim strTmp As String Dim intPos As Integer Dim intLen As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) intLen = InStr(intPos + 1, strTmp, ";", intCaseSensitive) - intPos + 1 If intPos > 0 Then Do While intPos > 0 If strReplace <> "" Then strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + intLen) Else strTmp = Left$(strTmp, intPos - 1) & Mid$(strTmp, intPos + intLen - 1) End If intPos = InStr(intPos + intLen, strTmp, strFind, intCaseSensitive) Loop Else strTmp = "NO" End If If Right(strTmp, 1) = ";" Then strTmp = Left(strTmp, Len(strTmp) - 1) ReplaceString_SQLTableOption = strTmp End Function TIA! Rusty Hammond rusty.hammond at cpiqpc.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dmcafee at pacbell.net Fri Nov 4 12:05:09 2005 From: dmcafee at pacbell.net (David McAfee) Date: Fri, 4 Nov 2005 10:05:09 -0800 Subject: [AccessD] Staging/Queueing Ideas In-Reply-To: <2A261FF9D5EBCA46940C11688CE872EE032D8B33@goexchange2.pghcorning.com> Message-ID: I've built several of these systems. The last one that I built has been the easiest to maintain. It also allows growth (what if a new step/process is created?). I take it that you have an RGA header and detail table. The detail table is all the information related to the parts/items themselves. The header table is everything related to the RGA itself (bill to, ship to, RGA#). I tend to put in entryDate (default = now() )and entryBy fields into just about every table. I have codes set for each stage of the way: When the call is being entered, the code is considered a failure code: RSU - Returned status unknown MLF - Unit malfunction RPM - Returned due to missing part USE - User caused fault When the unit is received: DMG - Received damaged RAE - Received as expected SEE - See notes When the unit is in disposition: RTV - Return to vendor CNR - Could not repeat problem RBD - Rebuild SEE - See Notes When sent to accounting: WAR - Warranty NOC - No Credit OOW - Out of warranty I have a table (tblRGAActionTypes): RGAACtionID (AN PK) RGAACtion (text 20) entryDate (datetime - Now() ) entryUserID (integer) This table simply has my four steps as records: Entry, Receive, Disposition, Closed I join that table to another table (one to many) called tblRGAActionCodes: RGAActionCodeID (AN PK) RGAActionID (Integer FK) ActionCode (Text 3) ActionDescription (Text 50) entryDate (datetime - Now() ) entryUserID (integer) A final table , a junction table is created, which links tblRGAHeader and tblRGAActionCodes with a many to many relationship, I call it tblRGAHeaderActionJunct : RGAHeaderActionJunctID (AN PK) RGAid (Integer FK) ActionNotes (Memo) RGAActionCodeID (Integer FK) entryDate (datetime - Now() ) entryUserID (integer) I have one form for all of these steps. I have a tab control which has 3 tabs, one for all of the steps, plus two additional tabs. One for replacement parts used to repair the item and another for the history of the RGA. I pass a code to the form as an openarg and call a function on the forms load event which formats the tab's controls for the step that it is being called for. so for instance, if I open the form with a 1 (entry mode) my combo box's label displays the text "Failure Type" and the combo box's rowsource is: SELECT RGAActionCodeID, ActionCode, ActionDesc FROM tblRGAActionCodes WHERE RGAActionID = Forms!frmRGA!txtformMode The "Notes" box is there for them to type a detailed description of the step (if needed) then a command button simply inserts the data into the appropriate tables. The History tab is easy, since this is a self auditing design. I have a list box which simply selects from the tables: SELECT P.MocSN AS UnitID, A.ActionCode AS Occurrence, H.RGAID AS RGA, HAJ.RGAActionCodeID AS Code, HAJ.ActionNotes AS Notes, HAJ.EntryDate AS [Date], U.FullName AS [User], HAJ.RGAHeaderActionID FROM dbo.tblRGAHeader AS H INNER JOIN dbo.tblRGAHeaderActionJunct AS HAJ ON H.RGAID = HAJ.RGAID INNER JOIN dbo.tblProduct AS P ON H.ProductID = P.ProductID INNER JOIN dbo.tblRGAactionCodes AS A ON HAJ.RGAActionCodeID = A.RGAActionCodeID INNER JOIN dbo.tblRGAactionTypes AS acT ON A.RGAActionID = acT.RGAActionID LEFT OUTER JOIN dbo.tbl_sysUsers AS U ON HAJ.EntryUserID = U.UserID WHERE H.RGAID = Forms!frmRGA!txtRGAnum ORDER BY HAJ.EntryDate ASC I have some safeguards built into the main menu buttons which check the max status of a given RGA, so if someone tries to open an RGA in the incorrect order, they are not allowed. This is a business rule that states the RGA must process through all steps. Let me know if you need any further help with this. David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lavsa, Rich Sent: Friday, November 04, 2005 7:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Staging/Queueing Ideas Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Nov 4 12:20:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 10:20:20 -0800 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... References: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436BA664.9070305@shaw.ca> Here is a VBA method that works without MAPI under certain conditions and no email client is needed. I don't know if this will help. You need CDOSYS (WinXP or Win2000) You may have to be within a network domain You need the SMTP server address You must have an Internet Connection running 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or 'Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the 'SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail '(some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably won't have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in 'the Shaw or whatever is your domain, your cable modem is a node in 'their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a ' Reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- '60 seconds and finally give a transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "mconn at gmail.com" .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With debug.print "Done" Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 4 12:45:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 10:45:32 -0800 Subject: [AccessD] MySQL Newbie References: Message-ID: <436BAC4C.6090907@shaw.ca> MaxDB (SAPDB) is actually a code fork from the ADABAS-F Database done around 1990, if anybody goes that far back. I seem to remember using ADABAS on IBM mainframes in mid 80's. I haven't checked if anyone has written a MaxDB OLEDB driver for dotNet yet but there are several ODBC ones. The SQL syntax is closer to Oracle than SQL Server. Gustav Brock wrote: >Hi Arthur > >Oh no. MaxDB is the former SAP DB which is capable and accepted for running SAP R/3, thus it compares more to Oracle: > > http://www.mysql.com/products/maxdb/ > >MySQL uses either MyISAM, InnoDB, or the new Archive table format which I posted a link for recently. > >/gustav > > > >>>>artful at rogers.com 04-11-2005 14:45 >>> >>>> >>>> >4. The standard version uses MySQL ISAM data files, while the Max version >uses the innoDB engine (which provides transactions etc.). In the Max >version you can mix and match both table types. > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 4 13:20:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 11:20:33 -0800 Subject: [AccessD] Updating Connect string for SQL Linked tables References: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D0@cpixchng-1.cpiqpc.net> Message-ID: <436BB481.4090401@shaw.ca> Here is some code, to look at that does work. Tribble's BackEnd Relinker (alink21) Available under menu "useful files", you will have to register. http://www.colbyconsulting.com/ look at the function fChangeLink There is a lot of extraneous code to do with file dialog to get changed backend names. rusty.hammond at cpiqpc.com wrote: >I have a form (A97) that I designed to be able to change the parameters of a >connect string for any or all linked SQL tables in the current database that >the form resides in. It seems to work once or twice on a database but then >quits working. By quits working, I mean it goes through the code, looks >like it's working, but when you check the connect string (either through the >properties of the table, or looking at the msysobjects table), the connect >string is still the old one and the changes are not reflected in the >connection information on the SQL server. > >I'm posting the code used to update the connection strings. Any ideas would >be greatly appreciated. > >Private Sub ChangeSQLODBCTables(strName As String, strOption As String, >strTo As String) >'*************************************************************************** >******************** >'*** This subroutine will refresh any tables that are linked to the Access >database via ODBC *** >'*** and will re-create the primary pseudo-index on the newly re-linked >table if necessary *** >'*** Created by RustyH - 3/5/2003 >*** >'*************************************************************************** >******************** > Dim db As Database > Dim tdf As TableDef > Dim tdfNew As TableDef > Dim strConnect As String > Dim strSourceTbl As String > Dim strIndex As String > Dim idx As Index > Dim fld As Field > Dim strFields As String > Dim X As Integer > Dim strSQL As String > Dim fNewHasPrimary As Boolean > Dim fOldHadPrimary > Dim strStatus As String > > Set db = CurrentDb > > Set tdf = db.TableDefs(strName) > strConnect = tdf.Connect > fOldHadPrimary = False > 'Test if the connect string starts with ODBC - Linked access tables >don't show a link type > 'and local tables have an empty connect string ("") > > If Left(tdf.Connect, 5) = "ODBC;" Then > > strSourceTbl = tdf.SourceTableName > strStatus = SysCmd(acSysCmdSetStatus, strName) > For Each idx In tdf.Indexes > 'Search for a primary index on the table > If idx.Primary = True Then > fOldHadPrimary = True > 'Get the primary index name > strIndex = idx.Name > strFields = "" > X = 0 > 'Get the field list that makes up the primary index > For Each fld In idx.Fields > If X = 0 Then > strFields = fld.Name > Else > strFields = strFields & "," & fld.Name > End If > X = X + 1 > Next fld > End If > Next idx > 'Refresh the link to the table > If strTo = "" Then > strConnect = ReplaceString_SQLTableOption(strConnect, ";" & >strOption & "=", "", False) > Else > strConnect = ReplaceString_SQLTableOption(strConnect, ";" & >strOption & "=", ";" & strOption & "=" & strTo & ";", False) > End If > If strConnect = "NO" Then > Stop > 'Me.StatusMsg = Me.StatusMsg & vbCrLf & vbCrLf & strName & " is >not linked to the " & strFrom & " server" > Else > MsgBox "New connect: " & strConnect, vbOKOnly > > 'tdf.Connect = strConnect > 'tdf.RefreshLink > > db.TableDefs.Delete strName > > Set tdfNew = db.CreateTableDef(strName) > tdfNew.SourceTableName = strSourceTbl > tdfNew.Connect = strConnect > db.TableDefs.Append tdfNew > tdfNew.RefreshLink > 'db.TableDefs.Refresh > > fNewHasPrimary = False > For Each idx In tdfNew.Indexes > 'Determine if the newly refreshed table already has a >primary index > If idx.Primary = True Then > fNewHasPrimary = True > End If > Next idx > 'If the newly refreshed linked ODBC table does NOT have a >primary index but it did before > 'the link was refreshed, then create a primary pseudo-index > If fNewHasPrimary = False And fOldHadPrimary = True Then > strSQL = "Create unique index " & strIndex & " on " & >tdfNew.Name & "(" & strFields & ")" > DoCmd.RunSQL strSQL > End If > Me.StatusMsg = Me.StatusMsg & vbCrLf & strName & " done" > End If > End If > > db.Close > Set db = Nothing > strStatus = SysCmd(acSysCmdClearStatus) > >End Sub > > >The following function is called by the main sub to create the new connect >string: > > >Private Function ReplaceString_SQLTableOption(strTextIn As String, strFind >As String, strReplace As String, fCaseSensitive As Boolean) As String > ' Comments : replaces a substring in a string with another > ' Parameters : strTextIn - string to work on > ' strFind - string to find > ' strReplace - string to replace with > ' fCaseSensitive - True for case sensitive search, False >for case-insensitive search > ' Returns : modified string > ' > Dim strTmp As String > Dim intPos As Integer > Dim intLen As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > intLen = InStr(intPos + 1, strTmp, ";", intCaseSensitive) - intPos + 1 > If intPos > 0 Then > Do While intPos > 0 > If strReplace <> "" Then > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, >intPos + intLen) > Else > strTmp = Left$(strTmp, intPos - 1) & Mid$(strTmp, intPos + >intLen - 1) > End If > intPos = InStr(intPos + intLen, strTmp, strFind, intCaseSensitive) > Loop > Else > strTmp = "NO" > End If > > If Right(strTmp, 1) = ";" Then strTmp = Left(strTmp, Len(strTmp) - 1) > > ReplaceString_SQLTableOption = strTmp > >End Function > > >TIA! > >Rusty Hammond >rusty.hammond at cpiqpc.com > > > -- Marty Connelly Victoria, B.C. Canada From rusty.hammond at cpiqpc.com Fri Nov 4 14:10:41 2005 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 4 Nov 2005 14:10:41 -0600 Subject: [AccessD] Updating Connect string for SQL Linked tables Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D3@cpixchng-1.cpiqpc.net> Thanks, I'll take a look -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 04, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Updating Connect string for SQL Linked tables Here is some code, to look at that does work. Tribble's BackEnd Relinker (alink21) Available under menu "useful files", you will have to register. http://www.colbyconsulting.com/ look at the function fChangeLink There is a lot of extraneous code to do with file dialog to get changed backend names. rusty.hammond at cpiqpc.com wrote: >I have a form (A97) that I designed to be able to change the parameters of a >connect string for any or all linked SQL tables in the current database that >the form resides in. It seems to work once or twice on a database but then >quits working. By quits working, I mean it goes through the code, looks >like it's working, but when you check the connect string (either through the >properties of the table, or looking at the msysobjects table), the connect >string is still the old one and the changes are not reflected in the >connection information on the SQL server. > >I'm posting the code used to update the connection strings. Any ideas would >be greatly appreciated. > Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From stuart at lexacorp.com.pg Fri Nov 4 16:00:22 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 08:00:22 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C6696.26618.31EAF295@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > Take a look at http://www.a1vbcode.com/snippet-270.asp > Stuart, > > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > > Microsoft Office Outlook. > ========================= > Either there is no default mail client or the current mail client cannot > fullfill the messaging request. Please run Microsoft Office Outlook and set > it as the default mail client. OE definitely is MAPI compliant, but in your case MAPI seens to want send to Outlook instead of OE. It looks to me as though there is a problem with the configuration OE on your PC. It is possible that when you install Office, it sets Outlook as the default MAPI client instead of OE. If you then don't configure Outlook, but continue to use OE, you run into problems. > > What is also bad news this message above comes somewhere out of MS > Windows(MAPI32.dll probably) and can't be suppressed.... > > Tested on another PC - the same result. > > On both PCs mailto protocol works just fine. > > When tested your sample, which forces to use Outlook(olk_SendMail) it > resulted in an annoying message: > Try downloading MAPISend from http://www.lexacorp.com.pg, and tell me what error it generates when you try to use it. -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 16:25:43 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 08:25:43 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C6C87.30746.32022686@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > Just a WAG, but take a look at: http://support.microsoft.com/kb/290797/ Outlook Express is set as your default e-mail program, but the Mail Recipient, Mail Recipient (As Attachment), or Routing Recipient options may be missing when you click Send To on the File menu in Microsoft Office 2000 programs. CAUSE The Win.ini configuration file is incomplete. RESOLUTION Modify the Win.ini file (using any plain text editor, such as Notepad, or the Sysedit utility) as follows: -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 17:35:37 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 09:35:37 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C7CE9.6362.3242269E@stuart.lexacorp.com.pg> Here's the definitive list MAPI32.DLL declarations etc for VB/VBA http://support.microsoft.com/kb/q163216/ MS are quite positive that it works with OE: This updated module for Visual Basic 6.0 allows a programmer to use Simple MAPI calls. The Simple MAPI functions are defined in respect to the Mapi32.dll that ships with Microsoft Outlook or Microsoft Outlook Express. -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 17:45:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 09:45:35 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > It's a known problem with VB Code and OE. See: http://support.microsoft.com/kb/315458/ Calls to the MAPISendMail function that are made from Microsoft Visual Basic code may fail with an error message that resembles the following: Microsoft Outlook Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client. This problem often occurs when Microsoft Outlook Express is set as the default mail client. CAUSE Visual Basic programs that use Simple MAPI typically use Declare statements that import the BMAPI functions. When Outlook Express is the default mail client, the MAPI stub library cannot route these calls to Outlook Express; instead, the calls fail and an error message is displayed. RESOLUTION One way to resolve this problem is to not use Declare statements that reference the BMAPI functions. However, because Visual Basic cannot call the non-BMAPI functions (unless you manipulate the required structures at the binary level), you may want to write code to call the Simple MAPI functions from a language that can handle the structures, such a C or C++. Two other resolutions are provided at the end of the "More Information" section. -- Stuart From shamil at users.mns.ru Fri Nov 4 19:21:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2005 04:21:12 +0300 Subject: [AccessD] ShellExecute to send short e-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> Message-ID: <003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> Stuart, This looks like an answer! I mean that using only VB6/VBA there is no direct way to send e-mail via MAPI using Outlook Express ... Based on that info I did find a C# sample http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK with Outlook Express on my PC without any additional tuning. I did compile this sample and I did put it for download if somebody don't have VS.NET 2003 here: http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires .NET Framework 1.1) Everybody with .NET Framework 1.1 and Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default e-mail clients are welcome to try it: 1. when it starts it reads Inbox 2. clicking on the item in listview you can see message body in textbox 3. clicking [Send Mail...] button you can open a form to prepare and send a message (put it in outbox) Now it looks like we are near to have a code, which can popup default e-mail client's new message window with any size text inside and with attachments. Stuart, to you have any hints where such (C++, C#, VB.NET) code can be found - I mean the code, which does what e.g. WinZip does when you right-click in Explorer and select from popup menu "Zip and E-mail"? Thank you, Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, November 05, 2005 2:45 AM Subject: Re: [AccessD] ShellExecute to send short e-mailvianon-MSemailclients... > On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > > It would have been great but it(api_SendMail) didn't work with Outlook > > Express on my PC resulting in a message: > > > > It's a known problem with VB Code and OE. > See: http://support.microsoft.com/kb/315458/ > > > Calls to the MAPISendMail function that are made from Microsoft Visual > Basic code may fail with an error message that resembles the following: > Microsoft Outlook Either there is no default mail client or the current > mail client cannot fulfill the messaging request. Please run Microsoft > Outlook and set it as the default mail client. > > This problem often occurs when Microsoft Outlook Express is set as the > default mail client. > > CAUSE Visual Basic programs that use Simple MAPI typically use Declare > statements that import the BMAPI functions. When Outlook Express is the > default mail client, the MAPI stub library cannot route these calls to > Outlook Express; instead, the calls fail and an error message is displayed. > > > RESOLUTION One way to resolve this problem is to not use Declare statements > that reference the BMAPI functions. However, because Visual Basic cannot > call the non-BMAPI functions (unless you manipulate the required structures > at the binary level), you may want to write code to call the Simple MAPI > functions from a language that can handle the structures, such a C or C++. > > Two other resolutions are provided at the end of the "More Information" > section. > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Sat Nov 5 02:26:14 2005 From: john at winhaven.net (John Bartow) Date: Sat, 5 Nov 2005 02:26:14 -0600 Subject: [AccessD] A2k3 Object Browser Message-ID: <016001c5e1e2$9665a730$6b01a8c0@ScuzzPaq> Is there a way to print the properties, methods, and events for a particular object from the object browser? From wdhindman at bellsouth.net Sat Nov 5 08:10:21 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 5 Nov 2005 09:10:21 -0500 Subject: [AccessD] ShellExecute to send shorte-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> <003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> Message-ID: <001601c5e212$a8914ab0$6101a8c0@JISREGISTRATION.local> Shamil ...your compilation works great on my OE account ...but is there any way to have this execute from inside an Access form ...like a subform for instance? ...I've been looking for this functionality for quite some time for my clients using Outlook Express ...would also need to be able to read folders other than the Inbox. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 8:21 PM Subject: Re: [AccessD] ShellExecute to send shorte-mailvianon-MSemailclients... > Stuart, > > This looks like an answer! I mean that using only VB6/VBA there is no > direct > way to send e-mail via MAPI using Outlook Express ... > > Based on that info I did find a C# sample > http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK > with > Outlook Express on my PC without any additional tuning. > > I did compile this sample and I did put it for download if somebody don't > have VS.NET 2003 here: > http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires > .NET Framework 1.1) > > Everybody with .NET Framework 1.1 and > > Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default > e-mail > clients are welcome to try it: > > 1. when it starts it reads Inbox > 2. clicking on the item in listview you can see message body in textbox > 3. clicking [Send Mail...] button you can open a form to prepare and send > a > message (put it in outbox) > > Now it looks like we are near to have a code, which can popup default > e-mail > client's new message window with any size text inside and with > attachments. > > Stuart, to you have any hints where such (C++, C#, VB.NET) code can be > found - I mean the code, which does what e.g. WinZip does when you > right-click in Explorer and select from popup menu "Zip and E-mail"? > > Thank you, > Shamil > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 05, 2005 2:45 AM > Subject: Re: [AccessD] ShellExecute to send short > e-mailvianon-MSemailclients... > > >> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: >> >> > It would have been great but it(api_SendMail) didn't work with Outlook >> > Express on my PC resulting in a message: >> > >> >> It's a known problem with VB Code and OE. >> See: http://support.microsoft.com/kb/315458/ >> >> >> Calls to the MAPISendMail function that are made from Microsoft Visual >> Basic code may fail with an error message that resembles the following: >> Microsoft Outlook Either there is no default mail client or the current >> mail client cannot fulfill the messaging request. Please run Microsoft >> Outlook and set it as the default mail client. >> >> This problem often occurs when Microsoft Outlook Express is set as the >> default mail client. >> >> CAUSE Visual Basic programs that use Simple MAPI typically use Declare >> statements that import the BMAPI functions. When Outlook Express is the >> default mail client, the MAPI stub library cannot route these calls to >> Outlook Express; instead, the calls fail and an error message is > displayed. >> >> >> RESOLUTION One way to resolve this problem is to not use Declare > statements >> that reference the BMAPI functions. However, because Visual Basic cannot >> call the non-BMAPI functions (unless you manipulate the required > structures >> at the binary level), you may want to write code to call the Simple MAPI >> functions from a language that can handle the structures, such a C or >> C++. >> >> Two other resolutions are provided at the end of the "More Information" >> section. >> >> >> -- >> 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 martyconnelly at shaw.ca Sat Nov 5 12:40:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 05 Nov 2005 10:40:55 -0800 Subject: [AccessD] A2k3 Object Browser References: <016001c5e1e2$9665a730$6b01a8c0@ScuzzPaq> Message-ID: <436CFCB7.1090200@shaw.ca> You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a particular >object from the object browser? > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Sat Nov 5 14:16:11 2005 From: john at winhaven.net (John Bartow) Date: Sat, 5 Nov 2005 14:16:11 -0600 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <436CFCB7.1090200@shaw.ca> Message-ID: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> Marty, Tried that. Don't get much at all. Is it possible to interate through the an Active-X object model and pull out all of its events, properties and methods, constants, etc. into a report or a text file? My gut feeling is yes since the Object Browser display all of it. But I would need to do this in VBA. I have code to do this for Access container objects but I never attempted it with ActiveX objects. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, November 05, 2005 12:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2k3 Object Browser You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a >particular object from the object browser? > > > -- 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 DWUTKA at marlow.com Sat Nov 5 14:46:10 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 5 Nov 2005 14:46:10 -0600 Subject: [AccessD] A2k3 Object Browser Message-ID: <123701F54509D9119A4F00D0B7473490EA5F94@main2.marlow.com> You can grab the contents of a listbox with API calls. I wrote a VB project to do this a few years ago. Had a spam filter that displayed the current list of 'filters' in a listbox, and I needed to switch to a text file instead. However, there was no export function. So I used the following code to 'grab' the items in the listbox. private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long private Declare Function GetTextSendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As String) As Long private Const LB_GETCOUNT = &H18B private Const LB_GETTEXT = &H189 private Const LB_GETTEXTLEN = &H18A private Const CB_GETLBTEXT = &H148 private Const CB_GETLBTEXTLEN = &H149 Private Sub Command1_Click() Dim i As Long Dim dwReturn As Long Dim strTemp As String ListBoxCount = 0 'inthWnd = 1377856 'inthWnd = 655826 inthWnd = Me.txthWnd Me.lstReturnedData.Clear dwReturn = SendMessage(inthWnd, LB_GETCOUNT, 0, 0) 'MsgBox dwReturn 'Exit Sub ListBoxCount = dwReturn For i = 0 To ListBoxCount - 1 dwReturn = SendMessage(inthWnd, LB_GETTEXTLEN, i, 0) 'strTemp = Space(255) 'Space(dwReturn + 1) strTemp = String(dwReturn, 0) dwReturn = SendMessage(inthWnd, LB_GETTEXT, i, ByVal strTemp$) Me.lstReturnedData.AddItem strTemp Next i End Sub To make this work, you need the hWnd value of the listbox. I have a little VB .exe I wrote that displays the window information (including the hWnd value) of whatever window the mouse is over. This worked perfect for what I needed it for. However, I already tried to use this on the Object browser. It will pull the lists from the drop down menus, but not from the items lists. I think that is because they are custom drawn. It does 'detect' the right number of items... (ie, the LB_GETCOUNT) returns the right number of items in the list, however, it retrieves a length of 4 every time. With a cursory look at the MSDN for LB_GETTEXT, it looks like if it is drawn a certain way, the text returned is a 32 bit pointer, and not the actual text. Hopefully this gives you something to go on. Drew -----Original Message----- From: John Bartow [SMTP:john at winhaven.net] Sent: Saturday, November 05, 2005 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2k3 Object Browser Marty, Tried that. Don't get much at all. Is it possible to interate through the an Active-X object model and pull out all of its events, properties and methods, constants, etc. into a report or a text file? My gut feeling is yes since the Object Browser display all of it. But I would need to do this in VBA. I have code to do this for Access container objects but I never attempted it with ActiveX objects. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, November 05, 2005 12:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2k3 Object Browser You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a >particular object from the object browser? > > > -- 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 stuart at lexacorp.com.pg Sat Nov 5 17:10:53 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Nov 2005 09:10:53 +1000 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> References: <436CFCB7.1090200@shaw.ca> Message-ID: <436DC89D.24878.3751D7B3@stuart.lexacorp.com.pg> On 5 Nov 2005 at 14:16, John Bartow wrote: > Marty, > Tried that. Don't get much at all. > > Is it possible to interate through the an Active-X object model and pull out > all of its events, properties and methods, constants, etc. into a report or > a text file? My gut feeling is yes since the Object Browser display all of > it. One of the tools that comes with PowerBasic is PBrow: The PowerBASIC COM Browser is an application that exposes the Interfaces, Methods and Properties of COM Objects, as described by type-library files. The PowerBASIC COM Browser serves a dual purpose - to export an Interface Structure of a COM Object for early-binding purposes in your PowerBASIC code, and to provide syntax reference and context-help on the Interface members exposed by a COM Object. .... The PowerBASIC COM Browser cannot open type-library or Object files that do not have at least one Interface that has a ProgID, indicating they support the Dispatch interface or are Dual-interface Objects. Without a ProgID, a COM Object will not support the IDispatch (dispatch) Interface. COM Objects of this variety often expose "direct" interfaces, and may be ActiveX Controls rather than COM servers. Objects of this type are not compatible with PowerBASIC (and are often not compatible with Visual Basic too). Buy PBrow for $199 and you will get PowerBASIC thrown in for free Here's a short extract from the file I just created for DAO: ------------------------------------------------------------ ' Library Name: Microsoft DAO 3.6 Object Library 5.0 ' Library File: C:\PROGRA~1\COMMON~1\MICROS~1\DAO360.DLL ' ------------------------------------------------------------ ' Version Info: ' ------------- ' Company Name: Microsoft Corporation ' File Description: Microsoft DAO 3.6 Object Library ' File Version: 03.60.2927.12 ' Internal Name: DAO360 ' Legal Copyright: Copyright ? Microsoft Corp. 1993-1997 ' Original Filename: DAO360.DLL ' Product Name: Microsoft? Jet ' Product Version: 03.60.2927.12 ' ------------------------------------------------------------ ...... 'Enumeration DataTypeEnum %dbBoolean = &H00000001 %dbByte = &H00000002 %dbInteger = &H00000003 %dbLong = &H00000004 %dbCurrency = &H00000005 %dbSingle = &H00000006 %dbDouble = &H00000007 %dbDate = &H00000008 %dbBinary = &H00000009 %dbText = &H0000000A %dbLongBinary = &H0000000B %dbMemo = &H0000000C %dbGUID = &H0000000F %dbBigInt = &H00000010 %dbVarBinary = &H00000011 %dbChar = &H00000012 %dbNumeric = &H00000013 %dbDecimal = &H00000014 %dbFloat = &H00000015 %dbTime = &H00000016 %dbTimeStamp = &H00000017 .... Interface Dispatch DAOTableDefs Member Get Count<&H60020000>() As Integer Member Call Refresh<&H60020002>() Member Call Append<&H60030000>(in Object As Variant<&H00000000>) Member Call Delete<&H60030001>(in Name As String<&H00000000>) Member Get Item<&H00000000>(in Item As Variant<&H00000000>) As DAOTableDef End Interface -- Stuart From shamil at users.mns.ru Sun Nov 6 02:45:50 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 6 Nov 2005 11:45:50 +0300 Subject: [AccessD] A2k3 Object Browser References: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> Message-ID: <006c01c5e2ae$80e3d950$6401a8c0@fincomplex.spb.ru> > Is it possible to interate through the an Active-X object model Yes, John, you can use tlbinf32.dll to do that: FILE: Tlbinf32.exe : Help Files for Tlbinf32.dll http://support.microsoft.com/Default.aspx?scid=kb;en-us;224331&spid=3042&sid=global How To Obtain Built-In Constant Values for an Office Application http://support.microsoft.com/?scid=kb;en-us;239930&spid=2520&sid=251 SAMPLE: CLSNMMBR.EXE Programmatically Retrieves the Members of a DLL Class http://support.microsoft.com/kb/172988/EN-US/ ActiveX Documenter (there is full source code there but with broken refs downloaded exe doesn't run on my PC) http://www.vbaccelerator.com/home/VB/Utilities/ActiveX_Documenter/article.asp PropertyExists Routine Using TLBINF32.DLL http://www.freevbcode.com/ShowCode.asp?ID=2441 I did write quite some code using tlbinf32.dll but that was commercial therefore I cannot post it here HTH, Shamil ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 05, 2005 11:16 PM Subject: Re: [AccessD] A2k3 Object Browser > Marty, > Tried that. Don't get much at all. > > Is it possible to interate through the an Active-X object model and pull out > all of its events, properties and methods, constants, etc. into a report or > a text file? My gut feeling is yes since the Object Browser display all of > it. But I would need to do this in VBA. > > I have code to do this for Access container objects but I never attempted it > with ActiveX objects. > From robert at servicexp.com Sun Nov 6 11:38:34 2005 From: robert at servicexp.com (Robert Gracie) Date: Sun, 6 Nov 2005 12:38:34 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com From dmcafee at pacbell.net Sun Nov 6 12:00:41 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 6 Nov 2005 10:00:41 -0800 Subject: [AccessD] Date/Time Conversion In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> Message-ID: I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sun Nov 6 13:21:59 2005 From: robert at servicexp.com (Robert Gracie) Date: Sun, 6 Nov 2005 14:21:59 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F80@gbsserver.GBS.local> David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Nov 6 15:30:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 07 Nov 2005 07:30:35 +1000 Subject: [AccessD] Date/Time Conversion In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> Message-ID: <436F029B.1688.3C1C5748@stuart.lexacorp.com.pg> On 6 Nov 2005 at 12:38, Robert Gracie wrote: > > > I have a table that has a date field that the input has been the date & the > time (Now()). I'm trying to build a report based on the results of a query > that the user inputs the date. > > I have tried formatting the field by using "TransDate: > Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between > [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". > > So if the users input is 01/01/2005 for the first date and 01/10/2005 > for the second, the query results include 2004 records also, but with-in the > month and day criteria... > > If I try to sort the results is ascending order on the date, it will > only sort on the month & day.. > Others have pointed out that you should filter on the underlying date and format in the report. There is one other "gotcha" to watch for cases like this where you are filtering dates on a date/time record. When using a criterion of Between 01/01/2005 And 01/10/2005: If you are select on a field where only dates have been entered (using the Date() function) it will return ALL records for 01/10/2005. If the field contains a date and time (filled using the Now() function) it will return NO records for 01/10/2005. The reason is because the criterion date "01/10/2005" is treated as "01/10/2005 00:00:00". A time part in any record for 01/10/2005 makes the entry greater than the criterion and it is skipped. -- Stuart From shamil at users.mns.ru Sun Nov 6 20:15:56 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Nov 2005 05:15:56 +0300 Subject: [AccessD] ShellExecute to sendshorte-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg><003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> <001601c5e212$a8914ab0$6101a8c0@JISREGISTRATION.local> Message-ID: <004001c5e341$3106dd40$6401a8c0@fincomplex.spb.ru> Thank you for your feedback, William! Yes, it's possible to create C++ ATL/COM ActiveX Control but this is quite some work - I don't think I will have free time for it in the near and not that near future. Another way is to create C++ ATL/COM ActiveX DLL with a simple API interface to send e-mails, read e-mal boxes etc., to wrap and expose MAPI functionality, which isn't available in VB6/VBA. This is less work than C++ ATL/COM ActiveX control but still some work I have to find free time for. It may happen somebody did develop similar ActiveX already . Third way (will work only with .NET Framework installed) is to develop ClassLibrary on VB.NET or C# and expose its API using CCW(COM Callable Wrappers). Fourth way (the shortest) is to create ActiveX control in .NET - http://www.c-sharpcorner.com/Code/2003/March/ActiveXInNet.asp - I have never tried that - if it will work as described in referenced article then the sample code I previously referred(http://www.codeproject.com/csharp/simplemapidotnet.asp,) can be wrapped into ActiveX control, which can be used in MS Access forms I hope. The fifth way... (there are many others like using Delphi to develop ActiveX control etc.) Recap: ===== 1. The first way is the longest but promise to bring the best results; 2. The fourth way is the shortest - but I'm unsure about result. And it will need .NET Framework installed on clients' PCs; 3. The second and the third ways will not result in ActiveX controls' development, which are the most desired result AFAIS..... Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Saturday, November 05, 2005 5:10 PM Subject: Re: [AccessD] ShellExecute to sendshorte-mailvianon-MSemailclients... > Shamil > > ...your compilation works great on my OE account ...but is there any way to > have this execute from inside an Access form ...like a subform for instance? > ...I've been looking for this functionality for quite some time for my > clients using Outlook Express ...would also need to be able to read folders > other than the Inbox. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 04, 2005 8:21 PM > Subject: Re: [AccessD] ShellExecute to send > shorte-mailvianon-MSemailclients... > > > > Stuart, > > > > This looks like an answer! I mean that using only VB6/VBA there is no > > direct > > way to send e-mail via MAPI using Outlook Express ... > > > > Based on that info I did find a C# sample > > http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK > > with > > Outlook Express on my PC without any additional tuning. > > > > I did compile this sample and I did put it for download if somebody don't > > have VS.NET 2003 here: > > http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires > > .NET Framework 1.1) > > > > Everybody with .NET Framework 1.1 and > > > > Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default > > e-mail > > clients are welcome to try it: > > > > 1. when it starts it reads Inbox > > 2. clicking on the item in listview you can see message body in textbox > > 3. clicking [Send Mail...] button you can open a form to prepare and send > > a > > message (put it in outbox) > > > > Now it looks like we are near to have a code, which can popup default > > e-mail > > client's new message window with any size text inside and with > > attachments. > > > > Stuart, to you have any hints where such (C++, C#, VB.NET) code can be > > found - I mean the code, which does what e.g. WinZip does when you > > right-click in Explorer and select from popup menu "Zip and E-mail"? > > > > Thank you, > > Shamil > > > > ----- Original Message ----- > > From: "Stuart McLachlan" > > To: "Access Developers discussion and problem solving" > > > > Sent: Saturday, November 05, 2005 2:45 AM > > Subject: Re: [AccessD] ShellExecute to send short > > e-mailvianon-MSemailclients... > > > > > >> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > >> > >> > It would have been great but it(api_SendMail) didn't work with Outlook > >> > Express on my PC resulting in a message: > >> > > >> > >> It's a known problem with VB Code and OE. > >> See: http://support.microsoft.com/kb/315458/ > >> > >> > >> Calls to the MAPISendMail function that are made from Microsoft Visual > >> Basic code may fail with an error message that resembles the following: > >> Microsoft Outlook Either there is no default mail client or the current > >> mail client cannot fulfill the messaging request. Please run Microsoft > >> Outlook and set it as the default mail client. > >> > >> This problem often occurs when Microsoft Outlook Express is set as the > >> default mail client. > >> > >> CAUSE Visual Basic programs that use Simple MAPI typically use Declare > >> statements that import the BMAPI functions. When Outlook Express is the > >> default mail client, the MAPI stub library cannot route these calls to > >> Outlook Express; instead, the calls fail and an error message is > > displayed. > >> > >> > >> RESOLUTION One way to resolve this problem is to not use Declare > > statements > >> that reference the BMAPI functions. However, because Visual Basic cannot > >> call the non-BMAPI functions (unless you manipulate the required > > structures > >> at the binary level), you may want to write code to call the Simple MAPI > >> functions from a language that can handle the structures, such a C or > >> C++. > >> > >> Two other resolutions are provided at the end of the "More Information" > >> section. > >> > >> > >> -- > >> 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 mboyd at deloitte.com Mon Nov 7 08:50:17 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 7 Nov 2005 09:50:17 -0500 Subject: [AccessD] Export Outlook Global Address List Message-ID: Does anyone have code, or know how, to export the Global Address List from Outlook, into an Access mdb? I'm assuming that you need Administrative rights on the Exchange server, which I don't have, in order to get this info. Any ideas are appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mikedorism at verizon.net Mon Nov 7 09:15:17 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 07 Nov 2005 10:15:17 -0500 Subject: [AccessD] Export Outlook Global Address List In-Reply-To: Message-ID: <000701c5e3ae$108ba8d0$2f01a8c0@dorismanning> I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. Doris Manning mikedorism at verizon.net ************************************************************** Public Function SafeAddress(MyForm As String) On Error GoTo ErrorHandler Dim oSafeAddr As Object Dim oAddrEntries As AddressEntries Dim oAddrEntry As AddressEntry Dim FormName As Form Dim strDispName As String Dim strMailName As String Const GivenName = &H3A06001E Const Surname = &H3A11001E Set FormName = Forms(MyForm) Set oSafeAddr = CreateObject("Redemption.AddressLists") Set oAddrEntries = oSafeAddr("Global Address List").AddressEntries For Each oAddrEntry In oAddrEntries If Not IsEmpty(oAddrEntry.Fields(GivenName)) And _ Not IsEmpty(oAddrEntry.Fields(Surname)) Then strDispName = oAddrEntry.Name strMailName = oAddrEntry.Fields(GivenName) & oAddrEntry.Fields(Surname) strMailName = strMailName & "@hargroveinc.com" FormName!lstOthers.AddItem strDispName & ";" & strMailName End If Next oAddrEntry Set oAddrEntry = Nothing Set oAddrEntries = Nothing Set oSafeAddr = Nothing Set FormName = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SafeAddress") End Function From harkinsss at bellsouth.net Mon Nov 7 09:18:07 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 7 Nov 2005 10:18:07 -0500 Subject: [AccessD] Export Outlook Global Address List In-Reply-To: <000701c5e3ae$108ba8d0$2f01a8c0@dorismanning> Message-ID: <20051107151808.CRFT406.ibm67aec.bellsouth.net@SUSANONE> http://www.helenfeddema.com Helen has a ton of Outlook/Access code. Susan H. I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. From Lambert.Heenan at AIG.com Mon Nov 7 09:23:30 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 7 Nov 2005 09:23:30 -0600 Subject: [AccessD] Date/Time Conversion Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999799@xlivmbx21.aig.com> Good, you got rid to the "Format()" use, but there's still one thing waiting to catch you. When you use Between in a criteria like Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". You have to be aware that just a bare date like 10/05/2005 means Midnight on that date, and because your date field includes the time part, the second date in the query can cause you problems as it too only goes as far as midnight. So if the second date entered for the query criteria was 10/06/2005 your query would not show results for dates later than 10/06/2005 12:00:00 AM. e.g. the date 10/06/2005 08:00:00 AM would not be returned by the query as it is after midnight on 10/06/05. The fix is easy. Just change the second date prompt like this.. Between [Start Date eg: 10/05/2005] And Cdate([End Date eg: 10/06/2005]) +#11:59:59 PM# By adding the time portion (one second prior to midnight) to the end date you will get results covering the whole 24 hour period of the end date. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 7 11:24:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 07 Nov 2005 09:24:20 -0800 Subject: [AccessD] Export Outlook Global Address List References: Message-ID: <436F8DC4.7030102@shaw.ca> This site covers Outlook and Exchange methods http://www.slipstick.com/ And it's sister site covers Outlook and Exchange VBA code http://www.outlookcode.com/ Boyd, Mark Thomas (US - Philadelphia) wrote: >Does anyone have code, or know how, to export the Global Address List >from Outlook, into an Access mdb? >I'm assuming that you need Administrative rights on the Exchange server, >which I don't have, in order to get this info. > >Any ideas are appreciated. >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Nov 7 11:28:49 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 7 Nov 2005 12:28:49 -0500 Subject: [AccessD] Export Outlook Global Address List Message-ID: I found that Access2003 allows you to import the Address List directly into the mdb. By selecting a file type of 'Outlook()' or 'Exchange()' on the Import dialog box, an option for 'Global Address List' is available. I can't guarantee this will work, as the enormous list has been importing for the last 2 hours. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, November 07, 2005 10:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export Outlook Global Address List I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. Doris Manning mikedorism at verizon.net ************************************************************** Public Function SafeAddress(MyForm As String) On Error GoTo ErrorHandler Dim oSafeAddr As Object Dim oAddrEntries As AddressEntries Dim oAddrEntry As AddressEntry Dim FormName As Form Dim strDispName As String Dim strMailName As String Const GivenName = &H3A06001E Const Surname = &H3A11001E Set FormName = Forms(MyForm) Set oSafeAddr = CreateObject("Redemption.AddressLists") Set oAddrEntries = oSafeAddr("Global Address List").AddressEntries For Each oAddrEntry In oAddrEntries If Not IsEmpty(oAddrEntry.Fields(GivenName)) And _ Not IsEmpty(oAddrEntry.Fields(Surname)) Then strDispName = oAddrEntry.Name strMailName = oAddrEntry.Fields(GivenName) & oAddrEntry.Fields(Surname) strMailName = strMailName & "@hargroveinc.com" FormName!lstOthers.AddItem strDispName & ";" & strMailName End If Next oAddrEntry Set oAddrEntry = Nothing Set oAddrEntries = Nothing Set oSafeAddr = Nothing Set FormName = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SafeAddress") End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From harkinsss at bellsouth.net Mon Nov 7 11:31:02 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 7 Nov 2005 12:31:02 -0500 Subject: [AccessD] Report export to html question Message-ID: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> When exporting an Access report to html format, is there anyway to keep the pages together in one file? This seems like a familiar question to me, like maybe I've written about it, but I can't seem to find the answer. Susan H. From martyconnelly at shaw.ca Mon Nov 7 12:16:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 07 Nov 2005 10:16:48 -0800 Subject: [AccessD] Report export to html question References: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <436F9A10.3070307@shaw.ca> This is not possible with Access Export to HTML feature. There are several 3'rd party printer driver out there that will give you the desired results though. Try the convert printer output to HTML Printer Driver here: http://www.aureliasystems.com You might be able to use the settings in your Printer Driver to select multiple pages per single output page. Susan Harkins wrote: >When exporting an Access report to html format, is there anyway to keep the >pages together in one file? This seems like a familiar question to me, like >maybe I've written about it, but I can't seem to find the answer. > >Susan H. > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Nov 7 13:37:39 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 08 Nov 2005 05:37:39 +1000 Subject: [AccessD] Report export to html question In-Reply-To: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <437039A3.11590.40DB4253@stuart.lexacorp.com.pg> On 7 Nov 2005 at 12:31, Susan Harkins wrote: > When exporting an Access report to html format, is there anyway to keep the > pages together in one file? This seems like a familiar question to me, like > maybe I've written about it, but I can't seem to find the answer. > Not AFAIK. It's just one of the many reasons that I don't output a report to HTML. The other one is that the columns *never* line up properly. If I need an HTML report, I build it myself using a function that steps through the recordset and PRINT#'s a line at a time. If you'd like an example, I can send you the source for producing pages like http://www.pngec.gov.pg/abgresults/abgelections.html -- Stuart From newsgrps at dalyn.co.nz Mon Nov 7 16:17:15 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 11:17:15 +1300 Subject: [AccessD] Opening Other Program Files Message-ID: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? From andy at minstersystems.co.uk Mon Nov 7 16:51:38 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 7 Nov 2005 22:51:38 -0000 Subject: [AccessD] Opening Other Program Files In-Reply-To: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> Message-ID: <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> Hi David Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to credit. Just call RunApp passing it the filename. Don't recall when you need the 2nd param but I alwys pass a value of 1 and it works fine. Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 07 November 2005 22:17 > To: accessd at databaseadvisors.com > Subject: [AccessD] Opening Other Program Files > > > I have a field that has the full path to a file. The file may be a > pdf or word doc. My user would like to be able to doubleclick the > field and have the correct application open with the file (eg double > click on a pdf will open Acrobat with the file showing). > > Any pointers on how this can be done? > > From newsgrps at dalyn.co.nz Mon Nov 7 17:03:21 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 12:03:21 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> Message-ID: <6.2.3.4.0.20051108120204.0759d470@mail.dalyn.co.nz> Thanks Andy, Do you have the code for ShellExecute? David At 8/11/2005, you wrote: >Hi David >Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to >credit. Just call RunApp passing it the filename. Don't recall when you need >the 2nd param but I alwys pass a value of 1 and it works fine. > >Function RunApp(strFile As String, bytSize) As Boolean > Dim lngRet As Long > Dim varTaskID As Variant > Dim strRet As String > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > vbNullString, vbNullString, bytSize) > If lngRet > Success Then > strRet = vbNullString > lngRet = -1 > RunApp = True > Else > RunApp = False > Select Case lngRet > Case NotRegistered > varTaskID = Shell("rundll32.exe > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > lngRet = (varTaskID <> 0) > Case InadequateMemory > MsgBox "Error: Out of Memory/Resources!" > Case FileNotFound > MsgBox "Error: File not found!" > Case PathNotFound > MsgBox "Error: Path not found!" > Case BadFormat > MsgBox "Error: Bad File Format!" > Case 5 > MsgBox "Error: Unauthorized due to Security restrictions!" > End Select > End If >End Function > > >HTH >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > Sent: 07 November 2005 22:17 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Opening Other Program Files > > > > > > I have a field that has the full path to a file. The file may be a > > pdf or word doc. My user would like to be able to doubleclick the > > field and have the correct application open with the file (eg double > > click on a pdf will open Acrobat with the file showing). > > > > Any pointers on how this can be done? From newsgrps at dalyn.co.nz Mon Nov 7 17:05:24 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 12:05:24 +1300 Subject: [AccessD] Opening Other Program Files Message-ID: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> Thanks Andy, Also, You have a number of variables that are not declared (especially in the case statement). Do you have the values for these? David At 8/11/2005, you wrote: >Hi David >Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to >credit. Just call RunApp passing it the filename. Don't recall when you need >the 2nd param but I alwys pass a value of 1 and it works fine. > >Function RunApp(strFile As String, bytSize) As Boolean > Dim lngRet As Long > Dim varTaskID As Variant > Dim strRet As String > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > vbNullString, vbNullString, bytSize) > If lngRet > Success Then > strRet = vbNullString > lngRet = -1 > RunApp = True > Else > RunApp = False > Select Case lngRet > Case NotRegistered > varTaskID = Shell("rundll32.exe > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > lngRet = (varTaskID <> 0) > Case InadequateMemory > MsgBox "Error: Out of Memory/Resources!" > Case FileNotFound > MsgBox "Error: File not found!" > Case PathNotFound > MsgBox "Error: Path not found!" > Case BadFormat > MsgBox "Error: Bad File Format!" > Case 5 > MsgBox "Error: Unauthorized due to Security restrictions!" > End Select > End If >End Function > > >HTH >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > Sent: 07 November 2005 22:17 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Opening Other Program Files > > > > > > I have a field that has the full path to a file. The file may be a > > pdf or word doc. My user would like to be able to doubleclick the > > field and have the correct application open with the file (eg double > > click on a pdf will open Acrobat with the file showing). > > > > Any pointers on how this can be done? From john at winhaven.net Mon Nov 7 20:50:16 2005 From: john at winhaven.net (John Bartow) Date: Mon, 7 Nov 2005 20:50:16 -0600 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <006c01c5e2ae$80e3d950$6401a8c0@fincomplex.spb.ru> Message-ID: <000001c5e40f$26befba0$6b01a8c0@ScuzzPaq> Thanks all for your suggestions. I am back to square one on doing this myself since everything I have investigated comes up short. The problem may be that many of them rely on tlbinf32 which MS says is unsupported, undocumented and can "change without notice". Apparently they actually do change it and it breaks things. I found one program that seems to pull the info up nicely for reports, OLEPrint by Starprint. Other than that th eother programs and scripts either gave incorrect info or didn't run? From adtp at touchtelindia.net Mon Nov 7 22:47:12 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 8 Nov 2005 10:17:12 +0530 Subject: [AccessD] Opening Other Program Files References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> Message-ID: <00dd01c5e41f$8c9018a0$4320f63d@winxp> David, My sample db named PrintExternalFiles might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: David Emerson To: accessd at databaseadvisors.com Sent: Tuesday, November 08, 2005 03:47 Subject: [AccessD] Opening Other Program Files I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? From newsgrps at dalyn.co.nz Mon Nov 7 23:31:00 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 18:31:00 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <00dd01c5e41f$8c9018a0$4320f63d@winxp> References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> <00dd01c5e41f$8c9018a0$4320f63d@winxp> Message-ID: <6.2.3.4.0.20051108182951.0317cc50@mail.dalyn.co.nz> Thanks A.D. Looks like it will do what we want David At 8/11/2005, you wrote: >David, > > My sample db named PrintExternalFiles might be of interest to > you. It is available at Rogers Access Library (other developers > library). Link - http://www.rogersaccesslibrary.com > > You could adapt the underlying approach suitably, for your > specific needs. > >Best wishes, >A.D.Tejpal >-------------- > > ----- Original Message ----- > From: David Emerson > To: accessd at databaseadvisors.com > Sent: Tuesday, November 08, 2005 03:47 > Subject: [AccessD] Opening Other Program Files > > > I have a field that has the full path to a file. The file may be a > pdf or word doc. My user would like to be able to doubleclick > the field and have the correct application open with the file (eg > double click on a pdf will open Acrobat with the file showing). > > Any pointers on how this can be done? >-- >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 Nov 8 01:47:17 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 8 Nov 2005 07:47:17 -0000 Subject: [AccessD] Opening Other Program Files In-Reply-To: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> Message-ID: <000f01c5e438$a46633b0$13430c54@minster33c3r25> Sorry David. Here's ShellExecute Declare Function ShellExecute Lib "shell32" Alias "ShellExecuteA" (ByVal hWnd As Long, _ ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Const InadequateMemory = 0 Private Const FileNotFound = 2 Private Const PathNotFound = 3 Private Const BadFormat = 11 Private Const NotRegistered = 31 Private Const Success = 32 I think that's the lot. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 07 November 2005 23:05 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Opening Other Program Files > > > Thanks Andy, > > Also, You have a number of variables that are not declared > (especially in the case statement). Do you have the values for these? > > David > > At 8/11/2005, you wrote: > >Hi David > >Sounds like you want RunApp. See fn below. I'm afraid I don't recall > >who to credit. Just call RunApp passing it the filename. > Don't recall > >when you need the 2nd param but I alwys pass a value of 1 > and it works > >fine. > > > >Function RunApp(strFile As String, bytSize) As Boolean > > Dim lngRet As Long > > Dim varTaskID As Variant > > Dim strRet As String > > > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > > vbNullString, vbNullString, bytSize) > > If lngRet > Success Then > > strRet = vbNullString > > lngRet = -1 > > RunApp = True > > Else > > RunApp = False > > Select Case lngRet > > Case NotRegistered > > varTaskID = Shell("rundll32.exe > > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > > lngRet = (varTaskID <> 0) > > Case InadequateMemory > > MsgBox "Error: Out of Memory/Resources!" > > Case FileNotFound > > MsgBox "Error: File not found!" > > Case PathNotFound > > MsgBox "Error: Path not found!" > > Case BadFormat > > MsgBox "Error: Bad File Format!" > > Case 5 > > MsgBox "Error: Unauthorized due to > Security restrictions!" > > End Select > > End If > >End Function > > > > > >HTH > >-- Andy Lacey > >http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David > > > Emerson > > > Sent: 07 November 2005 22:17 > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Opening Other Program Files > > > > > > > > > I have a field that has the full path to a file. The > file may be a > > > pdf or word doc. My user would like to be able to > doubleclick the > > > field and have the correct application open with the file > (eg double > > > click on a pdf will open Acrobat with the file showing). > > > > > > Any pointers on how this can be done? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Tue Nov 8 02:35:19 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 21:35:19 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <000f01c5e438$a46633b0$13430c54@minster33c3r25> References: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> <000f01c5e438$a46633b0$13430c54@minster33c3r25> Message-ID: <6.2.3.4.0.20051108213504.0316f730@mail.dalyn.co.nz> Thanks Andy. David At 8/11/2005, you wrote: >Sorry David. Here's ShellExecute > >Declare Function ShellExecute Lib "shell32" Alias "ShellExecuteA" (ByVal >hWnd As Long, _ > ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As >String, _ > ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long > > >Private Const InadequateMemory = 0 >Private Const FileNotFound = 2 >Private Const PathNotFound = 3 >Private Const BadFormat = 11 >Private Const NotRegistered = 31 >Private Const Success = 32 > >I think that's the lot. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 07 November 2005 23:05 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Opening Other Program Files > > > > > > Thanks Andy, > > > > Also, You have a number of variables that are not declared > > (especially in the case statement). Do you have the values for these? > > > > David > > > > At 8/11/2005, you wrote: > > >Hi David > > >Sounds like you want RunApp. See fn below. I'm afraid I don't recall > > >who to credit. Just call RunApp passing it the filename. > > Don't recall > > >when you need the 2nd param but I alwys pass a value of 1 > > and it works > > >fine. > > > > > >Function RunApp(strFile As String, bytSize) As Boolean > > > Dim lngRet As Long > > > Dim varTaskID As Variant > > > Dim strRet As String > > > > > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > > > vbNullString, vbNullString, bytSize) > > > If lngRet > Success Then > > > strRet = vbNullString > > > lngRet = -1 > > > RunApp = True > > > Else > > > RunApp = False > > > Select Case lngRet > > > Case NotRegistered > > > varTaskID = Shell("rundll32.exe > > > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > > > lngRet = (varTaskID <> 0) > > > Case InadequateMemory > > > MsgBox "Error: Out of Memory/Resources!" > > > Case FileNotFound > > > MsgBox "Error: File not found!" > > > Case PathNotFound > > > MsgBox "Error: Path not found!" > > > Case BadFormat > > > MsgBox "Error: Bad File Format!" > > > Case 5 > > > MsgBox "Error: Unauthorized due to > > Security restrictions!" > > > End Select > > > End If > > >End Function > > > > > > > > >HTH > > >-- Andy Lacey > > >http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David > > > > Emerson > > > > Sent: 07 November 2005 22:17 > > > > To: accessd at databaseadvisors.com > > > > Subject: [AccessD] Opening Other Program Files > > > > > > > > > > > > I have a field that has the full path to a file. The > > file may be a > > > > pdf or word doc. My user would like to be able to > > doubleclick the > > > > field and have the correct application open with the file > > (eg double > > > > click on a pdf will open Acrobat with the file showing). > > > > > > > > Any pointers on how this can be done? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 8 04:15:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 8 Nov 2005 13:15:28 +0300 Subject: [AccessD] A2k3 Object Browser References: <000001c5e40f$26befba0$6b01a8c0@ScuzzPaq> Message-ID: <001f01c5e44d$59511d30$6401a8c0@fincomplex.spb.ru> <<< Apparently they actually do change it and it breaks things. >>> John, I have not seen it changed for 5+ years I have been using it. "COM is dead" now - in the sense it will not be getting extended - so my guess tlbinf32.dll will never change > OLEPrint by Starprint. It's written on VB6 so my guess it uses tlbinf32.dll > I am back to square one on doing this myself since everything What is you task? Shamil ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 5:50 AM Subject: Re: [AccessD] A2k3 Object Browser > Thanks all for your suggestions. > > I am back to square one on doing this myself since everything I have > investigated comes up short. The problem may be that many of them rely on > tlbinf32 which MS says is unsupported, undocumented and can "change without > notice". Apparently they actually do change it and it breaks things. > > I found one program that seems to pull the info up nicely for reports, > OLEPrint by Starprint. Other than that th eother programs and scripts either > gave incorrect info or didn't run? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 8 06:39:21 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 8 Nov 2005 07:39:21 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F82@gbsserver.GBS.local> Lambert, Thank you very much, had no idea... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 07, 2005 10:46 AM To: 'Access Developers discussion and problem solving' Cc: Robert Gracie Subject: Re: [AccessD] Date/Time Conversion Good, you got rid to the "Format()" use, but there's still one thing waiting to catch you. When you use Between in a criteria like Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". You have to be aware that just a bare date like 10/05/2005 means Midnight on that date, and because your date field includes the time part, the second date in the query can cause you problems as it too only goes as far as midnight. So if the second date entered for the query criteria was 10/06/2005 your query would not show results for dates later than 10/06/2005 12:00:00 AM. e.g. the date 10/06/2005 08:00:00 AM would not be returned by the query as it is after midnight on 10/06/05. The fix is easy. Just change the second date prompt like this.. Between [Start Date eg: 10/05/2005] And Cdate([End Date eg: 10/06/2005]) +#11:59:59 PM# By adding the time portion (one second prior to midnight) to the end date you will get results covering the whole 24 hour period of the end date. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 8 07:27:54 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 8 Nov 2005 08:27:54 -0500 Subject: [AccessD] Opening Other Program Files Message-ID: This is the coding I use: Option Compare Database 'Use database order for string comparisons Option Explicit 'Declare Module Level Path Constants Const WordPerfect = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Const MSWord = "C:\cqabapps\viewers\word\wordview.exe" Const MSExcel = "C:\cqabapps\viewers\excel\xlview.exe" Const Irfanview = "C:\Program Files\IrfanView\i_view32.exe" Const Autovue = "C:\Program Files\Volo View Express\Voloview.exe" Const CDView = "C:\cdview97\cdview.exe" Const PageMaker = "Q:\install\pm65net\pm65\pm65.exe" Const CorelDraw = "J:\apps\draw.800\programs\coreldrw.exe" Const Acrobat = "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" Const MSPowerPoint = "C:\Program Files\Microsoft Office\Office10\Powerpnt.exe" Const Text = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Function OpenDocument() On Error Resume Next Dim strDocType As String, strDocLoc As String Dim strMsgText As String, strMsgTitle As String Dim MyAppID As Integer strDocType = Forms![docDocument]![docDocumentSUB].Form![Extension] strDocLoc = Forms![docDocument]![docDocumentSUB].Form![Path] Select Case strDocType Case "wpd", "txt" MyAppID = Shell(WordPerfect & " " & strDocLoc, vbMaximizedFocus) Case "doc" MyAppID = Shell(MSWord & " " & strDocLoc, vbMaximizedFocus) Case "xls", "xlw" MyAppID = Shell(MSExcel & " " & strDocLoc, vbMaximizedFocus) Case "dwg", "dxf", "cal" MyAppID = Shell(Autovue & " " & strDocLoc, vbMaximizedFocus) Case "tif", "pcx", "bmp", "gif", "jpg" MyAppID = Shell(Irfanview & " " & strDocLoc, vbMaximizedFocus) Case "dwgrx" MyAppID = Shell(CDView & " " & strDocLoc, vbMaximizedFocus) Case "pm5", "pm6", "p65" MyAppID = Shell(PageMaker & " " & strDocLoc, vbMaximizedFocus) Case "cdr" MyAppID = Shell(CorelDraw & " " & strDocLoc, vbMaximizedFocus) Case "pdf" MyAppID = Shell(Acrobat & " " & strDocLoc, vbMaximizedFocus) Case "ppt" MyAppID = Shell(MSPowerPoint & " " & strDocLoc, vbMaximizedFocus) Case "paper" strMsgText = "This document was submitted in paper version only." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "prev" strMsgText = "This document was previously submitted under another Task Number." & _ vbCrLf & "Scroll to the right for more information." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "mdb" strMsgText = "Please press the button 'Open SAF' to view the application form." & _ vbCrLf & "The application cannot be opened here." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case Else strMsgText = "The document type and path information do no exist for this entry." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function End Select AppActivate MyAppID End Function Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, November 07, 2005 5:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Opening Other Program Files I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? -- 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 Nov 8 10:18:11 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 11:18:11 -0500 Subject: [AccessD] Opening Other Program Files Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999B01@xlivmbx21.aig.com> I suggest you switch to using the ShellExecute method. It's just much simpler. Any document type that is registered on the machine will be opened in it's native application without any need on your part as the programmer to know where they are installed or what they are called. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Opening Other Program Files This is the coding I use: Option Compare Database 'Use database order for string comparisons Option Explicit 'Declare Module Level Path Constants Const WordPerfect = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Const MSWord = "C:\cqabapps\viewers\word\wordview.exe" Const MSExcel = "C:\cqabapps\viewers\excel\xlview.exe" Const Irfanview = "C:\Program Files\IrfanView\i_view32.exe" Const Autovue = "C:\Program Files\Volo View Express\Voloview.exe" Const CDView = "C:\cdview97\cdview.exe" Const PageMaker = "Q:\install\pm65net\pm65\pm65.exe" Const CorelDraw = "J:\apps\draw.800\programs\coreldrw.exe" Const Acrobat = "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" Const MSPowerPoint = "C:\Program Files\Microsoft Office\Office10\Powerpnt.exe" Const Text = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Function OpenDocument() On Error Resume Next Dim strDocType As String, strDocLoc As String Dim strMsgText As String, strMsgTitle As String Dim MyAppID As Integer strDocType = Forms![docDocument]![docDocumentSUB].Form![Extension] strDocLoc = Forms![docDocument]![docDocumentSUB].Form![Path] Select Case strDocType Case "wpd", "txt" MyAppID = Shell(WordPerfect & " " & strDocLoc, vbMaximizedFocus) Case "doc" MyAppID = Shell(MSWord & " " & strDocLoc, vbMaximizedFocus) Case "xls", "xlw" MyAppID = Shell(MSExcel & " " & strDocLoc, vbMaximizedFocus) Case "dwg", "dxf", "cal" MyAppID = Shell(Autovue & " " & strDocLoc, vbMaximizedFocus) Case "tif", "pcx", "bmp", "gif", "jpg" MyAppID = Shell(Irfanview & " " & strDocLoc, vbMaximizedFocus) Case "dwgrx" MyAppID = Shell(CDView & " " & strDocLoc, vbMaximizedFocus) Case "pm5", "pm6", "p65" MyAppID = Shell(PageMaker & " " & strDocLoc, vbMaximizedFocus) Case "cdr" MyAppID = Shell(CorelDraw & " " & strDocLoc, vbMaximizedFocus) Case "pdf" MyAppID = Shell(Acrobat & " " & strDocLoc, vbMaximizedFocus) Case "ppt" MyAppID = Shell(MSPowerPoint & " " & strDocLoc, vbMaximizedFocus) Case "paper" strMsgText = "This document was submitted in paper version only." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "prev" strMsgText = "This document was previously submitted under another Task Number." & _ vbCrLf & "Scroll to the right for more information." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "mdb" strMsgText = "Please press the button 'Open SAF' to view the application form." & _ vbCrLf & "The application cannot be opened here." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case Else strMsgText = "The document type and path information do no exist for this entry." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function End Select AppActivate MyAppID End Function Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Chester_Kaup at kindermorgan.com Tue Nov 8 10:34:45 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 10:34:45 -0600 Subject: [AccessD] Update query quit working Message-ID: I have the following update query in a database. It used to work. UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = DMax("[Date]","WellMonthlyVol"); I ran a select query to get the max date from the table WellMonthlyVol and it worked fine returning the correct value. What am I missing that it no longer works? No records are updated. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From bchacc at san.rr.com Tue Nov 8 10:55:43 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 08:55:43 -0800 Subject: [AccessD] OT: Password Manager Message-ID: <019901c5e485$41e1d670$6501a8c0@HAL9004> I transferred my bookmarks to another machine but now I'd like to transfer the logins and passwords as well from the password manager. Does anybody know how to do this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From bchacc at san.rr.com Tue Nov 8 11:00:58 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 09:00:58 -0800 Subject: [AccessD] Update query quit working References: Message-ID: <01b201c5e485$fdf67d20$6501a8c0@HAL9004> Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Nov 8 11:11:33 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 11:11:33 -0600 Subject: [AccessD] Update query quit working Message-ID: You mean something like this: SELECT DISTINCT WellMonthlyVol.Date FROM WellMonthlyVol WHERE (((WellMonthlyVol.Date)=DMax("[Date]","WellMonthlyVol"))); This works correctly. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Tue Nov 8 11:11:49 2005 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 8 Nov 2005 12:11:49 -0500 Subject: [AccessD] Overview of Access 12 Message-ID: <006101c5e487$844f13e0$6501a8c0@tbig1> http://blogs.msdn.com/access/archive/2005/11/07/490113.aspx Myke From cyx5 at cdc.gov Tue Nov 8 11:27:01 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 8 Nov 2005 12:27:01 -0500 Subject: [AccessD] Update query quit working Message-ID: Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Tue Nov 8 11:58:38 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 8 Nov 2005 12:58:38 -0500 Subject: [AccessD] Extract Outlook Form Data into Access Message-ID: I've been asked to create an Outlook form that will be used to gather data from many users. Once I receive the completed form back in the form of an email message, I need to automate the population of the data into an existing Access mdb. Is this even possible? Any ideas are greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From bchacc at san.rr.com Tue Nov 8 12:37:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 10:37:24 -0800 Subject: [AccessD] Update query quit working References: Message-ID: <02b601c5e493$76935660$6501a8c0@HAL9004> Hmmmm....returned the right date, then? Have any of the properties on the target field been changed? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 9:11 AM Subject: Re: [AccessD] Update query quit working > You mean something like this: > > SELECT DISTINCT WellMonthlyVol.Date > FROM WellMonthlyVol > WHERE (((WellMonthlyVol.Date)=DMax("[Date]","WellMonthlyVol"))); > > This works correctly. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, November 08, 2005 11:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Update query quit working > > Try it as a select query to see if the right MAX date is coming across? > > Rocky > > ----- Original Message ----- > From: "Kaup, Chester" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 08, 2005 8:34 AM > Subject: [AccessD] Update query quit working > > >>I have the following update query in a database. It used to work. >> >> >> >> UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = >> DMax("[Date]","WellMonthlyVol"); >> >> >> >> I ran a select query to get the max date from the table WellMonthlyVol >> and it worked fine returning the correct value. >> >> >> >> What am I missing that it no longer works? No records are updated. >> Thanks. >> >> >> >> >> >> >> >> Chester Kaup >> >> Engineering Technician >> >> Kinder Morgan CO2 Company, LLP >> >> Office (432) 688-3797 >> >> FAX (432) 688-3799 >> >> >> >> >> >> No trees were killed in the sending of this message. However a large >> number of electrons were terribly inconvenienced. >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Nov 8 12:39:33 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 12:39:33 -0600 Subject: [AccessD] Update query quit working Message-ID: You are correct that [Date] is a reserved word. Sometimes we are stuck with apps built on top of access that don't use real good field names. Anyway tried changing it to [RecordDate] still no records are updated. I am puzzled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Nov 8 12:44:45 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 12:44:45 -0600 Subject: [AccessD] Update query quit working Message-ID: Problem solved. This is a one field one record table. Just checked and there was no initial record to be updated. Added an initial dummy record. Now it works. Thanks for the ideas and help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, November 08, 2005 12:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working You are correct that [Date] is a reserved word. Sometimes we are stuck with apps built on top of access that don't use real good field names. Anyway tried changing it to [RecordDate] still no records are updated. I am puzzled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 8 12:51:47 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 12:51:47 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD81E@corp-es01.fleetpride.com> Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Nov 8 13:01:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 08 Nov 2005 11:01:14 -0800 Subject: [AccessD] Extract Outlook Form Data into Access References: Message-ID: <4370F5FA.1080001@shaw.ca> It is doable but do you want to drive method from Access or Outlook Both VBA ways should be in here This site covers Outlook and Exchange methods http://www.slipstick.com/ And it's sister site covers Outlook and Exchange VBA code http://www.outlookcode.com/ Boyd, Mark Thomas (US - Philadelphia) wrote: >I've been asked to create an Outlook form that will be used to gather >data from many users. >Once I receive the completed form back in the form of an email message, >I need to automate the population of the data into an existing Access >mdb. > >Is this even possible? >Any ideas are greatly appreciated. > >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Tue Nov 8 13:04:26 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 11:04:26 -0800 Subject: [AccessD] Best way to fix database Message-ID: That should do it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 10:52 AM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 8 13:06:01 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 14:06:01 -0500 Subject: [AccessD] Best way to fix database Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999C0A@xlivmbx21.aig.com> Number 1 on the list should always be "Make a backup copy of the mdb" Then... compact and repair Still not good?... Decompile (not officially supported, so make sure you backup) If neither of the above fixes the problem try using JetComp to compact the database. Still no luck? Import everything into a new database. If you think you know that a specific code module is causing the problem then try this. Open the module and comment out all the code lines Save the module Compact and repair Compile Open the module again and uncomment all the code lines Save the module Compact and repair Compile Compact and repair. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 1:52 PM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 8 13:37:34 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 13:37:34 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD823@corp-es01.fleetpride.com> Thanks -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, November 08, 2005 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database That should do it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 10:52 AM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Tue Nov 8 13:50:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 13:50:50 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD825@corp-es01.fleetpride.com> Backups? I've heard of those. I get religion after every disaster (Oh God I promise to backup every day if you'll just let me slip by this one time...) but I inevitably fall back into my slothful ways. :-) Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 08, 2005 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Best way to fix database Number 1 on the list should always be "Make a backup copy of the mdb" Then... compact and repair Still not good?... Decompile (not officially supported, so make sure you backup) If neither of the above fixes the problem try using JetComp to compact the database. Still no luck? Import everything into a new database. If you think you know that a specific code module is causing the problem then try this. Open the module and comment out all the code lines Save the module Compact and repair Compile Open the module again and uncomment all the code lines Save the module Compact and repair Compile Compact and repair. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 1:52 PM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From wdhindman at bellsouth.net Tue Nov 8 14:27:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 15:27:41 -0500 Subject: [AccessD] Best way to fix database References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD81E@corp-es01.fleetpride.com> Message-ID: <00eb01c5e4a2$de8218b0$6101a8c0@JISREGISTRATION.local> Jim My routine for a "flaky" mdb: ...backup ...save ...compile ...Access compact&repair ...decompile ...Jet Compact Utility ...and when all else fails, rather than the normal import to a new mdb, I try this first: http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2.mdb' ...its worked wonders for me. William ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, November 08, 2005 1:51 PM Subject: [AccessD] Best way to fix database > Is this the correct order of operations to fix a flaky mdb? I can't > remember > what order works best. > > decompile > compile > save > compact and repair > import to new container > > TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jim.Hale at FleetPride.com Tue Nov 8 14:24:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 14:24:39 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Thanks, but the link gives an error? Jim Hale -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 08, 2005 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Jim My routine for a "flaky" mdb: ...backup ...save ...compile ...Access compact&repair ...decompile ...Jet Compact Utility ...and when all else fails, rather than the normal import to a new mdb, I try this first: http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. mdb' ...its worked wonders for me. William ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, November 08, 2005 1:51 PM Subject: [AccessD] Best way to fix database > Is this the correct order of operations to fix a flaky mdb? I can't > remember > what order works best. > > decompile > compile > save > compact and repair > import to new container > > TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Tue Nov 8 14:35:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 8 Nov 2005 14:35:55 -0600 Subject: [AccessD] Best way to fix database In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Message-ID: Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember > > what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From wdhindman at bellsouth.net Tue Nov 8 14:55:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 15:55:10 -0500 Subject: [AccessD] Best way to fix database References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Message-ID: <013301c5e4a6$b560a100$6101a8c0@JISREGISTRATION.local> ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember >> what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From alan.lawhon at us.army.mil Tue Nov 8 14:57:51 2005 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Tue, 8 Nov 2005 14:57:51 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Message-ID: <5D5043687CFCE44288407A73E4CC6E17013EF39E@redstone819.ad.redstone.army.mil> Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon From cfoust at infostatsystems.com Tue Nov 8 15:03:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 13:03:59 -0800 Subject: [AccessD] Best way to fix database Message-ID: I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 8 15:06:21 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 13:06:21 -0800 Subject: [AccessD] Best way to fix database Message-ID: No, it didn't wrap, and I was able to just go to the site and locate the download, which appears to have exactly the URL you posted. Go figger! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 08, 2005 12:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> ********************************************************************* >> ** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 8 15:10:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 15:10:14 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD827@corp-es01.fleetpride.com> This way worked, thanks Jim -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 08, 2005 2:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember >> what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From hkotsch at arcor.de Tue Nov 8 15:12:40 2005 From: hkotsch at arcor.de (Helmut Kotsch) Date: Tue, 8 Nov 2005 22:12:40 +0100 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: I got the same error. making sure that the trailing (') is after .mdb fixed the problem. http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. mdb' Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Charlotte Foust Gesendet: Dienstag, 8. November 2005 22:04 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Nov 8 15:24:26 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 16:24:26 -0500 Subject: [AccessD] Best way to fix database Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999CF2@xlivmbx21.aig.com> If you click the link on Bill's email it may go to this url [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 .mdb] (square brackets used to delineate the whole url). The problem with this is that the parameter value is missing the ending single quote. Good old Outlook has trouble with urls I suppose. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 08, 2005 4:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 8 16:22:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 8 Nov 2005 17:22:24 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <5D5043687CFCE44288407A73E4CC6E17013EF39E@redstone819.ad.redstone.army.mil> Message-ID: <000501c5e4b2$e571cfc0$667aa8c0@ColbyM6805> And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 8 20:34:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 8 Nov 2005 18:34:16 -0800 (PST) Subject: [AccessD] Access data to Excel Chart Message-ID: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From wdhindman at bellsouth.net Tue Nov 8 21:24:51 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 22:24:51 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> Message-ID: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> ...need some ideas here ...or if someone knows of something already. ...Access 2003 runtime compatible. ...I need to display on a single Access form ...a grid of as many as 2000 rectangles. ...the rectangles would represent booths in a trade show floor plan ...each distinctly numbered and each clickable to call detail data ...and each individually colored to reflect status. ...did I mention that I'd like to be able to zoom and pan the grid? ...I've tried a number of activex products like metadraw ...but all require compromises I don't want to make. ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram workstations? ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my head hurts from too much pounding against the wall :) ...still no electric as a result of Wilma ...working on a laptop sucks bigtime ...but it is work. William From paul.hartland at isharp.co.uk Wed Nov 9 01:58:45 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 07:58:45 -0000 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: I wouldn't have thought Access would be ny good for this sort of thing, have you had a look at smartdraw http://www.smartdraw.com/specials/ukfloorplans.asp?id=12707 But if someone knows how to create plans, on which you can zoom and pan in Access, please let me know. I would be very interested in this, as I have an idea for a piece of software to create designs for software. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 03:25 To: Access Developers discussion and problem solving Subject: [AccessD] Floor Plan Grid ...need some ideas here ...or if someone knows of something already. ...Access 2003 runtime compatible. ...I need to display on a single Access form ...a grid of as many as 2000 rectangles. ...the rectangles would represent booths in a trade show floor plan ...each distinctly numbered and each clickable to call detail data ...and each individually colored to reflect status. ...did I mention that I'd like to be able to zoom and pan the grid? ...I've tried a number of activex products like metadraw ...but all require compromises I don't want to make. ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram workstations? ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my head hurts from too much pounding against the wall :) ...still no electric as a result of Wilma ...working on a laptop sucks bigtime ...but it is work. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Nov 9 02:00:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 08:00:06 -0000 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> Message-ID: The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Nov 9 02:25:30 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 08:25:30 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F18999CF2@xlivmbx21.aig.com> Message-ID: EATBloatV2 is a program that I wrote (last year I think - maybe before). If you want me to email you a copy, let me know off-line. Regards Max accessd at sherman.org.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: 08 November 2005 21:24 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Best way to fix database If you click the link on Bill's email it may go to this url [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 .mdb] (square brackets used to delineate the whole url). The problem with this is that the parameter value is missing the ending single quote. Good old Outlook has trouble with urls I suppose. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 08, 2005 4:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 9 02:37:00 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 11:37:00 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> William, I think that with VSFlexGrid Pro by ComponentOne - http://www.componentsource.com/catalog.asp?SC=CS&PO=504721&option=15435&bhcp=1 you can do(simulate) all the tricks you need using simple VBA coding. HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 6:24 AM Subject: [AccessD] Floor Plan Grid > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Nov 9 05:32:29 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 03:32:29 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: Message-ID: <20051109113229.66580.qmail@web33113.mail.mud.yahoo.com> I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From paul.hartland at isharp.co.uk Wed Nov 9 05:53:38 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 11:53:38 -0000 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <20051109113229.66580.qmail@web33113.mail.mud.yahoo.com> Message-ID: In that case unfortunately I am stuck for another idea, I have never had a problem with Excel being open in the background after using Close, Quit, and setting both the workbook object and excel object to nothing.....Only other thing is to have a look at your code if you didn't mind....can send it to paul.hartland at orridge.co.uk if you want, I can have a quick look at it, but quite busy today. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dba.email at gmail.com Wed Nov 9 05:58:51 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 9 Nov 2005 06:58:51 -0500 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <5f2de2420511090358tde32f40v88c35f0402890445@mail.gmail.com> William, Unfortunately I'm working on a similar problem, but from the other end of the spectrum. It seems that you would like to view interactive graphics from Access, however I took another approach. For my situation, I'm choosing to utilize the graphics capabilities of AutoCAD, then couple that with AutoCAD's database connectivity feature to get the updated data for any one particular graphic. My project is similar in that I am working with an office layout and the data relates to all the personnel and IT hardware and software information. Although I do not need this functionality at the moment, an educated assumption would be that, from Access, one could automate AutoCAD to produce a current "snapshot" as a ".DWF" (for lack of a better description it is their light-weight web format) on-the-fly, then view that image in an embedded browser control. Using their ".DWF" format, you are able to pan, zoom, turn layers on/off, etc. right from the browser. Mark On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Wed Nov 9 06:43:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 04:43:00 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: Message-ID: <20051109124300.73670.qmail@web33112.mail.mud.yahoo.com> Ok. I clean it up and send it. "Paul Hartland (ISHARP)" wrote:In that case unfortunately I am stuck for another idea, I have never had a problem with Excel being open in the background after using Close, Quit, and setting both the workbook object and excel object to nothing.....Only other thing is to have a look at your code if you didn't mind....can send it to paul.hartland at orridge.co.uk if you want, I can have a quick look at it, but quite busy today. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Gustav at cactus.dk Wed Nov 9 06:58:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 13:58:12 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all Just noticed that FreeBASIC has a command line option for processor type. Set to 686 it adds 10% speed for this test compared to the default setting of 486: ArrayTimeDLL: 2.0 seconds (FreeBASIC dll measured with 10^7 loops) Still C++ dll is at least 10 times faster ... /gustav >>> Gustav at cactus.dk 01-11-2005 11:19 >>> To summarize, this means that the result table for 10^6 loops now is (with converted time for PowerBasic from Stuart): ArrayTimeLocal: 34 seconds ArrayTimeDLL: 3.4 seconds (PowerBasic dll measured with 10^7 loops) ArrayTimeDLL: 2.2 seconds (FreeBASIC dll measured with 10^7 loops) IArrayTimeLocal_ArrayTimeLocal: 0.2 seconds (measured with 10^8 loops) Or to express it as speed improvement compared to VBA: VBA: 1:1 PowerBasic dll: 10:1 FreeBASIC dll: 15.5:1 C++ dll: 170:1 and compared to the FreeBASIC dll: C++ dll: 11:1 From erbachs at gmail.com Wed Nov 9 07:26:24 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 07:26:24 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090526r77df26afk4f72f2445ff6ce4d@mail.gmail.com> William, Back a few years ago I posted a question about placing colored boxes on an Access form. I was futzing with Stephen Wolfram's book at the time. I believe it was you who mentioned the graphic routines of Stephan Lebans. I downloaded his stuff and successfully created one of Wolfram's automaton generators in a 22" x 22" form...which I subsequently made available for download for my pals on AccessD who had helped me create it. What I'm driving at is a way to display the colored grid using Lebans' routines. 2000 rectangles is only a 40x50 grid. My Wolfram automaton generator creates over 800,000 colored rectangles in just over 3 seconds on a 2.1 GHz AMD 64. I don't know about the clickability of the generated rectangles, but methinks one could at least place a co-ordinate system around the grid, sort of like the labels on spreadsheet columns and rows, and, perhaps, click on a column indicator and then a row indicator to pinpoint a square. Since the Lebans routines are so fast, you might be able to "highlight" the entire column of grid squares at once based on the column button or indicator you click...similarly for the row indicator. That would give the user a cross-hair-like thingie for finding a particular grid square. Yeah, I know it's two clicks instead of one. Whaddaya want fer nothin'? Steve Erbach Neenah, WI On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 07:43:53 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 08:43:53 -0500 Subject: [AccessD] Floor Plan Grid References: Message-ID: <001401c5e533$9ffa4900$6101a8c0@JISREGISTRATION.local> ...thanks Paul ...but smartdraw lets you draw floor plans but not tie a database to them ...visio is a much better tool if I wanted to go outside of access for an answer. William ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 2:58 AM Subject: Re: [AccessD] Floor Plan Grid >I wouldn't have thought Access would be ny good for this sort of thing, >have > you had a look at smartdraw > > http://www.smartdraw.com/specials/ukfloorplans.asp?id=12707 > > But if someone knows how to create plans, on which you can zoom and pan in > Access, please let me know. I would be very interested in this, as I have > an > idea for a piece of software to create designs for software. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 03:25 > To: Access Developers discussion and problem solving > Subject: [AccessD] Floor Plan Grid > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered and each clickable to call detail data ...and each > individually colored to reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 07:47:08 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 08:47:08 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <001801c5e534$141e0920$6101a8c0@JISREGISTRATION.local> ...hey Max! ...didn't know you were here ...what a great little program ...it works just as advertised plus does wonders for some corrupted mdbs :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 3:25 AM Subject: Re: [AccessD] Best way to fix database > EATBloatV2 is a program that I wrote (last year I think - maybe before). > If > you want me to email you a copy, let me know off-line. > > Regards > Max > accessd at sherman.org.uk > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: 08 November 2005 21:24 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Best way to fix database > > If you click the link on Bill's email it may go to this url > > [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 > .mdb] (square brackets used to delineate the whole url). > > The problem with this is that the parameter value is missing the ending > single quote. Good old Outlook has trouble with urls I suppose. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, November 08, 2005 4:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > I got an error too, and the link wasn't wrapped. It got to Roger's site > but > the message was this: > > ADODB.Recordset error '800a0bb9' > > Arguments are of the wrong type, are out of acceptable range, or are in > conflict with one another. > > /Otherdownload.asp, line 32 > > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 08, 2005 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Hi Jim, That link worked for me OK. Did it wrap on your system due to > it's > length perhaps?? > > GK > > On 11/8/05, Hale, Jim wrote: >> Thanks, but the link gives an error? >> Jim Hale >> >> -----Original Message----- >> From: William Hindman [mailto:wdhindman at bellsouth.net] >> Sent: Tuesday, November 08, 2005 2:28 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Best way to fix database >> >> >> Jim >> >> My routine for a "flaky" mdb: >> ...backup >> ...save >> ...compile >> ...Access compact&repair >> ...decompile >> ...Jet Compact Utility >> ...and when all else fails, rather than the normal import to a new >> mdb, I try this first: >> http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl >> oatV2. >> mdb' >> ...its worked wonders for me. >> >> William >> >> ----- Original Message ----- >> From: "Hale, Jim" >> To: "'Accessd (E-mail)" >> Sent: Tuesday, November 08, 2005 1:51 PM >> Subject: [AccessD] Best way to fix database >> >> >> > Is this the correct order of operations to fix a flaky mdb? I can't >> > remember what order works best. >> > >> > decompile >> > compile >> > save >> > compact and repair >> > import to new container >> > >> > TIA >> > Jim Hale >> > >> > ******************************************************************** >> > *** >> > The information transmitted is intended solely for the individual or >> > entity to which it is addressed and may contain confidential and/or >> > privileged material. Any review, retransmission, dissemination or >> > other use of or taking action in reliance upon this information by >> > persons or entities other than the intended recipient is prohibited. >> > If you have received this email in error please contact the sender > and >> > delete the material from any computer. As a recipient of this email, >> > you are responsible for screening its contents and the contents of > any >> > attachments for the presence of viruses. No liability is accepted > for >> > any damages caused by any virus transmitted by this email. >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> ********************************************************************** >> * >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Wed Nov 9 07:49:47 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 13:49:47 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <001801c5e534$141e0920$6101a8c0@JISREGISTRATION.local> Message-ID: Thanks William, Well, I lurk a lot and pick up some really great tips from the other contributors. Glad you like the program. I still use it and it has saved my neck a few times. Regards Max accessd at sherman.org.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 13:47 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...hey Max! ...didn't know you were here ...what a great little program ...it works just as advertised plus does wonders for some corrupted mdbs :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 3:25 AM Subject: Re: [AccessD] Best way to fix database > EATBloatV2 is a program that I wrote (last year I think - maybe before). > If > you want me to email you a copy, let me know off-line. > > Regards > Max > accessd at sherman.org.uk > From erbachs at gmail.com Wed Nov 9 07:56:31 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 07:56:31 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> William, Another thought: is this something that might be more appropriate in a Data Access Page or as an embedded spreadsheet grid? Steve Erbach Neenah, WI On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > From wdhindman at bellsouth.net Wed Nov 9 08:24:59 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 09:24:59 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> Message-ID: <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> ...hhmmm ...an embedded spreadsheet grid? ...that would mean I'd have to learn Excel :( ...plus ...these are runtime installs without Office being a given. ...but ...when all else seems lost, maybe :) William ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 8:56 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > Another thought: is this something that might be more appropriate in a > Data > Access Page or as an embedded spreadsheet grid? > > Steve Erbach > Neenah, WI > > On 11/8/05, William Hindman wrote: >> >> ...need some ideas here ...or if someone knows of something already. >> >> ...Access 2003 runtime compatible. >> >> ...I need to display on a single Access form ...a grid of as many as 2000 >> rectangles. >> >> ...the rectangles would represent booths in a trade show floor plan >> ...each >> distinctly numbered >> and each clickable to call detail data ...and each individually colored >> to >> reflect status. >> >> ...did I mention that I'd like to be able to zoom and pan the grid? >> >> ...I've tried a number of activex products like metadraw ...but all >> require >> compromises I >> don't want to make. >> >> ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram >> workstations? >> >> ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my >> head hurts from too much >> pounding against the wall :) >> >> ...still no electric as a result of Wilma ...working on a laptop sucks >> bigtime ...but it is work. >> >> William >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Nov 9 08:20:19 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 08:20:19 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <29659131.1131488946916.JavaMail.root@sniper19> Message-ID: <000001c5e538$b74f1630$0200a8c0@danwaters> John - what is the problem with 2005 Express? Is there a discussion of this you could point to, or has this been your experience? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 08, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 08:23:29 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 15:23:29 +0100 Subject: [AccessD] Best way to fix database Message-ID: Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. From max at sherman.org.uk Wed Nov 9 08:28:17 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:28:17 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 9 08:36:46 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 15:36:46 +0100 Subject: [AccessD] Best way to fix database Message-ID: Hi Max A3000? I used A2003 but it claims that to be something else ... /gustav >>> max at sherman.org.uk 09-11-2005 15:28 >>> Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. From jwcolby at ColbyConsulting.com Wed Nov 9 08:40:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 9 Nov 2005 09:40:47 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: <001401c5e53b$93325e30$667aa8c0@ColbyM6805> There is nothing wrong with it as long as you are using ONLY 2005 stuff. IIS gets totally confused when you have more than one version of the framework installed. I was trying to get DotNetNuke (which uses v1.1 of the framework) to run locally on my machine and spent about 10 hours cleaning my machine to get rid of 2005 stuff (v2.0 of the framework). There are tons of postings of similar experiences out there. Again, if you just want to uninstall the old, and install the new, then you will probably not have any problems. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 09, 2005 9:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition John - what is the problem with 2005 Express? Is there a discussion of this you could point to, or has this been your experience? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 08, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 08:51:36 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 09:51:36 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <008601c5e53d$1550cdb0$6101a8c0@JISREGISTRATION.local> Max ...I get the same thing on your original version even though I'm running A2K3 (11) on an otherwise clean system. William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:28 AM Subject: Re: [AccessD] Best way to fix database > Hi Gustav, > Yes it was written for A3K > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 09 November 2005 14:23 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Best way to fix database > > Hi Max > > Had a brief look with A2003 .. though it ignores that: > > You are running Access Version:- > 2000/2002? - (DAO: 4.0) > This program was designed for A03: V11.0 > > /gustav > >>>> max at sherman.org.uk 09-11-2005 14:49 >>> > Glad you like the program. I still use it and it has saved my neck a few > times. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darsant at gmail.com Wed Nov 9 08:48:49 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 9 Nov 2005 08:48:49 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> References: <29659131.1131488946916.JavaMail.root@sniper19> <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: <53c8e05a0511090648n6ddce3abpd1da2f21e915693b@mail.gmail.com> On 11/9/05, Dan Waters wrote: > John - what is the problem with 2005 Express? Is there a discussion of this > you could point to, or has this been your experience? > > Thanks, > Dan Waters Microsoft Visual Studio Beta products were not designed to be "side-by-side" installations. If you installed them with other previous products it would corrupt one of the installations. Supposedly this was for the beta builds only, but it wouldn't surprise me if there was a bug and some of the incompatibility seeped into Express Release. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From erbachs at gmail.com Wed Nov 9 08:55:29 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 08:55:29 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090655h759e89b8r7f18ae2f3e732240@mail.gmail.com> William, Don't get me wrong, I ain't no authority on embedded spreadsheets. But your requirements are outlandish. My REAL first thought was to try doing it with ASP or ASP.NET . VBScript or VB.NET code to display a table grid by reading the current status of each "cell" from a SQL Server table or view. Each cell can be individually colored based on the status; and each cell can contain, say, an anchor that displays the grid co-ordinates. The anchor could fire a server-side routine to display another window to allow the status of that cell to be changed. The zooming could, I believe, be handled with JavaScript. The panning by scroll bars. How fast would a 40x50 grid (or whatever makes 2000 cells) render? Good question. I'm just beginning to think more along the lines of browser-based solutions than standard Access approaches. Steve Erbach On 11/9/05, William Hindman wrote: > > ...hhmmm ...an embedded spreadsheet grid? > > ...that would mean I'd have to learn Excel :( > > ...plus ...these are runtime installs without Office being a given. > > ...but ...when all else seems lost, maybe :) > > William > > ----- Original Message ----- > From: "Steve Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 8:56 AM > Subject: Re: [AccessD] Floor Plan Grid > > > > William, > > > > Another thought: is this something that might be more appropriate in a > > Data > > Access Page or as an embedded spreadsheet grid? > > > > Steve Erbach > > Neenah, WI > From max at sherman.org.uk Wed Nov 9 08:59:27 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:59:27 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: Hi Gustav, It is probably something to do with the way Access tries to recognize what version you are using. It won't (shouldn't) affect its operation. Make a backup and then try it out. Also, once it has exported all your objects, you can then view them on disk and see exactly how much space they are taking up - this visibility is not available (afaik) within Access itself. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:37 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max A3000? I used A2003 but it claims that to be something else ... /gustav >>> max at sherman.org.uk 09-11-2005 15:28 >>> Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Nov 9 08:59:27 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:59:27 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <008601c5e53d$1550cdb0$6101a8c0@JISREGISTRATION.local> Message-ID: Hi William, It is probably something to do with the way Access tries to recognize what version you are using. It won't (shouldn't) affect its operation. Make a backup and then try it out. Also, once it has exported all your objects, you can then view them on disk and see exactly how much space they are taking up - this visibility is not available (afaik) within Access itself. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 14:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Max ...I get the same thing on your original version even though I'm running A2K3 (11) on an otherwise clean system. William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:28 AM Subject: Re: [AccessD] Best way to fix database > Hi Gustav, > Yes it was written for A3K > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 09 November 2005 14:23 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Best way to fix database > > Hi Max > > Had a brief look with A2003 .. though it ignores that: > > You are running Access Version:- > 2000/2002? - (DAO: 4.0) > This program was designed for A03: V11.0 > > /gustav > >>>> max at sherman.org.uk 09-11-2005 14:49 >>> > Glad you like the program. I still use it and it has saved my neck a few > times. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 09:15:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 10:15:45 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com><004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> <39cb22f30511090655h759e89b8r7f18ae2f3e732240@mail.gmail.com> Message-ID: <00bb01c5e540$75777d80$6101a8c0@JISREGISTRATION.local> ...not a bad idea Steve since I can stick a browser control in an Access form :) ...and hey, outlandish requests are the meat that the gurus here feed on, eh. William ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 9:55 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > Don't get me wrong, I ain't no authority on embedded spreadsheets. But > your > requirements are outlandish. My REAL first thought was to try doing it > with > ASP or ASP.NET . VBScript or VB.NET code > to > display a table grid by reading the current status of each "cell" from a > SQL > Server table or view. Each cell can be individually colored based on the > status; and each cell can contain, say, an anchor that displays the grid > co-ordinates. The anchor could fire a server-side routine to display > another > window to allow the status of that cell to be changed. > > The zooming could, I believe, be handled with JavaScript. The panning by > scroll bars. > > How fast would a 40x50 grid (or whatever makes 2000 cells) render? Good > question. I'm just beginning to think more along the lines of > browser-based > solutions than standard Access approaches. > > Steve Erbach > > On 11/9/05, William Hindman wrote: >> >> ...hhmmm ...an embedded spreadsheet grid? >> >> ...that would mean I'd have to learn Excel :( >> >> ...plus ...these are runtime installs without Office being a given. >> >> ...but ...when all else seems lost, maybe :) >> >> William >> >> ----- Original Message ----- >> From: "Steve Erbach" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 09, 2005 8:56 AM >> Subject: Re: [AccessD] Floor Plan Grid >> >> >> > William, >> > >> > Another thought: is this something that might be more appropriate in a >> > Data >> > Access Page or as an embedded spreadsheet grid? >> > >> > Steve Erbach >> > Neenah, WI >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 09:20:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 10:20:38 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> Message-ID: <00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> ...yes and no Shamil ...no pan and zoom and no way to make the grid transparent so that I can see a facility plan behnd the booths ...did I forget to mention that? ...and when I install it in Access many of its properties/methods are not exposed ...its written to the MS ActiveX standard and thus doesn't fully interface with Access :( William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 3:37 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > I think that with > > VSFlexGrid Pro by ComponentOne - > http://www.componentsource.com/catalog.asp?SC=CS&PO=504721&option=15435&bhcp=1 > > you can do(simulate) all the tricks you need using simple VBA coding. > > HTH, > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 6:24 AM > Subject: [AccessD] Floor Plan Grid > > >> ...need some ideas here ...or if someone knows of something already. >> >> ...Access 2003 runtime compatible. >> >> ...I need to display on a single Access form ...a grid of as many as 2000 >> rectangles. >> >> ...the rectangles would represent booths in a trade show floor plan > ...each >> distinctly numbered >> and each clickable to call detail data ...and each individually colored >> to >> reflect status. >> >> ...did I mention that I'd like to be able to zoom and pan the grid? >> >> ...I've tried a number of activex products like metadraw ...but all > require >> compromises I >> don't want to make. >> >> ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram >> workstations? >> >> ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my >> head hurts from too much >> pounding against the wall :) >> >> ...still no electric as a result of Wilma ...working on a laptop sucks >> bigtime ...but it is work. >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Nov 9 09:20:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 09:20:21 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <2517645.1131547963613.JavaMail.root@sniper18> Message-ID: <000001c5e541$19c78bf0$0200a8c0@danwaters> It sounds like if I wanted to use a released version 2005 Express BE to an Access FE, and a customer already has SQL Server 2000 full version, then the two applications should not conflict. Does this sound correct? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Wednesday, November 09, 2005 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition On 11/9/05, Dan Waters wrote: > John - what is the problem with 2005 Express? Is there a discussion of this > you could point to, or has this been your experience? > > Thanks, > Dan Waters Microsoft Visual Studio Beta products were not designed to be "side-by-side" installations. If you installed them with other previous products it would corrupt one of the installations. Supposedly this was for the beta builds only, but it wouldn't surprise me if there was a bug and some of the incompatibility seeped into Express Release. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 9 09:31:50 2005 From: john at winhaven.net (John Bartow) Date: Wed, 9 Nov 2005 09:31:50 -0600 Subject: [AccessD] Developer tools and Access 2003 Message-ID: <006b01c5e542$b4ac2530$6d01a8c0@ScuzzPaq> Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. From Jim.Hale at FleetPride.com Wed Nov 9 09:42:21 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 9 Nov 2005 09:42:21 -0600 Subject: [AccessD] Access data to Excel Chart Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82C@corp-es01.fleetpride.com> Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From shamil at users.mns.ru Wed Nov 9 09:52:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 18:52:16 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> <00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> Message-ID: <003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> <<< ...did I forget to mention that? >>> William, yes, you did. If no picture then all the other MENTIONED requirements can be satisfied with a few lines of code. But I'd make it this way: A static picture of a facility plan on the left of the form with static grid drawn on top of this picture. And on the left of the form ComponentOne Flexgrid simulating all the other requirements. You can even implement a "location pan", which you can drag over the static plan with dynamic simulation grid getting synchronized with the current position of this "location pan". Easy, relatively inexpensive, effective and user-friendly solution <<< > ...and when I install it in Access many of its properties/methods are not > exposed >>> I have just checked - all the properties are visible in MS Access 97 and 2003. Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 6:20 PM Subject: Re: [AccessD] Floor Plan Grid > ...yes and no Shamil ...no pan and zoom and no way to make the grid > transparent so that I can see a facility plan behnd the booths ...did I > forget to mention that? > > ...and when I install it in Access many of its properties/methods are not > exposed ...its written to the MS ActiveX standard and thus doesn't fully > interface with Access :( > > William > <<< tail trimmed>>> From wdhindman at bellsouth.net Wed Nov 9 10:07:50 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 11:07:50 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> <003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> Message-ID: <010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> ...ok ..I uninstalled and then reinstalled following the instructions this time ...it works, call me a dummy :) ...I'll have to play with it ...your idea of a "few lines of code" and mine probably differ by a mile :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 10:52 AM Subject: Re: [AccessD] Floor Plan Grid > <<< > ...did I forget to mention that? >>>> > William, yes, you did. If no picture then all the other MENTIONED > requirements can be satisfied with a few lines of code. > > But I'd make it this way: > > A static picture of a facility plan on the left of the form with static > grid > drawn on top of this picture. > And on the left of the form ComponentOne Flexgrid simulating all the other > requirements. > You can even implement a "location pan", which you can drag over the > static plan with dynamic simulation grid getting synchronized with the > current position of this "location pan". > > Easy, relatively inexpensive, effective and user-friendly solution > > <<< >> ...and when I install it in Access many of its properties/methods are not >> exposed >>>> > I have just checked - all the properties are visible in MS Access 97 and > 2003. > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 6:20 PM > Subject: Re: [AccessD] Floor Plan Grid > > >> ...yes and no Shamil ...no pan and zoom and no way to make the grid >> transparent so that I can see a facility plan behnd the booths ...did I >> forget to mention that? >> >> ...and when I install it in Access many of its properties/methods are not >> exposed ...its written to the MS ActiveX standard and thus doesn't fully >> interface with Access :( >> >> William >> > <<< tail trimmed>>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 10:13:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 11:13:20 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <010b01c5e548$806b0330$6101a8c0@JISREGISTRATION.local> ...I just revised the form/code to eliminate it since everything I do now is A2K3 ...since this is a developer tool that my users never see, I can live with that ...one of these days I might get around to looking at why your code produces different results than my own sysinfo form ...one of these days, eh :) ...in the meantime, its a very minor annoyance compared to the results your code produces :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:59 AM Subject: Re: [AccessD] Best way to fix database > Hi William, > It is probably something to do with the way Access tries to recognize what > version you are using. It won't (shouldn't) affect its operation. Make a > backup and then try it out. > Also, once it has exported all your objects, you can then view them on > disk > and see exactly how much space they are taking up - this visibility is not > available (afaik) within Access itself. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 14:52 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > Max > > ...I get the same thing on your original version even though I'm running > A2K3 (11) on an otherwise clean system. > > William > > ----- Original Message ----- > From: "Max Sherman" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 09, 2005 9:28 AM > Subject: Re: [AccessD] Best way to fix database > > >> Hi Gustav, >> Yes it was written for A3K >> >> Regards >> Max >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >> Sent: 09 November 2005 14:23 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Best way to fix database >> >> Hi Max >> >> Had a brief look with A2003 .. though it ignores that: >> >> You are running Access Version:- >> 2000/2002? - (DAO: 4.0) >> This program was designed for A03: V11.0 >> >> /gustav >> >>>>> max at sherman.org.uk 09-11-2005 14:49 >>> >> Glad you like the program. I still use it and it has saved my neck a few >> times. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Wed Nov 9 10:33:02 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 19:33:02 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> <010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> Message-ID: <002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> > ...I'll have to play with it ...your idea of a "few lines of code" and mine > probably differ by a mile :) William, a few lines of code are I guess <=200 code lines without "location pan" functionality. With "location pan" another 200-300 code lines should be enough I guess. And I think I was wrong with my proposal to put static picture with "location pan" on the left side of the form - it should be better placed on the right or bottom part of the form. And grid on the left-top part respectively. Another advanced solution could be to use LEADTools Imaging libraries http://www.leadtools.co.uk/ but it's a heavy solution - quite expensive and it forces to install almost hundred .dlls and support files on users PC. Such "heavy" LEADTools Imaging installation works well but to prepare and to test it is an advanced task.... HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 7:07 PM Subject: Re: [AccessD] Floor Plan Grid > ...ok ..I uninstalled and then reinstalled following the instructions this > time ...it works, call me a dummy :) > > ...I'll have to play with it ...your idea of a "few lines of code" and mine > probably differ by a mile :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 10:52 AM > Subject: Re: [AccessD] Floor Plan Grid > <<< tail skipped >>> From prodevmg at yahoo.com Wed Nov 9 10:29:22 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 08:29:22 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82C@corp-es01.fleetpride.com> Message-ID: <20051109162922.40857.qmail@web33113.mail.mud.yahoo.com> Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From cfoust at infostatsystems.com Wed Nov 9 10:39:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 9 Nov 2005 08:39:42 -0800 Subject: [AccessD] Developer tools and Access 2003 Message-ID: I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 9 10:41:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 09 Nov 2005 08:41:41 -0800 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition References: <000001c5e541$19c78bf0$0200a8c0@danwaters> Message-ID: <437226C5.20101@shaw.ca> You have to watch out for a few problems because of the replacement of SQL-DMO by SMO which may cause a conflict Download SQL Server Management Studio Express instead of old Express Manager if you are using latest version of Express CTP http://msdn.microsoft.com/vstudio/express/sql/default.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx FAQ: Installing SQL Express side by side with SQL 2000 Enterprise Manager seems to break it, Because of changes in the SQL Server 2005 metadata we have updated SQLDMO, the new version is SQLDMO9, it should work with SQL Server 7/2000 and 2005. For backwards compatibility it is installed by SQL Express so that existing DMO apps should just work. Due to the way that SQLDMO is versioned, only one version can exist on a machine at one time, so when Express is installed the SQLDMO9 version is the one that is registered http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx SMO Replaces SQL-DMO http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=40993&DisplayTab=Article Dan Waters wrote: >It sounds like if I wanted to use a released version 2005 Express BE to an >Access FE, and a customer already has SQL Server 2000 full version, then the >two applications should not conflict. Does this sound correct? > >Thanks, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane >Sent: Wednesday, November 09, 2005 8:49 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition > >On 11/9/05, Dan Waters wrote: > > >>John - what is the problem with 2005 Express? Is there a discussion of >> >> >this > > >>you could point to, or has this been your experience? >> >>Thanks, >>Dan Waters >> >> > >Microsoft Visual Studio Beta products were not designed to be >"side-by-side" installations. If you installed them with other >previous products it would corrupt one of the installations. >Supposedly this was for the beta builds only, but it wouldn't surprise >me if there was a bug and some of the incompatibility seeped into >Express Release. > >-- >Josh McFarlane >"Peace cannot be kept by force. It can only be achieved by understanding." >-Albert Einstein > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Wed Nov 9 11:04:17 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 11:04:17 -0600 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <25859890.1131554129616.JavaMail.root@sniper22> Message-ID: <000401c5e54f$9f42a810$0200a8c0@danwaters> Lonnie, I haven't read this thread till now so if my suggestion has been covered already . . . Have you considered or tried using MS Graph? I've used this with success. It has the same (I believe) functionality for regular charts that Excel has. If it works out then you can stay in Access. Note: You'll need to set a reference to MS Graph if you want to use it, which I'm pretty sure will be on your client's PCs. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 9 11:04:17 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 11:04:17 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <22941650.1131554845174.JavaMail.root@sniper23> Message-ID: <000501c5e54f$9f82e560$0200a8c0@danwaters> Thanks Marty! I'll keep this as a reference. :-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, November 09, 2005 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition You have to watch out for a few problems because of the replacement of SQL-DMO by SMO which may cause a conflict Download SQL Server Management Studio Express instead of old Express Manager if you are using latest version of Express CTP http://msdn.microsoft.com/vstudio/express/sql/default.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx FAQ: Installing SQL Express side by side with SQL 2000 Enterprise Manager seems to break it, Because of changes in the SQL Server 2005 metadata we have updated SQLDMO, the new version is SQLDMO9, it should work with SQL Server 7/2000 and 2005. For backwards compatibility it is installed by SQL Express so that existing DMO apps should just work. Due to the way that SQLDMO is versioned, only one version can exist on a machine at one time, so when Express is installed the SQLDMO9 version is the one that is registered http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx SMO Replaces SQL-DMO http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=40993&DisplayTab=Ar ticle Dan Waters wrote: >It sounds like if I wanted to use a released version 2005 Express BE to an >Access FE, and a customer already has SQL Server 2000 full version, then the >two applications should not conflict. Does this sound correct? > >Thanks, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane >Sent: Wednesday, November 09, 2005 8:49 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition > >On 11/9/05, Dan Waters wrote: > > >>John - what is the problem with 2005 Express? Is there a discussion of >> >> >this > > >>you could point to, or has this been your experience? >> >>Thanks, >>Dan Waters >> >> > >Microsoft Visual Studio Beta products were not designed to be >"side-by-side" installations. If you installed them with other >previous products it would corrupt one of the installations. >Supposedly this was for the beta builds only, but it wouldn't surprise >me if there was a bug and some of the incompatibility seeped into >Express Release. > >-- >Josh McFarlane >"Peace cannot be kept by force. It can only be achieved by understanding." >-Albert Einstein > > -- 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 wdhindman at bellsouth.net Wed Nov 9 11:22:44 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 12:22:44 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru><010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> <002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> Message-ID: <000301c5e552$32793390$6101a8c0@JISREGISTRATION.local> Shamil ...any sources for examples of coding this control using Access ...all of the samples and documentation are for VB6 or C, neither of which I can access ...don't see anything on their web site either. ...as for your "few" lines adding up to maybe 400 ...we use different dictionaries :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 11:33 AM Subject: Re: [AccessD] Floor Plan Grid >> ...I'll have to play with it ...your idea of a "few lines of code" and > mine >> probably differ by a mile :) > William, a few lines of code are I guess <=200 code lines without > "location > pan" functionality. > With "location pan" another 200-300 code lines should be enough I guess. > > And I think I was wrong with my proposal to put static picture with > "location pan" on the left side of the form - it should be better placed > on > the right or bottom part of the form. And grid on the left-top part > respectively. > > Another advanced solution could be to use LEADTools Imaging libraries > http://www.leadtools.co.uk/ > but it's a heavy solution - quite expensive and it forces to install > almost hundred .dlls and support files on users PC. Such "heavy" > LEADTools Imaging installation works well but to prepare > and to test it is an advanced task.... > > HTH, > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 7:07 PM > Subject: Re: [AccessD] Floor Plan Grid > > >> ...ok ..I uninstalled and then reinstalled following the instructions >> this >> time ...it works, call me a dummy :) >> >> ...I'll have to play with it ...your idea of a "few lines of code" and > mine >> probably differ by a mile :) >> >> William >> >> ----- Original Message ----- >> From: "Shamil Salakhetdinov" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 09, 2005 10:52 AM >> Subject: Re: [AccessD] Floor Plan Grid >> > > <<< tail skipped >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Wed Nov 9 11:46:34 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 10 Nov 2005 06:46:34 +1300 Subject: [AccessD] Fit to Page Reports Message-ID: <6.2.3.4.0.20051110064408.030f4b80@mail.dalyn.co.nz> Is it possible for Access 97 reports (or later version) to be printed so that they fit on one page without physically changing the design of the report (for example if a report normally runs to 2 pages it can be condensed to 1 - similar to Excel's option). Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua 6006 Phone (04) 235-6782 Fax (04) 235-6783 Mob (027) 280-9348 From shamil at users.mns.ru Wed Nov 9 11:55:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 20:55:57 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru><010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local><002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> <000301c5e552$32793390$6101a8c0@JISREGISTRATION.local> Message-ID: <000901c5e556$fd2fe5d0$6401a8c0@fincomplex.spb.ru> William, I don't have MS Access samples. You can open VB6 code sample files' text and copy and paste it in MS Access modules. It will work OK. Also their online help is good and has good samples AFAIKR. You'll need for starters the following properties: Cell ColHidden Cols ColWidth FixedCols FixedRows flexcpBackColor flexcpText RowHeight RowHidden Rows ScrollBars > ...as for your "few" lines adding up to maybe 400 ...we use different > dictionaries :) OK:) I meant 400 lines including blank lines and functions/subs/properties declarations. Looks like a few, isn't it? I have a ~30,000 code lines project here now - this I'd call a small project (in fact four projects having these 30,000 codes lines shared + another ~5000-6000 each project specific code lines). FYI: I will have some free time soon. I can make this your small project on subcontracting basis if you decide to use VSFlexGrid and if your customer pays for this work. For sure I will make available a small sample simulating zooming and shifting and coloring and numbering the visible part of the grid's cells. I think this weekend the latest. Although I can't promise a lot - I need for work to make my family's living... HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 8:22 PM Subject: Re: [AccessD] Floor Plan Grid > Shamil > > ...any sources for examples of coding this control using Access ...all of > the samples and documentation are for VB6 or C, neither of which I can > access ...don't see anything on their web site either. > > ...as for your "few" lines adding up to maybe 400 ...we use different > dictionaries :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 11:33 AM > Subject: Re: [AccessD] Floor Plan Grid > > > >> ...I'll have to play with it ...your idea of a "few lines of code" and > > mine > >> probably differ by a mile :) > > William, a few lines of code are I guess <=200 code lines without > > "location > > pan" functionality. > > With "location pan" another 200-300 code lines should be enough I guess. > > > > And I think I was wrong with my proposal to put static picture with > > "location pan" on the left side of the form - it should be better placed > > on > > the right or bottom part of the form. And grid on the left-top part > > respectively. > > > > Another advanced solution could be to use LEADTools Imaging libraries > > http://www.leadtools.co.uk/ > > but it's a heavy solution - quite expensive and it forces to install > > almost hundred .dlls and support files on users PC. Such "heavy" > > LEADTools Imaging installation works well but to prepare > > and to test it is an advanced task.... > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 09, 2005 7:07 PM > > Subject: Re: [AccessD] Floor Plan Grid > > > > > >> ...ok ..I uninstalled and then reinstalled following the instructions > >> this > >> time ...it works, call me a dummy :) > >> > >> ...I'll have to play with it ...your idea of a "few lines of code" and > > mine > >> probably differ by a mile :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: "Shamil Salakhetdinov" > >> To: "Access Developers discussion and problem solving" > >> > >> Sent: Wednesday, November 09, 2005 10:52 AM > >> Subject: Re: [AccessD] Floor Plan Grid > >> > > > > <<< tail skipped >>> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Wed Nov 9 11:56:23 2005 From: dmcafee at pacbell.net (David McAfee) Date: Wed, 9 Nov 2005 09:56:23 -0800 Subject: [AccessD] Developer tools and Access 2003 In-Reply-To: Message-ID: Charlotte, where do I look (or what do I have to install) to get access to CodeLibrarian in VS2003? I miss it. I used it very much with Office 2000 Developer, but my copy of 2003 isn't a developers edition. I do have VS2003 installed. David -----Original Message----- From: Charlotte Foust Sent: Wednesday, November 09, 2005 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. From cfoust at infostatsystems.com Wed Nov 9 12:14:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 9 Nov 2005 10:14:42 -0800 Subject: [AccessD] Developer tools and Access 2003 Message-ID: It's a standalone product you can start from the program menu. You'll have to use the 2000 CodeLibrarian if you don't have the XP version. I have an icon on my desktop so I can get to it quickly. Doesn't integrate the way it did in A2k. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, November 09, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 Charlotte, where do I look (or what do I have to install) to get access to CodeLibrarian in VS2003? I miss it. I used it very much with Office 2000 Developer, but my copy of 2003 isn't a developers edition. I do have VS2003 installed. David -----Original Message----- From: Charlotte Foust Sent: Wednesday, November 09, 2005 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 9 12:17:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 10:17:38 -0800 Subject: [AccessD] att Moderators Message-ID: <000e01c5e559$ddf750b0$0a01a8c0@desktop> I tried unsubscribing my second id access at joe2.endjunk.com but for some reason it did not take. Would you please unsubscribe that account for me. Thanks Joe From carbonnb at sympatico.ca Wed Nov 9 12:21:12 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 09 Nov 2005 13:21:12 -0500 Subject: [AccessD] att Moderators In-Reply-To: <000e01c5e559$ddf750b0$0a01a8c0@desktop> Message-ID: >From: "Joe Hecht" >I tried unsubscribing my second id access at joe2.endjunk.com but for some >reason it did not take. Would you please unsubscribe that account for me. Done. -- Bryan Carbonnell - carbonnb at sympatico.ca 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 jmhecht at earthlink.net Wed Nov 9 12:26:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 10:26:11 -0800 Subject: [AccessD] att Moderators In-Reply-To: Message-ID: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Thanks Bryan, That will reduce my duplicate e mails by half. Now I just need to figure out why this account gets 2 copies of a lot of the messages -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, November 09, 2005 10:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] att Moderators >From: "Joe Hecht" >I tried unsubscribing my second id access at joe2.endjunk.com but for some >reason it did not take. Would you please unsubscribe that account for me. Done. -- Bryan Carbonnell - carbonnb at sympatico.ca Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 9 12:46:33 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 09 Nov 2005 13:46:33 -0500 Subject: [AccessD] att Moderators In-Reply-To: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Message-ID: >From: "Joe Hecht" >Thanks Bryan, >That will reduce my duplicate e mails by half. Now I just need to figure >out >why this account gets 2 copies of a lot of the messages Joe, Forward me, as attachments, 3 sets of duplicates (ie 6 e-mails total) and I'll look at them tonight and see if I can see why you are getting duplicates. Send them to carbonnb at sympatico.ca. My feeling is that you have some sort of alias that forwards e-mail to that account as well as your subscription at that account. But that's just a guess. -- Bryan Carbonnell - carbonnb at sympatico.ca 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 max at sherman.org.uk Wed Nov 9 12:50:25 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 18:50:25 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <010b01c5e548$806b0330$6101a8c0@JISREGISTRATION.local> Message-ID: William, Any and all fixes from anybody are most welcome. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 16:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...I just revised the form/code to eliminate it since everything I do now is A2K3 ...since this is a developer tool that my users never see, I can live with that ...one of these days I might get around to looking at why your code produces different results than my own sysinfo form ...one of these days, eh :) ...in the meantime, its a very minor annoyance compared to the results your code produces :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:59 AM Subject: Re: [AccessD] Best way to fix database > Hi William, > It is probably something to do with the way Access tries to recognize what > version you are using. It won't (shouldn't) affect its operation. Make a > backup and then try it out. > Also, once it has exported all your objects, you can then view them on > disk > and see exactly how much space they are taking up - this visibility is not > available (afaik) within Access itself. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 14:52 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > Max > > ...I get the same thing on your original version even though I'm running > A2K3 (11) on an otherwise clean system. > > William > > ----- Original Message ----- > From: "Max Sherman" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 09, 2005 9:28 AM > Subject: Re: [AccessD] Best way to fix database > > >> Hi Gustav, >> Yes it was written for A3K >> >> Regards >> Max >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >> Sent: 09 November 2005 14:23 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Best way to fix database >> >> Hi Max >> >> Had a brief look with A2003 .. though it ignores that: >> >> You are running Access Version:- >> 2000/2002? - (DAO: 4.0) >> This program was designed for A03: V11.0 >> >> /gustav >> >>>>> max at sherman.org.uk 09-11-2005 14:49 >>> >> Glad you like the program. I still use it and it has saved my neck a few >> times. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Nov 9 13:15:27 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 9 Nov 2005 13:15:27 -0600 Subject: [AccessD] Access data to Excel Chart Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82F@corp-es01.fleetpride.com> Ok, then you need solution three. I do similar things where I create multiple budget books at a time selected from a menu. How much of the code do you have written? Is the real question how best to structure the process or is it how to write the code to create multiple workbooks from different recordsets or is it you have an Excel instance stuck in memory that is giving your code problems? Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kathryn at bassett.net Wed Nov 9 13:22:46 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 9 Nov 2005 11:22:46 -0800 Subject: [AccessD] att Moderators In-Reply-To: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Message-ID: <20051109112252.59D09394@dm18.mta.everyone.net> I don't get a *lot* of duplicates, but I have noticed that I frequently get two copies of (can't remember who) one person's emails. I've just put it down to some glitch on my end. If I notice who it is that I get the duplicates from, I'll send along. BTW, Joe, if you are getting dups of most of them, it may be a rule doing it. I can't remember since it's been awhile, but when I was first experimenting with rules, I had a couple that kinda ended up duplicating each other, resulting in two copies of each message ending up in the designated folder. Once I finally figured it out and deleted the extra rule that was only slightly different from another, I stopped getting two copies in the folder. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: 09 Nov 2005 10:26 am > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] att Moderators > > Thanks Bryan, > > That will reduce my duplicate e mails by half. Now I just > need to figure out why this account gets 2 copies of a lot of > the messages From andy at minstersystems.co.uk Wed Nov 9 13:32:20 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 9 Nov 2005 19:32:20 -0000 Subject: [AccessD] att Moderators In-Reply-To: <20051109112252.59D09394@dm18.mta.everyone.net> Message-ID: <000201c5e564$4d93cf70$57b50c54@minster33c3r25> Yep. Easy to do that with rules. Outlook allows you to set 'Stop processing further rules' (or similar) at the end of a rule, so that if a later rule would also act on that email this stops it. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kathryn Bassett > Sent: 09 November 2005 19:23 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] att Moderators > > > I don't get a *lot* of duplicates, but I have noticed that I > frequently get two copies of (can't remember who) one > person's emails. I've just put it down to some glitch on my > end. If I notice who it is that I get the duplicates from, > I'll send along. > > BTW, Joe, if you are getting dups of most of them, it may be > a rule doing it. I can't remember since it's been awhile, but > when I was first experimenting with rules, I had a couple > that kinda ended up duplicating each other, resulting in two > copies of each message ending up in the designated folder. > Once I finally figured it out and deleted the extra rule that > was only slightly different from another, I stopped getting > two copies in the folder. > > -- From dmcafee at pacbell.net Wed Nov 9 13:33:42 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 9 Nov 2005 11:33:42 -0800 (PST) Subject: [AccessD] att Moderators In-Reply-To: <20051109112252.59D09394@dm18.mta.everyone.net> Message-ID: <20051109193342.99506.qmail@web80803.mail.yahoo.com> A lot of times this is due to Outlook Rules. I get duplicates of messages that are cross posted to Access-D and Access-L (so I end up getting four messages). David --- Kathryn Bassett wrote: > I don't get a *lot* of duplicates, but I have > noticed that I frequently get two copies of (can't > remember who) one person's emails. I've just put it > down to some glitch on my end. If I notice who it is > that I get the duplicates from, I'll send along. > > BTW, Joe, if you are getting dups of most of them, > it may be a rule doing it. I can't remember since > it's been awhile, but when I was first experimenting > with rules, I had a couple that kinda ended up > duplicating each other, resulting in two copies of > each message ending up in the designated folder. > Once I finally figured it out and deleted the extra > rule that was only slightly different from another, > I stopped getting two copies in the folder. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Joe Hecht > > Sent: 09 Nov 2005 10:26 am > > To: 'Access Developers discussion and problem > solving' > > Subject: Re: [AccessD] att Moderators > > > > Thanks Bryan, > > > > That will reduce my duplicate e mails by half. Now > I just > > need to figure out why this account gets 2 copies > of a lot of > > the messages > > -- > 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 Nov 9 14:12:43 2005 From: mwp.reid at qub.ac.uk (Martin) Date: Wed, 9 Nov 2005 20:12:43 -0000 Subject: [AccessD] att Moderators Message-ID: <200511092012.jA9KChJ21714@databaseadvisors.com> Got 2 copies of this. Happens every day no rules set -----Original Message----- From: "David Mcafee" Sent: 09/11/05 19:33:42 To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] att Moderators A lot of times this is due to Outlook Rules. I get duplicates of messages that are cross posted to Access-D and Access-L (so I end up getting four messages). David --- Kathryn Bassett wrote: > I don't get a *lot* of duplicates, but I have > noticed that I frequently get two copies of (can't > remember who) one person's emails. I've just put it > down to some glitch on my end. If I notice who it is > that I get the duplicates from, I'll send along. > > BTW, Joe, if you are getting dups of most of them, > it may be a rule doing it. I can't remember since > it's been awhile, but when I was first experimenting > with rules, I had a couple that kinda ended up > duplicating each other, resulting in two copies of > each message ending up in the designated folder. > Once I finally figured it out and deleted the extra > rule that was only slightly different from another, > I stopped getting two copies in the folder. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Joe Hecht > > Sent: 09 Nov 2005 10:26 am > > To: 'Access Developers discussion and problem > solving' > > Subject: Re: [AccessD] att Moderators > > > > Thanks Bryan, > > > > That will reduce my duplicate e mails by half. Now > I just > > need to figure out why this account gets 2 copies > of a lot of > > the messages > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Wed Nov 9 14:20:57 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 9 Nov 2005 12:20:57 -0800 (PST) Subject: [AccessD] att Moderators In-Reply-To: <200511092012.jA9KChJ21714@databaseadvisors.com> Message-ID: <20051109202057.85321.qmail@web80806.mail.yahoo.com> I sent it twice, just to mess with you :) (kidding) --- Martin wrote: > Got 2 copies of this. Happens every day no rules set > > -----Original Message----- > From: "David Mcafee" > Sent: 09/11/05 19:33:42 > To: "Access Developers discussion and problem > solving" > Subject: Re: [AccessD] att Moderators > > A lot of times this is due to Outlook Rules. I > get > duplicates of messages that are cross posted to > Access-D and Access-L (so I end up getting four > messages). > > David > > --- Kathryn Bassett wrote: > > > I don't get a *lot* of duplicates, but I have > > noticed that I frequently get two copies of > (can't > > remember who) one person's emails. I've just > put it > > down to some glitch on my end. If I notice who > it is > > that I get the duplicates from, I'll send > along. > > > > BTW, Joe, if you are getting dups of most of > them, > > it may be a rule doing it. I can't remember > since > > it's been awhile, but when I was first > experimenting > > with rules, I had a couple that kinda ended up > > duplicating each other, resulting in two > copies of > > each message ending up in the designated > folder. > > Once I finally figured it out and deleted the > extra > > rule that was only slightly different from > another, > > I stopped getting two copies in the folder. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Joe Hecht > > > Sent: 09 Nov 2005 10:26 am > > > To: 'Access Developers discussion and > problem > > solving' > > > Subject: Re: [AccessD] att Moderators > > > > > > Thanks Bryan, > > > > > > That will reduce my duplicate e mails by > half. Now > > I just > > > need to figure out why this account gets 2 > copies > > of a lot of > > > the messages > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Nov 9 14:24:36 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 9 Nov 2005 15:24:36 -0500 Subject: [AccessD] att Moderators In-Reply-To: <200511092012.jA9KChJ21714@databaseadvisors.com> References: <200511092012.jA9KChJ21714@databaseadvisors.com> Message-ID: On 09/11/05, Martin wrote: > Got 2 copies of this. Happens every day no rules set Same offer to you Martin. Send 'em as attachments to carbonnb at sympatico.ca and I'll see if I can see anything unusual. Same goes for anyone experiencing the same thing. -- 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 mboyd at deloitte.com Wed Nov 9 15:12:43 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:12:43 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: I need to use conditional formatting on a continuous form. This would be easy, but I need to change the color of TextBox1 when CheckBox1 is clicked. The key here is to not change the color for every record on the form, just the selected one. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From stuart at lexacorp.com.pg Wed Nov 9 15:25:28 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 10 Nov 2005 07:25:28 +1000 Subject: [AccessD] Continuous Forms Formatting In-Reply-To: Message-ID: <4372F5E8.17868.4B8A9F8F@stuart.lexacorp.com.pg> On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart From mboyd at deloitte.com Wed Nov 9 15:46:33 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:46:33 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: This is exactly what I needed! Thanks Stuart. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 09, 2005 4:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Continuous Forms Formatting On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mboyd at deloitte.com Wed Nov 9 15:57:25 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:57:25 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: Thanks again Stuart. Another question regarding conditional formatting. If Checkbox1 is disabled, is there a way to enable it when ComboBox1 is selected? Again, I only want to do this with the current record, not all of them. I tried the conditional formatting option under the Format menu, but this option is disabled for checkboxes. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 09, 2005 4:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Continuous Forms Formatting On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From prosoft6 at hotmail.com Wed Nov 9 16:21:44 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 09 Nov 2005 17:21:44 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From djkr at msn.com Wed Nov 9 16:38:25 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 9 Nov 2005 22:38:25 -0000 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: Message-ID: Birmingham UK worked just fine. The deal was take Standard Edition now, or a voucher for Professional when they've burnt them. Needless to say, most took the vouchers. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 09 November 2005 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft SQL Server 2005 Launch I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Wed Nov 9 16:42:31 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 9 Nov 2005 22:42:31 -0000 Subject: [AccessD] Microsoft SQL Server 2005 Launch Message-ID: Should have qualified that - the 'Professional' bit was for VS; the others were SQLS Standard and BizTalk Server Developer. J -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: 09 November 2005 22:38 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Microsoft SQL Server 2005 Launch Birmingham UK worked just fine. The deal was take Standard Edition now, or a voucher for Professional when they've burnt them. Needless to say, most took the vouchers. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 09 November 2005 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft SQL Server 2005 Launch I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Nov 9 17:38:08 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 10 Nov 2005 10:38:08 +1100 Subject: [AccessD] OT: vb.net course Message-ID: <001101c5e586$a47756f0$6501a8c0@user> Just wondering whether anyone on the list has done the Programming with VB.net course at Monash IT? (Melb / Australia) ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From jmhecht at earthlink.net Wed Nov 9 18:00:07 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 16:00:07 -0800 Subject: [AccessD] OT: vb.net course Att Bryan In-Reply-To: <001101c5e586$a47756f0$6501a8c0@user> Message-ID: <001d01c5e589$b6818930$0a01a8c0@desktop> Got this twice -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, November 09, 2005 3:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: vb.net course Just wondering whether anyone on the list has done the Programming with VB.net course at Monash IT? (Melb / Australia) ______________________________________________ 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 prosoft6 at hotmail.com Thu Nov 10 07:37:45 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 10 Nov 2005 08:37:45 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: <000001c5e57e$4be84380$1a00a8c0@dabsight> Message-ID: Wow. We didnt' get that choice. Nice! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Susan.Klos at fldoe.org Thu Nov 10 07:40:51 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 10 Nov 2005 08:40:51 -0500 Subject: [AccessD] Print to PDF Message-ID: I have 75 separate reports that I want to print to file in PDF. Right now I am manually setting the default printer to my PDF driver and it prints them. Is there a way to set the default printer in code? I would like to set it at the beginning and then unset it at the end. Also, every time I print a report, Adobe opens up. I would like to prevent that. Any help would be greatly appreciated. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From mmm at tbig.com Thu Nov 10 07:45:51 2005 From: mmm at tbig.com (Myke Myers) Date: Thu, 10 Nov 2005 08:45:51 -0500 Subject: [AccessD] FW: Access 12 Demos from the PDC Message-ID: <000001c5e5fd$10934260$6501a8c0@tbig1> -----Original Message----- From: Erik Rucker Subject: Access 12 Demos from the PDC http://blogs.msdn.com/access/archive/2005/11/08/490406.aspx | Comments All of the session from PDC content is also available online to anyone, for free, for six full months. For more information, refer to this blog post. There are a few sessions that are interesting from the Access perspective: OFF307: "Access 12": Developing Collaboration Solutions with "Access 12" and Windows SharePoint Services "v3" Speaker: Clint Covington - Broad overview of many new features. OFF201: "Office 12": Introduction to the Programmable Customization Model for the "Office 12" User Experience (Part 1) Speaker: Jensen Harris - explains the philosophy behind the new UI and the ribbon changes. OFF302: "Office 12": Developing with the Programmable Customization Model for the "Office 12" User Experience (Part 2) Speaker: Savraj Dhanjal - explains how to customize the new UI. OFF310: Windows SharePoint Services: Developing Collaboration and Tracking Applications Speaker: Mike Morton - explains many of the changes to WSS that can be used while building Access applications with WSS link tables. OFF417: Visual Studio Tools for Office "v3": Creating Office Application Customizations Speaker: Andrew Whitechapel - details around how to develop managed task panes and addins for Office including Access OFF415: Windows SharePoint Services: Developing Custom Workflows Speakers: George Hatoun; Pravin Indurkar - details about workflow that can be used while building applications with WSS. Access will have hooks for working with WSS workflow. Last, if you don't read the blog post, know that you can right-click on the speaker video, choose Play Speed, then Fast to watch the presentations at a higher speeds. Enjoy! Related... From wdhindman at bellsouth.net Thu Nov 10 08:05:43 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 10 Nov 2005 09:05:43 -0500 Subject: [AccessD] Print to PDF References: Message-ID: <002001c5e5ff$d7319820$6101a8c0@JISREGISTRATION.local> Susan ...try this first: http://www.mvps.org/access/reports/rpt0011.htm William ----- Original Message ----- From: "Klos, Susan" To: Sent: Thursday, November 10, 2005 8:40 AM Subject: [AccessD] Print to PDF >I have 75 separate reports that I want to print to file in PDF. Right > now I am manually setting the default printer to my PDF driver and it > prints them. Is there a way to set the default printer in code? I > would like to set it at the beginning and then unset it at the end. > Also, every time I print a report, Adobe opens up. I would like to > prevent that. Any help would be greatly appreciated. TIA. > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 10 09:17:09 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 10 Nov 2005 16:17:09 +0100 Subject: [AccessD] Getting Emailadress from my Outlook (Exchange server) mailbox. Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6090@stekelbes.ithelps.local> Does anyone has some code or tool to extract all e-mailadresses in my Outlook (Exchange server) mailbox. More specificly those from the last two years or so. I started recently started with a promotion newsletter but a lot of e-mail adresses are missing in my database from my customers and their personal. Once I have them in a table I could add them to my customer database based on domain, Because I manage all those mailservers from my customers, I also know that the e-mail address is in firstname.lastname at companyname.something format. The thing is that I organize all my mails in subfolders so it needs to look in all subfolders to and not only the in/send box. Thx. Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Lambert.Heenan at AIG.com Thu Nov 10 10:20:44 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 10 Nov 2005 10:20:44 -0600 Subject: [AccessD] Getting Emailadress from my Outlook (Exchange serve r) mailbox. Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1899A1D0@xlivmbx21.aig.com> I have a tool written in Access 2002 (XP) that allows you to browse to any folder in your Outlook account and save the emails to .MSG files. The code could easily be modified to retrieve the sender's email address and then save it to a table. I can send you this in a Zip file off list if you'd like. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, November 10, 2005 10:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Getting Emailadress from my Outlook (Exchange server) mailbox. Does anyone has some code or tool to extract all e-mailadresses in my Outlook (Exchange server) mailbox. More specificly those from the last two years or so. I started recently started with a promotion newsletter but a lot of e-mail adresses are missing in my database from my customers and their personal. Once I have them in a table I could add them to my customer database based on domain, Because I manage all those mailservers from my customers, I also know that the e-mail address is in firstname.lastname at companyname.something format. The thing is that I organize all my mails in subfolders so it needs to look in all subfolders to and not only the in/send box. Thx. Erwin Craps Zaakvoerder www.ithelps.be/onsgezin From dba.email at gmail.com Thu Nov 10 10:27:37 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 10 Nov 2005 11:27:37 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: References: <000001c5e57e$4be84380$1a00a8c0@dabsight> Message-ID: <5f2de2420511100827t5d528b3u6f751f7872762f6@mail.gmail.com> Julie (and any others who have attended this launch event), I have two questions. I'm confirmed for the 1/11/2006 launch in Washington DC. Without additional information regarding specific content, I took the liberty of confirming for both the developer track and the data platform track. First, based on your experience, would you recommend one track over the other? Secondly, are all three products (SQL Server 2005, Visual Studio 2005, & BizTalk Server 2006) distributed regardless of which track is chosen? Thanks for any feedback, Mark On 11/10/05, Julie Reardon-Taylor wrote: > > Wow. We didnt' get that choice. Nice! > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone/Fax: (315) 785-0319 > www.pro-soft.net > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mike.W.Gowey at doc.state.or.us Thu Nov 10 16:10:41 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 10 Nov 2005 15:10:41 -0700 Subject: [AccessD] Create OverDue Table Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B92D@srciml1.ds.doc.state.or.us> I need to create a table from a list of Overdue accounts. I need to be able to pull from a Payments table the last payment made by each customer and than if that payment is more than 60 days ago, I need to copy it over to the overdue table. Could someone please show me the easiest way to accomplish this. Thanks in advance for any help provided. /Mike From stuart at lexacorp.com.pg Thu Nov 10 16:24:29 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 11 Nov 2005 08:24:29 +1000 Subject: [AccessD] Create OverDue Table In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF48607780579B92D@srciml1.ds.doc.state.or.us> Message-ID: <4374553D.16069.1FECD23@stuart.lexacorp.com.pg> On 10 Nov 2005 at 15:10, Gowey Mike W wrote: > > > I need to create a table from a list of Overdue accounts. I need to be > able to pull from a Payments table the last payment made by each > customer and than if that payment is more than 60 days ago, I need to > copy it over to the overdue table. > Create a new query on the payments table with the fields "Customer" and "PaymentDate" (or whatever you have named them). Select "View-Totals" on the main menu. A "Totals" row will appear in the grid. Select "GroupBy" for the Customer column and "Max" for the PaymentDate column In the Criteria row of the PaymentDate column enter "< Date() - 60" Select "Query-Append query..." on the main menu Enter the overdue table name in the Append to: field. An "Append To:" row will appear in the grid. Select the correct fields in this row in each column. To ensure that you only have overdue accounts in the overdue table, you can either: Run a delete query to remove all records before running this query or Change this query to be a "Make Table" query so that you create a new table every time your run it. -- Stuart From accessd at shaw.ca Thu Nov 10 21:49:04 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 10 Nov 2005 19:49:04 -0800 Subject: [AccessD] A Question of MSExpress and MS SQL In-Reply-To: <002001c5e5ff$d7319820$6101a8c0@JISREGISTRATION.local> Message-ID: <000001c5e672$dc8ebf50$017ba8c0@xpserver> I must admit that I currently have done no research on the subject but the night is still young. I tried the simple way of 'attaching' an mdf and ldf files, created in MS SQL Express to my MS SQL 2000 sever but the process crashed saying something like 'Could not find row in sysindexes for database ID 10, object ID 1, Run DBCC Checktable on sysindexes....' I was wondering if it does not work because SQL Express is of a much newer format than SQL 2000 or is it because they are like apples and oranges and 'Express' will never be compatible with any version of 'MS SQL'? What would be the easiest way to transfer structure and data across? TIA Jim From prodevmg at yahoo.com Fri Nov 11 05:02:20 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 11 Nov 2005 03:02:20 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <000401c5e54f$9f42a810$0200a8c0@danwaters> Message-ID: <20051111110220.22956.qmail@web33106.mail.mud.yahoo.com> Thanks Dan. Yes. Actually part of the routine is to create the graphs on a report in Access and also to export them to excel. The end user wants both. Dan Waters wrote:Lonnie, I haven't read this thread till now so if my suggestion has been covered already . . . Have you considered or tried using MS Graph? I've used this with success. It has the same (I believe) functionality for regular charts that Excel has. If it works out then you can stay in Access. Note: You'll need to set a reference to MS Graph if you want to use it, which I'm pretty sure will be on your client's PCs. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From prodevmg at yahoo.com Fri Nov 11 05:03:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 11 Nov 2005 03:03:28 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82F@corp-es01.fleetpride.com> Message-ID: <20051111110328.40241.qmail@web33113.mail.mud.yahoo.com> I think it is two and three of your questions below. I will clean up the code and mail it this afternoon. Thanks Jim. "Hale, Jim" wrote:Ok, then you need solution three. I do similar things where I create multiple budget books at a time selected from a menu. How much of the code do you have written? Is the real question how best to structure the process or is it how to write the code to create multiple workbooks from different recordsets or is it you have an Excel instance stuck in memory that is giving your code problems? Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Gustav at cactus.dk Fri Nov 11 10:50:22 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 11 Nov 2005 17:50:22 +0100 Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) Message-ID: Hi all Anyone having experience with this? http://www.enterprisedb.com/ Though you have to dig a little to find that info, it is totally free to use whatever size your database would be. However, they recommend buying support for database setups exceeding the capacity of those of Oracle's and MS's "Express" editions. /gustav From accessd at shaw.ca Fri Nov 11 11:05:29 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 09:05:29 -0800 Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) In-Reply-To: Message-ID: <002601c5e6e2$1e927800$017ba8c0@xpserver> Hi Gustav: It looks very interesting. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 11, 2005 8:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) Hi all Anyone having experience with this? http://www.enterprisedb.com/ Though you have to dig a little to find that info, it is totally free to use whatever size your database would be. However, they recommend buying support for database setups exceeding the capacity of those of Oracle's and MS's "Express" editions. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Nov 11 11:49:36 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 12:49:36 -0500 Subject: [AccessD] Duplex printing question. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF27C@ADGSERVER> I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby From jwcolby at ColbyConsulting.com Fri Nov 11 11:56:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 11 Nov 2005 12:56:26 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF27C@ADGSERVER> Message-ID: <00c701c5e6e9$3cb6d270$667aa8c0@ColbyM6805> So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 12:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 11 12:09:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 12:09:43 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <9734270.1131732089603.JavaMail.root@sniper15> Message-ID: <000001c5e6eb$1816af10$0200a8c0@danwaters> Well - I've tried that. I just see the back of the first page! Dan Waters ;-) Wait - if I scrolled up first maybe that would help?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 11:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 12:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Nov 11 12:32:34 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 11 Nov 2005 13:32:34 -0500 Subject: [AccessD] Duplex printing question. References: <000001c5e6eb$1816af10$0200a8c0@danwaters> Message-ID: <007401c5e6ee$488974e0$6101a8c0@JISREGISTRATION.local> ...shakes head ...checks calendar ...ok, its Friday :) William ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 11, 2005 1:09 PM Subject: Re: [AccessD] Duplex printing question. > Well - I've tried that. > > I just see the back of the first page! > > Dan Waters > ;-) > > Wait - if I scrolled up first maybe that would help?? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Friday, November 11, 2005 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Duplex printing question. > > So what does happen when you view a report in duplex? Do you have to go > around behind your monitor to see the other side? > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, November 11, 2005 12:50 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Duplex printing question. > > > I looked in the archives and Google, but did not find what I was looking > for. > > In designing and testing of reports, I will click on file/print to print > the > report. To save paper, I generally will go to options (on the print > dialog) > and tell it to print double-sided. Many times, this value will stick on > the > report. If I do not remember later to go and change this back to > non-duplex, it prints that way by default. > > In researching this, I saw some things that allowed you to change various > printer values, but the implication was that these changes were actually > changing the values in the design of the report. We distribute MDEs for > our > application. > > Is there some method that can be used in an MDE that will, upon opening > the > report, change the report to print in simplex (I think that's the right > word) mode? The user would be free to change that in their options when > they go to print. I just want to make sure that duplex is off when > previewing it or printing it directly. > > Thanks, > Bobby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Fri Nov 11 12:37:26 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 13:37:26 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CD48E8@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF280@ADGSERVER> LOL. Ya'll need a 21" LCD monitor to be able to see page 2 from the back of the monitor. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 1:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Well - I've tried that. I just see the back of the first page! Dan Waters ;-) Wait - if I scrolled up first maybe that would help?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 11:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby From Jim.Hale at FleetPride.com Fri Nov 11 13:10:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 11 Nov 2005 13:10:01 -0600 Subject: [AccessD] Trigger help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD83E@corp-es01.fleetpride.com> Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DElam at jenkens.com Fri Nov 11 13:27:06 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 11 Nov 2005 13:27:06 -0600 Subject: [AccessD] Trigger help Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D063@natexch.jenkens.com> Perhaps the remainder could give you the result you needed. It is called a modulo in SQL. If the remainder of the identity divided by 10 is less than 5, then use the record for the second process. Debbie -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Friday, November 11, 2005 1:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bheid at appdevgrp.com Fri Nov 11 13:36:51 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 14:36:51 -0500 Subject: [AccessD] Trigger help In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CD48FE@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF281@ADGSERVER> First of all, do you mean the 1st 60% of the records? Last 60%, etc? I think I would capture all of the events for the day and have a nightly SPROC that goes through and processes the particular 60% that you wanted. Maybe store a random number in an extra field and when you go to process it, sort the table by the random number and count the number of records and then take the top 60% of them and write them out to the event table. If you have a very high volume, this may not be a good way. A lot really depends on which 50% of the records you want. Like in your example, you could write 6, skip 4, write 6, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, November 11, 2005 2:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale From Jim.Hale at FleetPride.com Fri Nov 11 14:03:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 11 Nov 2005 14:03:53 -0600 Subject: [AccessD] Trigger help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD840@corp-es01.fleetpride.com> The object is to not process 40% of the records at all. They do not need a random sample so the first 6 of each 10 would suffice. The volume is so high the client wants to skip doing anything with 40% of the universe of possible records. 60% is an adequate sample for what they need. In SQL Server how does one identify a record before it is written to the database and determine if it is the 2nd or 9th record? Something analgous to running a counter function in the before update event of an Access table Jim Hale -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Friday, November 11, 2005 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Trigger help First of all, do you mean the 1st 60% of the records? Last 60%, etc? I think I would capture all of the events for the day and have a nightly SPROC that goes through and processes the particular 60% that you wanted. Maybe store a random number in an extra field and when you go to process it, sort the table by the random number and count the number of records and then take the top 60% of them and write them out to the event table. If you have a very high volume, this may not be a good way. A lot really depends on which 50% of the records you want. Like in your example, you could write 6, skip 4, write 6, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, November 11, 2005 2:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Fri Nov 11 14:35:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 14:35:43 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <5305830.1131731653899.JavaMail.root@sniper23> Message-ID: <000201c5e6ff$7d834110$0200a8c0@danwaters> Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Nov 11 15:09:53 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 11 Nov 2005 16:09:53 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <000201c5e6ff$7d834110$0200a8c0@danwaters> Message-ID: <00d001c5e704$43df72d0$667aa8c0@ColbyM6805> Unfortunately not me. I know that this stuff is way easier in Office XP (I think) where you suddenly get a printer object. I have never spent much time looking at this though so no help here. Plus, I try to not to do Duplex printing. Every time I go around behind my monitor to look at the other side of the report I get all tangled up in the cables and spend an hour cleaning. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Fri Nov 11 15:35:35 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 11 Nov 2005 15:35:35 -0600 Subject: [AccessD] R-base Message-ID: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From dmcafee at pacbell.net Fri Nov 11 15:44:54 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Fri, 11 Nov 2005 13:44:54 -0800 (PST) Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <20051111214454.88944.qmail@web80810.mail.yahoo.com> Rbase to Acess was my first upsizing experience :) Rbase was actually a great product for its time. You'll need to be able to get into the rbase gateway editor to extract the data using SELECT statements. Once you have the tables extracted to text files, you can import the files into access. PS, have you tried ALt+Enter while in rbase? David --- Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS > system? Unsure if it is > a product or one-time custom built thing. > > We have client using our Access-based system, but > they've been holding > out on converting their R-Base data. That is, until > now, as it appears > to have broke. The screens minimized themselves to > about an inch or two > tall, and they are unable to maximize. What ever > caused this also caused > the screens not to be able to print. > > Thanks in advance! > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Nov 11 15:57:31 2005 From: john at winhaven.net (John Bartow) Date: Fri, 11 Nov 2005 15:57:31 -0600 Subject: [AccessD] R-base In-Reply-To: <20051111214454.88944.qmail@web80810.mail.yahoo.com> Message-ID: <001d01c5e70a$ea595760$6401a8c0@ScuzzPaq> Hi David, Did you get involved with any of the government stuff that was in R:Base? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Mcafee Sent: Friday, November 11, 2005 3:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] R-base Rbase to Acess was my first upsizing experience :) Rbase was actually a great product for its time. You'll need to be able to get into the rbase gateway editor to extract the data using SELECT statements. Once you have the tables extracted to text files, you can import the files into access. PS, have you tried ALt+Enter while in rbase? David --- Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS system? Unsure if it > is a product or one-time custom built thing. > > We have client using our Access-based system, but they've been holding > out on converting their R-Base data. That is, until now, as it > appears to have broke. The screens minimized themselves to about an > inch or two tall, and they are unable to maximize. What ever caused > this also caused the screens not to be able to print. > > Thanks in advance! > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Nov 11 15:57:31 2005 From: john at winhaven.net (John Bartow) Date: Fri, 11 Nov 2005 15:57:31 -0600 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <001e01c5e70a$eb0c2ca0$6401a8c0@ScuzzPaq> Which version is it? I worked a lot in R:Base for DOS System V. I still have it and R:Base for Windows 6.1 I used migrate data from R:Base into Access on a regular basis. Let me know if I can help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Friday, November 11, 2005 3:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] R-base Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 11 16:03:44 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 12 Nov 2005 01:03:44 +0300 Subject: [AccessD] Duplex printing question. References: <00d001c5e704$43df72d0$667aa8c0@ColbyM6805> Message-ID: <005901c5e70b$d06c4460$6401a8c0@fincomplex.spb.ru> <<< Every time I go around behind my > monitor to look at the other side of the report I get all tangled up in the > cables and spend an hour cleaning. >>> LOL :) Next time put a mirror behind your monitor to look a the other side of the report! It's Saturday here already... :) Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 12, 2005 12:09 AM Subject: Re: [AccessD] Duplex printing question. > Unfortunately not me. I know that this stuff is way easier in Office XP (I > think) where you suddenly get a printer object. I have never spent much > time looking at this though so no help here. > > Plus, I try to not to do Duplex printing. Every time I go around behind my > monitor to look at the other side of the report I get all tangled up in the > cables and spend an hour cleaning. > > John W. Colby > www.ColbyConsulting.com > <<< tail skipped>>> From dwaters at usinternet.com Fri Nov 11 15:59:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 15:59:41 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <997627.1131742747906.JavaMail.root@sniper21> Message-ID: <000001c5e70b$384a3110$0200a8c0@danwaters> An hour? Ok - I won't ask . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 3:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Unfortunately not me. I know that this stuff is way easier in Office XP (I think) where you suddenly get a printer object. I have never spent much time looking at this though so no help here. Plus, I try to not to do Duplex printing. Every time I go around behind my monitor to look at the other side of the report I get all tangled up in the cables and spend an hour cleaning. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 11 18:06:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 16:06:21 -0800 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <004101c5e71c$ea1ac290$017ba8c0@xpserver> Hi Steve: I played with it about twenty years ago. It was one of the first relational(?) multi-user PC databases and was ported from a main-frame product used Boeing company out of Seattle. I understand it was used up at our local university as an instructional tool. I had a copy for a while but it was too slow...running on a 128K PC box. I have heard nothing about the application since then. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Friday, November 11, 2005 1:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] R-base Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 11 19:16:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 17:16:39 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: Message-ID: <000301c5e726$bbd66290$017ba8c0@xpserver> OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. Jim From papparuff at comcast.net Fri Nov 11 19:31:08 2005 From: papparuff at comcast.net (John Ruff) Date: Fri, 11 Nov 2005 17:31:08 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: <000301c5e726$bbd66290$017ba8c0@xpserver> Message-ID: <001101c5e728$c5599e20$6501a8c0@DDMJWX41> connectionString = "Provider=SQLOLEDB.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=CommonTables; Data Source=MONSTER This connects to a SQL Server 2000 called Monster and the table CommonTables By the way, there is a relatively easy way of capturing a connection string for any SQL Server DB. 1. Create a blank text file (FindSQL.txt for example). 2. Change its extension to .udl (FindSQL.udl) 3. Open the .udl file and follow the Wizard to connect to the SQL Server of your choice. 4. After completing the Wizard, close the file and change its extension back to .txt (FindSQL.txt) 5. Open the FindSQL.txt file again and you will find that the 2nd line has your connection string all ready for you to cut and paste into your code. Enjoy, John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, November 11, 2005 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Accessing a SQL DB OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. Jim -- 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 Nov 11 19:33:16 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 12 Nov 2005 11:33:16 +1000 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <4375D2FC.22714.7D2019C@stuart.lexacorp.com.pg> On 11 Nov 2005 at 15:35, Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS system? Unsure if it is > a product or one-time custom built thing. > > We have client using our Access-based system, but they've been holding > out on converting their R-Base data. That is, until now, as it appears > to have broke. The screens minimized themselves to about an inch or two > tall, and they are unable to maximize. What ever caused this also caused > the screens not to be able to print. > Never worked with it myself, but here's a couple of llinks that will tell you a fair bit about it, including it's history. http://www.razzak.com/fte/ http://www.rbase.com/ -- Stuart From artful at rogers.com Fri Nov 11 20:32:29 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 11 Nov 2005 21:32:29 -0500 Subject: [AccessD] Print to PDF In-Reply-To: Message-ID: <200511120232.jAC2WRJ01038@databaseadvisors.com> I have had great success with a thing called PDFMailClass, which apparently has problems with the latest Acrobat, but it does have features such as printing several Access reports into a single PDF file. This feature was enormously beneficial on a gig I had recently, where upon purchase, we had to email the client about 5-7 reports all in a single PDF. The company that makes it is called Attac Consulting, as I recall. There may be other solutions available now, but that one worked well for me. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: November 10, 2005 8:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Print to PDF I have 75 separate reports that I want to print to file in PDF. Right now I am manually setting the default printer to my PDF driver and it prints them. Is there a way to set the default printer in code? I would like to set it at the beginning and then unset it at the end. Also, every time I print a report, Adobe opens up. I would like to prevent that. Any help would be greatly appreciated. TIA. Susan Klos From accessd at shaw.ca Sat Nov 12 03:25:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 12 Nov 2005 01:25:13 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: <001101c5e728$c5599e20$6501a8c0@DDMJWX41> Message-ID: <003301c5e76a$fcc31480$017ba8c0@xpserver> Hi John: Thanks you for all your information. I will test it out right away. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: Friday, November 11, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Accessing a SQL DB connectionString = "Provider=SQLOLEDB.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=CommonTables; Data Source=MONSTER This connects to a SQL Server 2000 called Monster and the table CommonTables By the way, there is a relatively easy way of capturing a connection string for any SQL Server DB. 1. Create a blank text file (FindSQL.txt for example). 2. Change its extension to .udl (FindSQL.udl) 3. Open the .udl file and follow the Wizard to connect to the SQL Server of your choice. 4. After completing the Wizard, close the file and change its extension back to .txt (FindSQL.txt) 5. Open the FindSQL.txt file again and you will find that the 2nd line has your connection string all ready for you to cut and paste into your code. Enjoy, John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, November 11, 2005 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Accessing a SQL DB OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. 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 wdhindman at bellsouth.net Sat Nov 12 11:03:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 12 Nov 2005 12:03:20 -0500 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver> Message-ID: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> ...is there any way to make Access (A2K3) use the Windows System Colors? ...AND when the user changes the System Colors ...in Windows ...make an Access form color follow the changes? ...references, samples, code, suggestions ...any and all appreciated. William From bgeldart at verizon.net Sat Nov 12 09:49:17 2005 From: bgeldart at verizon.net (Bob Geldart) Date: Sat, 12 Nov 2005 10:49:17 -0500 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.loca l> References: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <6.2.1.2.0.20051112104047.020ea7c8@incoming.verizon.net> Steve, I worked with R:Base for DOS for a few years back in the mid-80s. My first real experience with relational dbs. I loved it, and (I think) I built some pretty good programs. Rewrote them in Access before Y2K. I loved R:Base. Didn't really get into the later versions (v3, 5, 6) much, but R:Base for DOS like QuickBasic--simple to read and follow but able to build fairly complex dbs. I don't think I can help you with your specific problem, as I haven't done serious R:Base programming for 15 years or so. However, when I retired last year, I took the full set of R:Base for DOS manuals. If you can use them you're welcome to them as I no longer need them. Bob At 11/11/2005 04:35 PM, you wrote: >Anyone have experience with R-Base, an old DOS system? Unsure if it is >a product or one-time custom built thing. > >We have client using our Access-based system, but they've been holding >out on converting their R-Base data. That is, until now, as it appears >to have broke. The screens minimized themselves to about an inch or two >tall, and they are unable to maximize. What ever caused this also caused >the screens not to be able to print. > >Thanks in advance! > >Steve Capistrant >scapistrant at symphonyinfo.com >Symphony Information Services >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 >763-391-7400 >www.symphonyinfo.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Bob Geldart BGeldart at verizon.net Maynard, MA From martyconnelly at shaw.ca Sat Nov 12 11:51:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 12 Nov 2005 09:51:58 -0800 Subject: [AccessD] Accessing a SQL DB References: <003301c5e76a$fcc31480$017ba8c0@xpserver> Message-ID: <43762BBE.2070504@shaw.ca> Here is Carl Prothman's site that recently moved. It has samples of many database OLEDB and .Net Providers , ODBC Driver Connection strings along with a series of ADO and ADOX FAQ's http://www.carlprothman.net/ One other trick I use is to check the connection is open right after opening Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection with .cnn ....... etc .Open End With 'Make sure the connection opened: If Not CBool(cnn.State AND adStateOpen) Then 'Could not open the connection: MsgBox "Could not open connection..." Else 'Process data as usual here... End If The Connection object supports several descriptive values: adStateClosed, adStateOpen, adStateConnecting, adStateExecuting, and adStateFetching. Each constant represents a number, but you really don't care about the numeric value. What's important is that two expressions, evaluated with the AND operator, return True if the values are the same and False if they're different. Jim Lawrence wrote: >Hi John: > >Thanks you for all your information. I will test it out right away. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff >Sent: Friday, November 11, 2005 5:31 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Accessing a SQL DB > >connectionString = "Provider=SQLOLEDB.1; > Integrated Security=SSPI; > Persist Security Info=False; > Initial Catalog=CommonTables; > Data Source=MONSTER > >This connects to a SQL Server 2000 called Monster and the table CommonTables > >By the way, there is a relatively easy way of capturing a connection string >for any SQL Server DB. > >1. Create a blank text file (FindSQL.txt for example). >2. Change its extension to .udl (FindSQL.udl) >3. Open the .udl file and follow the Wizard to connect to the SQL Server of >your choice. >4. After completing the Wizard, close the file and change its extension back >to .txt (FindSQL.txt) >5. Open the FindSQL.txt file again and you will find that the 2nd line has >your connection string all ready for you to cut and paste into your code. > >Enjoy, > > >John V. Ruff - The Eternal Optimist :-) > >"Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, November 11, 2005 5:17 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Accessing a SQL DB > >OT: > >Hi All: > >This is a little off topic but has anyone had experience connecting to a >full MS SQL DB from a beta version of Visual Studio 2003? > >I am currently working with an ASP project and just can not get the program >to recognize the MS SQL server. It is local but I just can not get the >correct connection string sequence. > >This is a connection string used to connect to an MS SQL Express DB: >connectionString="Data Source=.\SQLExpress;Integrated > Security=True; > UserInstance=True; > MyDBFilename=|DataDirectory|mydbfilename.mdf" >providerName="System.Data.SqlClient" > >The above connects fine. I can even view the 'Express' server in the 'Server >Explorer' but the scan ignores the MS SQL 2000. It is definitely there as >other applications have no difficulty see and connecting to it. > >Below is one of the many connection string combinations that I have tried. > >connectionString="Provider=sqloledb; > Data Source=xpserver; > Initial Catalog=pubs; > Integrated Security=SSPI;" > >Or > >The above was modeled from proven strings and from samples at >http://www.connectionstrings.com/ > > >Any comments of assistance would be greatly appreciated. >Jim > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Nov 12 12:13:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 12 Nov 2005 10:13:55 -0800 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver> <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <437630E3.4050401@shaw.ca> Maybe look up themes in Access help It should change to the Windows XP Style If you have the "Use Windows Themed Controls on Forms" check box checked in Options--> Forms & Reports If the operating system is Microsoft Windows XP SP 1 or later, and you have chosen a theme other than Windows Classic, Access will inherit the theme from the operating system. Most of the views, controls (control: A graphical user interface object, such as a text box, check box, scroll bar, or command button, that lets users control the program. You use controls to display data or choices, perform an action, or make the user interface easier to read.), and dialog boxes will be customized to match the Windows theme William Hindman wrote: >...is there any way to make Access (A2K3) use the Windows System Colors? >...AND when the user changes the System Colors ...in Windows ...make an >Access form color follow the changes? > >...references, samples, code, suggestions ...any and all appreciated. > >William > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Sat Nov 12 13:00:43 2005 From: john at winhaven.net (John Bartow) Date: Sat, 12 Nov 2005 13:00:43 -0600 Subject: [AccessD] System Colors In-Reply-To: <437630E3.4050401@shaw.ca> Message-ID: <00fa01c5e7bb$6288cbc0$6401a8c0@ScuzzPaq> "Access Help"... That was a good one ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Maybe look up themes in Access help From john at winhaven.net Sat Nov 12 13:00:43 2005 From: john at winhaven.net (John Bartow) Date: Sat, 12 Nov 2005 13:00:43 -0600 Subject: [AccessD] System Colors In-Reply-To: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <00fb01c5e7bb$63322b20$6401a8c0@ScuzzPaq> Here are some links that should help out: http://www.peterssoftware.com/sysclrs.htm http://vb.mvps.org/hardcore/html/systemcolorssizes.htm HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 12, 2005 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] System Colors ...is there any way to make Access (A2K3) use the Windows System Colors? ...AND when the user changes the System Colors ...in Windows ...make an Access form color follow the changes? ...references, samples, code, suggestions ...any and all appreciated. William -- 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 Nov 12 16:08:51 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 13 Nov 2005 08:08:51 +1000 Subject: [AccessD] System Colors In-Reply-To: <00fb01c5e7bb$63322b20$6401a8c0@ScuzzPaq> References: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <4376F493.12735.C3D2563@stuart.lexacorp.com.pg> On 12 Nov 2005 at 13:00, John Bartow wrote: > Here are some links that should help out: > http://www.peterssoftware.com/sysclrs.htm The download available here (sc.zip) is very useful - it lets you see and copy/paste the system colour values. -- Stuart From wdhindman at bellsouth.net Sat Nov 12 17:49:07 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 12 Nov 2005 18:49:07 -0500 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver><000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> <437630E3.4050401@shaw.ca> Message-ID: <001d01c5e7e3$f32afb80$6101a8c0@JISREGISTRATION.local> ...are you suggesting there's actually something there a person can find without losing more snatches of hair than they can rightly afford to part with? :))) ...thanks to all who responded ...actually John put me on to what I was really after ...how to feed those colors to API calls that expect RGB values ...now if I can only decipher it :) ...been beatin' my head most of today trying to get a treeview node to call an application.quit ...did I mention lately that I hate microsoft :) William ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Saturday, November 12, 2005 1:13 PM Subject: Re: [AccessD] System Colors > Maybe look up themes in Access help > It should change to the Windows XP Style If you have the "Use Windows > Themed Controls on > Forms" check box checked in Options--> Forms & Reports > > If the operating system is Microsoft Windows XP SP 1 or later, and you > have > chosen a theme other than Windows Classic, Access will inherit the theme > from the operating system. Most of the views, controls (control: A > graphical > user interface object, such as a text box, check box, scroll bar, or > command > button, that lets users control the program. You use controls to display > data or choices, perform an action, or make the user interface easier to > read.), and dialog boxes will be customized to match the Windows theme > > William Hindman wrote: > >>...is there any way to make Access (A2K3) use the Windows System Colors? >>...AND when the user changes the System Colors ...in Windows ...make an >>Access form color follow the changes? >> >>...references, samples, code, suggestions ...any and all appreciated. >> >>William >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kimjwiggins at yahoo.com Sat Nov 12 21:50:32 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Sat, 12 Nov 2005 19:50:32 -0800 (PST) Subject: [AccessD] Date picker Message-ID: <20051113035032.53617.qmail@web53603.mail.yahoo.com> Hi all, Can someone tell me of a way to make the date in the date picker null and then allow me to chose the date that I want to pick? I want all the dates to be blank and then I chose the date from the calendar. I have been trying to work on this and I can make it blank but then it does not allow me to choose a date from the calender. It has become very frustrating. Thanks Kim --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From iggy at nanaimo.ark.com Sun Nov 13 10:24:03 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 08:24:03 -0800 Subject: [AccessD] Trap for Error Message-ID: <437768A3.5080300@nanaimo.ark.com> Hey All Does anyone know how to trap for the error message "The text is too long to be edited", when someone trys to paste text, into a field, that exceeds the maximum characters for that field. I would just like to change the message to something a little more informative for the user, like "The text is too long maximum characters allowed 75" From andy at minstersystems.co.uk Sun Nov 13 12:33:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 13 Nov 2005 18:33:28 -0000 Subject: [AccessD] Trap for Error In-Reply-To: <437768A3.5080300@nanaimo.ark.com> Message-ID: <009a01c5e880$bd97fe80$57b50c54@minster33c3r25> Hi Tony Rather than trap the error why not validate it yourself in the field's BeforeUpdate event? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: 13 November 2005 16:24 > To: accessd at databaseadvisors.com > Subject: [AccessD] Trap for Error > > > Hey All > Does anyone know how to trap for the error message "The text > is too long > to be edited", when someone trys to paste text, into a field, that > exceeds the maximum characters for that field. I would just like to > change the message to something a little more informative for > the user, > like "The text is too long maximum characters allowed 75" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Sun Nov 13 13:00:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Nov 2005 20:00:48 +0100 Subject: [AccessD] Cryptlib for encryption/decrypting/signing Message-ID: Hi all This site of Peter Gutmann contains much info and links for en-/decrypting: http://www.cs.auckland.ac.nz/~pgut001 One link is for Cryptlib, a library with interfaces to many programming languages: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ containing all sorts of functions, also for S/MIME signing and encryption of e-mail. There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. Nevertheless, much info on the topic is available here. /gustav From iggy at nanaimo.ark.com Sun Nov 13 13:00:51 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 11:00:51 -0800 Subject: [AccessD] Trap for Error Message-ID: <43778D63.60305@nanaimo.ark.com> Hey Andy The problem is the message fires and the data never gets added to the field, so as far as I can tell there is no BeforeUpdate event occurring. I think this is a system message. From martyconnelly at shaw.ca Sun Nov 13 13:11:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 13 Nov 2005 11:11:10 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing References: Message-ID: <43778FCE.3090108@shaw.ca> You'll need to use constants in Access 97. Enum was added in Access 2000. Gustav Brock wrote: >Hi all > >This site of Peter Gutmann contains much info and links for en-/decrypting: > > http://www.cs.auckland.ac.nz/~pgut001 > >One link is for Cryptlib, a library with interfaces to many programming languages: > > http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ > >containing all sorts of functions, also for S/MIME signing and encryption of e-mail. > >There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. >Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. > >Nevertheless, much info on the topic is available here. > >/gustav > > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sun Nov 13 13:30:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Nov 2005 11:30:38 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: Message-ID: <006101c5e888$ba7a7130$017ba8c0@xpserver> Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 13, 2005 11:01 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cryptlib for encryption/decrypting/signing Hi all This site of Peter Gutmann contains much info and links for en-/decrypting: http://www.cs.auckland.ac.nz/~pgut001 One link is for Cryptlib, a library with interfaces to many programming languages: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ containing all sorts of functions, also for S/MIME signing and encryption of e-mail. There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. Nevertheless, much info on the topic is available here. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Nov 13 13:34:08 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Nov 2005 20:34:08 +0100 Subject: [AccessD] Cryptlib for encryption/decrypting/signing Message-ID: Hi Marty Right you are. Then for A2000 and above this is a copy/paste into a new module. One line must be commented out, that's it. Thanks! /gustav >>> martyconnelly at shaw.ca 13-11-2005 20:11 >>> You'll need to use constants in Access 97. Enum was added in Access 2000. From martyconnelly at shaw.ca Sun Nov 13 13:57:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 13 Nov 2005 11:57:42 -0800 Subject: [AccessD] Trap for Error References: <437768A3.5080300@nanaimo.ark.com> Message-ID: <43779AB6.5050103@shaw.ca> Just find which event is firing the error Before Update, Enter etc then add something like below Sub BeforeUpdateevent() On Error GoTo Err_btnSave ' ' Exit_btnSave_Click: Exit Sub Err_btnSave_Click: If Err.Number =2221 then MsgBox "You are being too verbose, use less than 75 characters" else MsgBox "Error in Before Update" & " " & Err.Description & Err.Number end if Resume Exit_btnSave_Click End Sub Tony Septav wrote: >Hey All >Does anyone know how to trap for the error message "The text is too long >to be edited", when someone trys to paste text, into a field, that >exceeds the maximum characters for that field. I would just like to >change the message to something a little more informative for the user, >like "The text is too long maximum characters allowed 75" > > -- Marty Connelly Victoria, B.C. Canada From iggy at nanaimo.ark.com Sun Nov 13 14:45:33 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 12:45:33 -0800 Subject: [AccessD] Trap for Error Message-ID: <4377A5ED.6050206@nanaimo.ark.com> Hey All Thanks for your responses. That is what I was inquring about, the error message does not seem to be fired by any control event (but I will try them all again, I may have missed something), but rather during the process of pressing Ctrl V to paste the text into the textbox. Anyway onwards and upwards, thanks again. From artful at rogers.com Sun Nov 13 21:41:36 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 13 Nov 2005 22:41:36 -0500 Subject: [AccessD] System Colors In-Reply-To: <001d01c5e7e3$f32afb80$6101a8c0@JISREGISTRATION.local> Message-ID: <200511140341.jAE3fXJ30661@databaseadvisors.com> I don't think that a treeview node should call Application.Quit, even if you do figure out a way to do it. Instead tie that event to the OnClose method of the form, IMO. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: November 12, 2005 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] System Colors ...been beatin' my head most of today trying to get a treeview node to call an application.quit ...did I mention lately that I hate microsoft :) William From artful at rogers.com Sun Nov 13 21:47:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 13 Nov 2005 22:47:48 -0500 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: <006101c5e888$ba7a7130$017ba8c0@xpserver> Message-ID: <200511140347.jAE3lkJ32306@databaseadvisors.com> Personally, I would never venture to say that an encryption system has never been cracked, unless I worked for the NSA and/or the Mossad. And even then I would be reluctant. Bringing to mind a central theme of Neal Stephenson's Crytonomicon: given that you have a crack to the Nazi encryption scheme, if you suddenly prevent U-boats from sinking troop-and-transport ships, then they will know you have cracked the system -- therefore you must allow some ships to be sunk; and therefore, aside from the guilt factor, the salient question becomes -- how many ships can you save before the Nazis realize you're on to their scheme? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: November 13, 2005 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim From darsant at gmail.com Sun Nov 13 23:38:14 2005 From: darsant at gmail.com (Josh McFarlane) Date: Sun, 13 Nov 2005 23:38:14 -0600 Subject: [AccessD] Design Question Message-ID: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Hey guys got a quick question about design. I'm making a database for a non-profit service organization I'm working for. There's going to be membership data per person, however, at the same time the person may be a contact to an external organization for part of their projects, or it may be some completely unrelated person. Here's my question: Should I have only one table, called say People, or should I have two seperate tables of data: Members and Contacts? Option A would require intermediate tables linking anything to the people table, but Option B would maintain duplicate data for members that are also in external contact organizations. Any suggestions? Thanks! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Mon Nov 14 00:08:07 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 13 Nov 2005 22:08:07 -0800 Subject: [AccessD] Design Question References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> IIUC, then I would do two tables - Members and External Organizations with a linking table containing the PKs from both. That assumes that many Members could be contacts for the same External Organization and one External Organization can have many members as contacts. Rocky ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Sunday, November 13, 2005 9:38 PM Subject: [AccessD] Design Question > Hey guys got a quick question about design. > > I'm making a database for a non-profit service organization I'm > working for. There's going to be membership data per person, however, > at the same time the person may be a contact to an external > organization for part of their projects, or it may be some completely > unrelated person. > > Here's my question: > > Should I have only one table, called say People, or should I have two > seperate tables of data: Members and Contacts? > > Option A would require intermediate tables linking anything to the > people table, but Option B would maintain duplicate data for members > that are also in external contact organizations. > > Any suggestions? > > Thanks! > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Nov 14 00:17:40 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Nov 2005 22:17:40 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: <200511140347.jAE3lkJ32306@databaseadvisors.com> Message-ID: <006f01c5e8e3$1e3fe010$017ba8c0@xpserver> Arthur; that is quite true. The only thing that makes me think that the 'Blowfish' encryption algorithm has not been cracked yet is that the 'brag' has not be posted yet. Considering that the concept is open-source and totally viewable, it stands as an open challenge to anyone in the world and has remained so since 1993. When the DES encryption scheme was cracked the event spread around the world in days though its official demise had long been predicted. In today's world it is almost impossible to keep secrets... Officials spend most of their time putting a correct spin to an event rather than hiding it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 13, 2005 7:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Personally, I would never venture to say that an encryption system has never been cracked, unless I worked for the NSA and/or the Mossad. And even then I would be reluctant. Bringing to mind a central theme of Neal Stephenson's Crytonomicon: given that you have a crack to the Nazi encryption scheme, if you suddenly prevent U-boats from sinking troop-and-transport ships, then they will know you have cracked the system -- therefore you must allow some ships to be sunk; and therefore, aside from the guilt factor, the salient question becomes -- how many ships can you save before the Nazis realize you're on to their scheme? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: November 13, 2005 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 00:21:24 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 00:21:24 -0600 Subject: [AccessD] Design Question In-Reply-To: <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> Message-ID: <53c8e05a0511132221o5ed0adf2w6ce3b5a7c3302f27@mail.gmail.com> Basically yes. Our organization can have one or many members. External Organizations can have one or many contacts. A person may be a member, may be a contact, or may be both. On 11/14/05, Rocky Smolin - Beach Access Software wrote: > IIUC, then I would do two tables - Members and External Organizations with a > linking table containing the PKs from both. That assumes that many Members > could be contacts for the same External Organization and one External > Organization can have many members as contacts. > > Rocky > > ----- Original Message ----- > From: "Josh McFarlane" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 13, 2005 9:38 PM > Subject: [AccessD] Design Question > > > > Hey guys got a quick question about design. > > > > I'm making a database for a non-profit service organization I'm > > working for. There's going to be membership data per person, however, > > at the same time the person may be a contact to an external > > organization for part of their projects, or it may be some completely > > unrelated person. > > > > Here's my question: > > > > Should I have only one table, called say People, or should I have two > > seperate tables of data: Members and Contacts? > > > > Option A would require intermediate tables linking anything to the > > people table, but Option B would maintain duplicate data for members > > that are also in external contact organizations. > > > > Any suggestions? > > > > Thanks! > > -- > > Josh McFarlane > > > > "Peace cannot be kept by force. It can only be achieved by understanding." > > -Albert Einstein > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From wdhindman at bellsouth.net Mon Nov 14 06:33:24 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 14 Nov 2005 07:33:24 -0500 Subject: [AccessD] System Colors References: <200511140341.jAE3fXJ30661@databaseadvisors.com> Message-ID: <000301c5e917$9b076580$6101a8c0@JISREGISTRATION.local> ...thanks Arthur, but I figured it out ...another "duh" moment :) ...I used CallByName to pull a module function that properly closes any open forms first ...I need the treeview switchboard (tvsb) to work as a full blown switchboard ...after futzing around with many different approaches over the last couple of years, including both your's, Bryan's, and several other treeview switchboard samples, I could never find one that did what "I" wanted it to do ...most try to use the native MS switchboard table structure, or mods thereof, and its inherent limitations ...and I finally abandoned that and cobbled together some code and ideas that I' learned along the way ...I'm using a table structure that gives me both function calls and openargs as well as the image index in addition to the calls the normal MS switchboard provides ...one of the things that I learned early on is that a tvsb looks great but is inherently limited in its interaction with forms and reports other than opening them ...the native sb has that limitation as well but I know of no one trying to use it as I want to do ...I'm doing a port of a major legacy app for a client and I'm trying to incorporate the tvsb as its core nav component ...one main form with all other objects as subs or dialog calls ...not the easiest thing to code, at least for me, but so far I've managed to beat anything that's raised it's head. ...Bryan Carbonell wrote a great little treeview switchboard wizard that I'm going to port to my table structure once I get the bugs in it worked out ...and when/if I get most of the bugs worked out I'll post a sample of the front end for critique. William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 13, 2005 10:41 PM Subject: Re: [AccessD] System Colors >I don't think that a treeview node should call Application.Quit, even if >you > do figure out a way to do it. Instead tie that event to the OnClose method > of the form, IMO. > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: November 12, 2005 6:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] System Colors > > ...been beatin' my head most of today trying to get a treeview node to > call > an application.quit ...did I mention lately that I hate microsoft :) > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Mon Nov 14 06:53:51 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 14 Nov 2005 07:53:51 -0500 Subject: [AccessD] Design Question References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <000701c5e91a$76dd4000$6101a8c0@JISREGISTRATION.local> ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 12:38 AM Subject: [AccessD] Design Question > Hey guys got a quick question about design. > > I'm making a database for a non-profit service organization I'm > working for. There's going to be membership data per person, however, > at the same time the person may be a contact to an external > organization for part of their projects, or it may be some completely > unrelated person. > > Here's my question: > > Should I have only one table, called say People, or should I have two > seperate tables of data: Members and Contacts? > > Option A would require intermediate tables linking anything to the > people table, but Option B would maintain duplicate data for members > that are also in external contact organizations. > > Any suggestions? > > Thanks! > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Nov 14 14:41:09 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Mon, 14 Nov 2005 14:41:09 (MET) Subject: [AccessD] date format Message-ID: <200511141341.jAEDf9GA017452@mailhostC.plex.net> Hello Group, i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? TIA Pedro Janssen From harkinsss at bellsouth.net Mon Nov 14 07:51:01 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 14 Nov 2005 08:51:01 -0500 Subject: [AccessD] Design Question In-Reply-To: <000701c5e91a$76dd4000$6101a8c0@JISREGISTRATION.local> Message-ID: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> I'm with William on this one. I'd have just one table of people and use another table to track their roles. Susan H. ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. From cyx5 at cdc.gov Mon Nov 14 07:53:46 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 14 Nov 2005 08:53:46 -0500 Subject: [AccessD] date format Message-ID: Did you check your control panel to see the default format for dates? That has caused me problems in the past. Just a thought. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Monday, November 14, 2005 9:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] date format Hello Group, i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 14 10:34:01 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Nov 2005 08:34:01 -0800 Subject: [AccessD] Design Question Message-ID: That sounds pretty much like the way I do it too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 14, 2005 4:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William From jwcolby at ColbyConsulting.com Mon Nov 14 10:42:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 11:42:54 -0500 Subject: [AccessD] Design Question In-Reply-To: Message-ID: <002301c5e93a$7673c240$667aa8c0@ColbyM6805> Yea, William just prides himself on being different. I didn't want to break the news to him... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question That sounds pretty much like the way I do it too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 14, 2005 4:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 14 10:52:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 08:52:21 -0800 Subject: [AccessD] Design Question References: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <4378C0C5.4000801@shaw.ca> Here is a data model example using people and roles People in households and companies - modelling human relationships http://allenbrowne.com/AppHuman.html Susan Harkins wrote: >I'm with William on this one. I'd have just one table of people and use >another table to track their roles. > >Susan H. > >...as usual, I do it a bit differently ...master table for "entity" with an >ID, and type ...one to one child tables for orgs and persons using the >entity ID ...then build a many to one role table as child to the master in >which the entity can show in several different roles without denormalizing >the relationships or data ...then you can show the person's role in both >internal and external orgs ...hope that makes sense. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Nov 14 11:13:24 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 09:13:24 -0800 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> Message-ID: <4378C5B4.5080008@shaw.ca> This might help International Dates in Access http://allenbrowne.com/ser-36.html Also here is code to determine regional control panel settings http://www.mvps.org/access/api/api0017.htm called like so '?fLocaleInfo(LOCALE_SSHORTDATE) '?fLocaleInfo(LOCALE_SENGCOUNTRY) pedro at plex.nl wrote: >Hello Group, > >i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. >When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: >{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} > >How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? > >When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? > >TIA > >Pedro Janssen > > -- Marty Connelly Victoria, B.C. Canada From dmcafee at pacbell.net Mon Nov 14 12:00:50 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 14 Nov 2005 10:00:50 -0800 Subject: [AccessD] Trap for Error In-Reply-To: <437768A3.5080300@nanaimo.ark.com> Message-ID: You can put a label above they text box that reads "75 characters left". In design mode, right-click on the text field in question, then properties. In the events tab, click in the On Change event field. a button with 3 dots will appear, click it. You should now be in the VBA editor. Place the following code (renaming the label and textbox name to those of yours: Private Sub MyTextBoxName_Change() If Len(Me.MyTextBoxName.Text) < 76 Then Me.MyLabelName.Caption = (75 - Len(Me.MyTextBoxName.Text)) & " characters left" Else MsgBox "You have exceeded the amount of characters allowed in this box", , "Too much info!" Me.MyTextBoxName = Left(Me.MyTextBoxName.Text, 75) Me.MyTextBoxName.SelStart = 75 Me.MyLabelName.Caption = "0 characters left" End If End Sub If your form is unbound, or doesn't allow navigation between records then you should be fine with only the code above. If you do allow navigation between records, then you will need to add this line to the On Current event of the FORM, so the correct number of available characters are displayed on the label: Me.MyLabelName.Caption = (75 - Len(Me.MyTextBoxName.Text)) & " characters left" I have a working sample if you need one. Hope this helps, David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Sunday, November 13, 2005 8:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Does anyone know how to trap for the error message "The text is too long to be edited", when someone trys to paste text, into a field, that exceeds the maximum characters for that field. I would just like to change the message to something a little more informative for the user, like "The text is too long maximum characters allowed 75" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Mon Nov 14 13:11:49 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 14 Nov 2005 11:11:49 -0800 Subject: [AccessD] Trap for Error Message-ID: <4378E175.4050306@nanaimo.ark.com> Hey All Thanks again. But I could not trap (and I don't think you can, using the form control events) for the Paste from clipboard error " "The text is too long to be edited". So I trap for it on the on keydown event for the text box. ClipBoard_GetData() = Is a function (not mine) that will allow you to get the text currently stored in the clipboard. Hope this may be of use to others. Dim msg As String If Shift = 2 Then If KeyCode = 86 Then 'or vbKeyP If Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) > 125 Then DoCmd.Beep msg = "The text you are trying to paste creates an entry that is too long " & Chr(13) & Chr(13) msg = msg & "Non - selected text - " & (Len(Me!DName.Text) - Len(Me!DName.SelText)) & Chr(13) msg = msg & "Plus Text to Paste - " & Len(ClipBoard_GetData()) & Chr(13) msg = msg & "Equals - " & Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) & " characters..." & Chr(13) & Chr(13) MsgBox msg & "The maximum number of characters for this entry is 125.", 48, "MyChecker" Shift = 0 KeyCode = 0 End If End If End If If Shift = 1 Then If KeyCode = vbKeyInsert Then If Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) > 125 Then DoCmd.Beep msg = "The text you are trying to paste creates an entry that is too long " & Chr(13) & Chr(13) msg = msg & "Non - selected text - " & (Len(Me!DName.Text) - Len(Me!DName.SelText)) & Chr(13) msg = msg & "Plus Text to Paste - " & Len(ClipBoard_GetData()) & Chr(13) msg = msg & "Equals - " & Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) & " characters..." & Chr(13) & Chr(13) MsgBox msg & "The maximum number of characters for this entry is 125.", 48, "MyChecker" Shift = 0 KeyCode = 0 End If End If End From pedro at plex.nl Mon Nov 14 13:22:14 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 20:22:14 +0100 Subject: [AccessD] date format References: Message-ID: <003001c5e950$bd4c0ae0$4001a8c0@laptop> Hello Karen, the default format for dates in the control panel is Ok. Thanks ps. do you have time to look at the structure of the database i send you? I have send you ofline two emails, but did not receive an answer. Pedro Janssen ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 2:53 PM Subject: Re: [AccessD] date format > Did you check your control panel to see the default format for dates? > That has caused me problems in the past. Just a thought. > > > Karen S. Nicholson > Programmer Analyst > EG&G Technical Services, Inc. > Pittsburgh, PA > Phone: 412-386-6649 > Email: cyx5 at cdc.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl > Sent: Monday, November 14, 2005 9:41 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] date format > > Hello Group, > > i have to date-fields in a table, both with the same preferences and > both display there data in format dd-MM-yyyy. > When i use mailmerge with word, with the prps.item i get a different > result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function > TodayDate is used, this gives dd-MM-yyyy. I now have changed the > different format in the worddocument, to the same output, by using: > {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY > "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} > > How is possible that two the same fields in access give different > results? Is there a hidden format in the date fields? > > When the Date-seperator in the country-preferences is choosen as "-", > how can access gives "\" as seperator and why not in TodayDate? > > TIA > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Nov 14 13:30:45 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 20:30:45 +0100 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> <4378C5B4.5080008@shaw.ca> Message-ID: <003101c5e951$f45374a0$4001a8c0@laptop> Thanks for the help Marty, but something strange is going on. This morning i mailmerged eight times data from access into word. Three times the dataformat for one field (DDatum) was different as the other five. These three were actualy good, because i changed the format for the wrong outcome, so that i received the right date. So now i even can't adjust the format wrong or good, because it is changing during the different mailmerge's. Could it have something to do with citrix. We use 15 different servers for access? I thought that the regional control panel settings were the default settings? Pedro Janssen ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 6:13 PM Subject: Re: [AccessD] date format > This might help International Dates in Access > http://allenbrowne.com/ser-36.html > > Also here is code to determine regional control panel settings > http://www.mvps.org/access/api/api0017.htm > called like so > > '?fLocaleInfo(LOCALE_SSHORTDATE) > '?fLocaleInfo(LOCALE_SENGCOUNTRY) > > pedro at plex.nl wrote: > >>Hello Group, >> >>i have to date-fields in a table, both with the same preferences and both >>display there data in format dd-MM-yyyy. >>When i use mailmerge with word, with the prps.item i get a different >>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>TodayDate is used, this gives dd-MM-yyyy. I now have changed the different >>format in the worddocument, to the same output, by using: >>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >> >>How is possible that two the same fields in access give different results? >>Is there a hidden format in the date fields? >> >>When the Date-seperator in the country-preferences is choosen as "-", how >>can access gives "\" as seperator and why not in TodayDate? >> >>TIA >> >>Pedro Janssen >> >> > > -- > 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 Mon Nov 14 13:33:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 14:33:11 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <006101c5e888$ba7a7130$017ba8c0@xpserver> Message-ID: <002f01c5e952$405a0a80$667aa8c0@ColbyM6805> I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dmcafee at pacbell.net Mon Nov 14 13:39:39 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 14 Nov 2005 11:39:39 -0800 Subject: [AccessD] Trap for Error In-Reply-To: <4378E175.4050306@nanaimo.ark.com> Message-ID: The event that I mentioned isn't a form event, it is a control event. In design mode, you have to click on the text box in question, then choose properties (either by clicking on the tool bar icon which looks like a finger pointing at a paper. or by right clicking on the control and choosing properties. With the code that I just sent you (OnChange event), you dont have to worry about the clip board, it warns you that too many characters have been entered and then it truncates the text to 75 characters. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Monday, November 14, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Thanks again. But I could not trap (and I don't think you can, using the form control events) for the Paste from clipboard error " "The text is too long to be edited". So I trap for it on the on keydown event for the text box. ClipBoard_GetData() = Is a function (not mine) that will allow you to get the text currently stored in the clipboard. Hope this may be of use to others. From KIsmert at texassystems.com Mon Nov 14 14:20:00 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 14 Nov 2005 14:20:00 -0600 Subject: [AccessD] Trap for Error Message-ID: Tony, Here's some form-level error handling code I have written. I just drop into my forms when I need form-level error handling. You can call if from any procedure in the form, and hook it to the Form_Error event. * It uses Screen.ActiveControl to find the offending control * It assumes you have descriptive text in the control's .ValidationText field You can comment out parts you don't need, and customize the error messages as you see fit. Not fancy, but gets the job done. -Ken ' Provides Customizable List of Errors for Form. Can be ' called from Procedure error handlers, or Form_Error ' ' Automatically handles User-defined errors in the range of ' vbObjectError To (vbObjectError + 65535) ' ' Call from Procedure error handler: ' ErrorDisplay "ProcName" ' ' Call from Form_Error: ' Response = acDataErrContinue ' ErrorDisplay Me.Name & ".Form_Error", DataErr ' Private Sub ErrorDisplay(Optional ByVal sCalledBy As String = "", _ Optional ByVal lAccessFormError As Long = 0) Dim rCtl As Access.Control Dim lErrNumber As Long Dim sErrDescription As String Dim sErrSource As String ' Record Error If Err.Number <> 0 Then lErrNumber = Err.Number sErrDescription = Err.Description sErrSource = Err.Source Else Debug.Assert lAccessFormError <> 0 lErrNumber = lAccessFormError sErrDescription = AccessError(lAccessFormError) sErrSource = "" End If If sCalledBy > " " Then sErrSource = sCalledBy & vbCrLf & sErrSource End If ' Resets Err object On Error GoTo HandleErr Select Case lErrNumber Case pcErrVBInputMask Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetFieldRequired ' Use "Not Is Null" validation on field Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetDuplicateValues ' Duplicate Item number for BOM MsgBox "Duplicate Item Number" & vbCr & vbCr _ & "Item " & txtItem & " is already in this BOM." & vbCr & vbCr _ & "Enter a unique new Item Number.", vbExclamation, AppTitle Case pcErrJetFieldValidation, pcErrJetValidation, pcErrJetAppError ' Validation failed Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetCantSaveObject MsgBox "Changes to this record are invalid and will not be saved.", vbExclamation, AppTitle Case pcErrVBObjectVarNotSet ' Some earlier error forced reset of Interpreter MsgBox "Warning: " & vbCr & vbCr _ & "This form has experienced a severe error," & vbCr _ & "and will be closed." & vbCr & vbCr _ & "Call IT with a description of the previous error.", vbCritical, AppTitle DoCmd.Close acForm, Me.Name, acSavePrompt Case vbObjectError To (vbObjectError + 65535) ' Friendly Object Errors MsgBox sErrDescription, vbExclamation, AppTitle Case Else MsgBox "Error: " & lErrNumber & vbCrLf _ & sErrDescription & vbCrLf _ & "Source: " & sErrSource, vbCritical, AppTitle End Select Exit Sub HandleErr: MsgBox "Error: " & Err.Number & vbCrLf _ & Err.Description & vbCrLf _ & "Source: ErrorDisplay" & vbCrLf & Err.Source, vbCritical, AppTitle Exit Sub End Sub -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Sunday, November 13, 2005 2:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Thanks for your responses. That is what I was inquring about, the error message does not seem to be fired by any control event (but I will try them all again, I may have missed something), but rather during the process of pressing Ctrl V to paste the text into the textbox. Anyway onwards and upwards, thanks again. From cfoust at infostatsystems.com Mon Nov 14 14:28:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Nov 2005 12:28:44 -0800 Subject: [AccessD] Building classes for tables Message-ID: Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 14:39:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 15:39:10 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <003401c5e95b$77e29180$667aa8c0@ColbyM6805> 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 14 14:49:48 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 14:49:48 -0600 Subject: [AccessD] Building classes for tables In-Reply-To: <15999826.1131997055495.JavaMail.root@sniper19> Message-ID: <000301c5e95c$f3da7310$0200a8c0@danwaters> This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 14:55:08 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 15:55:08 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <000301c5e95c$f3da7310$0200a8c0@danwaters> Message-ID: <003501c5e95d$b31cb300$667aa8c0@ColbyM6805> LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 14 15:01:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 13:01:32 -0800 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> <4378C5B4.5080008@shaw.ca> <003101c5e951$f45374a0$4001a8c0@laptop> Message-ID: <4378FB2C.3060402@shaw.ca> You may have different user profiles on different servers, haven't played with citrix too much I believe there are several ways of setting this via Citrix. You might want to call Dev Ashish code to display locale and keyboard settings to check when running By the way I have heard there are problems with Mail Merge and latest Office XP and 2003 Service Pack released in last month. > > CTX103288 - How to ensure users have the desired regional settings > > http://ctxex10.citrix.com/kb/entry.jspa?externalID=CTX103288 > > you can use this setlocale command line tool. you can add it to your > login script. it will then "reset" the regional settings each time a > user logs on. you will not have to reboot or logoff first. > > > http://www.spectrodisplay.nl/download/setlocale.zip Pedro Janssen wrote: >Thanks for the help Marty, > >but something strange is going on. >This morning i mailmerged eight times data from access into word. >Three times the dataformat for one field (DDatum) was different as the other >five. These three were actualy good, because i changed the format for the >wrong outcome, so that i received the right date. So now i even can't adjust >the format wrong or good, because it is changing during the different >mailmerge's. > >Could it have something to do with citrix. We use 15 different servers for >access? I thought that the regional control panel settings were the default >settings? > >Pedro Janssen > > > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Monday, November 14, 2005 6:13 PM >Subject: Re: [AccessD] date format > > > > >>This might help International Dates in Access >>http://allenbrowne.com/ser-36.html >> >>Also here is code to determine regional control panel settings >>http://www.mvps.org/access/api/api0017.htm >>called like so >> >>'?fLocaleInfo(LOCALE_SSHORTDATE) >>'?fLocaleInfo(LOCALE_SENGCOUNTRY) >> >>pedro at plex.nl wrote: >> >> >> >>>Hello Group, >>> >>>i have to date-fields in a table, both with the same preferences and both >>>display there data in format dd-MM-yyyy. >>>When i use mailmerge with word, with the prps.item i get a different >>>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>>TodayDate is used, this gives dd-MM-yyyy. I now have changed the different >>>format in the worddocument, to the same output, by using: >>>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >>> >>>How is possible that two the same fields in access give different results? >>>Is there a hidden format in the date fields? >>> >>>When the Date-seperator in the country-preferences is choosen as "-", how >>>can access gives "\" as seperator and why not in TodayDate? >>> >>>TIA >>> >>>Pedro Janssen >>> >>> >>> >>> >>-- >> > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Mon Nov 14 15:08:48 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 15:08:48 -0600 Subject: [AccessD] Building classes for tables In-Reply-To: <21854665.1132000802917.JavaMail.root@sniper21> Message-ID: <000001c5e95f$9ba7fd90$0200a8c0@danwaters> I should have figured it was you! By the way, I was reading through your chapter on WithEvents last night. I'll see if I can come up with something useful to do with it. The instructional writing style worked well for me - I need a lot of repetition. And it helps to read the same thing again, just stated differently. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Nov 14 15:36:35 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 22:36:35 +0100 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net><4378C5B4.5080008@shaw.ca> <003101c5e951$f45374a0$4001a8c0@laptop> <4378FB2C.3060402@shaw.ca> Message-ID: <002501c5e963$7d209a90$4001a8c0@laptop> Thanks Marty, i will check this. Pedro ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 10:01 PM Subject: Re: [AccessD] date format > You may have different user profiles on different servers, haven't > played with citrix too much > I believe there are several ways of setting this via Citrix. > You might want to call Dev Ashish code to display locale and keyboard > settings to check when running > By the way I have heard there are problems with Mail Merge and latest > Office XP and 2003 Service Pack released in last month. > >> >> CTX103288 - How to ensure users have the desired regional settings >> >> http://ctxex10.citrix.com/kb/entry.jspa?externalID=CTX103288 >> >> you can use this setlocale command line tool. you can add it to your >> login script. it will then "reset" the regional settings each time a >> user logs on. you will not have to reboot or logoff first. >> >> >> http://www.spectrodisplay.nl/download/setlocale.zip > > > > Pedro Janssen wrote: > >>Thanks for the help Marty, >> >>but something strange is going on. >>This morning i mailmerged eight times data from access into word. >>Three times the dataformat for one field (DDatum) was different as the >>other >>five. These three were actualy good, because i changed the format for the >>wrong outcome, so that i received the right date. So now i even can't >>adjust >>the format wrong or good, because it is changing during the different >>mailmerge's. >> >>Could it have something to do with citrix. We use 15 different servers for >>access? I thought that the regional control panel settings were the >>default >>settings? >> >>Pedro Janssen >> >> >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Monday, November 14, 2005 6:13 PM >>Subject: Re: [AccessD] date format >> >> >> >> >>>This might help International Dates in Access >>>http://allenbrowne.com/ser-36.html >>> >>>Also here is code to determine regional control panel settings >>>http://www.mvps.org/access/api/api0017.htm >>>called like so >>> >>>'?fLocaleInfo(LOCALE_SSHORTDATE) >>>'?fLocaleInfo(LOCALE_SENGCOUNTRY) >>> >>>pedro at plex.nl wrote: >>> >>> >>> >>>>Hello Group, >>>> >>>>i have to date-fields in a table, both with the same preferences and >>>>both >>>>display there data in format dd-MM-yyyy. >>>>When i use mailmerge with word, with the prps.item i get a different >>>>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>>>TodayDate is used, this gives dd-MM-yyyy. I now have changed the >>>>different >>>>format in the worddocument, to the same output, by using: >>>>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>>>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >>>> >>>>How is possible that two the same fields in access give different >>>>results? >>>>Is there a hidden format in the date fields? >>>> >>>>When the Date-seperator in the country-preferences is choosen as "-", >>>>how >>>>can access gives "\" as seperator and why not in TodayDate? >>>> >>>>TIA >>>> >>>>Pedro Janssen >>>> >>>> >>>> >>>> >>>-- >>> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Mon Nov 14 16:04:22 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 09:04:22 +1100 Subject: [AccessD] Design Question References: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> <4378C0C5.4000801@shaw.ca> Message-ID: <002d01c5e967$5f39e460$6501a8c0@user> That's a great one - perfect for lots of businesses which struggle with family level and personal data etc. Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 3:52 AM Subject: Re: [AccessD] Design Question Here is a data model example using people and roles People in households and companies - modelling human relationships http://allenbrowne.com/AppHuman.html Susan Harkins wrote: >I'm with William on this one. I'd have just one table of people and use >another table to track their roles. > >Susan H. > >...as usual, I do it a bit differently ...master table for "entity" with an >ID, and type ...one to one child tables for orgs and persons using the >entity ID ...then build a many to one role table as child to the master in >which the entity can show in several different roles without denormalizing >the relationships or data ...then you can show the person's role in both >internal and external orgs ...hope that makes sense. > > > > > -- 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 DWUTKA at marlow.com Mon Nov 14 16:14:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 14 Nov 2005 16:14:45 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA6005@main2.marlow.com> I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Mon Nov 14 17:56:05 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 10:56:05 +1100 Subject: [AccessD] OT: OEM software bundles Message-ID: <000a01c5e976$fa436260$6501a8c0@user> Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath From darsant at gmail.com Mon Nov 14 18:06:30 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:06:30 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <53c8e05a0511141606q154813e6w5af4b36ddc0a8f86@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? > > Some of these bundles do look tempting: http://www.softdisks.net Legit OEM is the exact same as retail, minus any support options. IIRC, around SP1, WinXP Pro was $130 cost from Teir 1 distribution. If you have access to legal distributors such as Ingram Micro, then by all means, buy OEM when you're building the machines yourself. Technically it is suppose to be sold with a piece of hardware, which is why it's slightly discounted (but not a giant discount) Anything that is priced such as that site, well, is illegal. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From darsant at gmail.com Mon Nov 14 18:10:33 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:10:33 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dba.email at gmail.com Mon Nov 14 18:12:45 2005 From: dba.email at gmail.com (Admin Sparky) Date: Mon, 14 Nov 2005 19:12:45 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <5f2de2420511141612r2c937023s378bbe0cea0a4dfd@mail.gmail.com> I can't speak for the Office versions because I utilize a company perk "home use" program for that, but as for Windows XP...yes, I use an OEM version of Windows XP. My original copy (media and license) was purchased legitimately with hardware as required. I then copied my original CD and slipstreamed in SP2. For my additional machines, I purchased several OEM licenses (sticker only, no media). I use my slipstreamed copy of the CD when installing/reinstalling with the appropriate license. IIRC, the cost per license was ~$140 per sticker...versus $200 for the retail box. Mark On 11/14/05, Kath Pelletti wrote: > > Have any of you purchased or considered purchasing OEM versions of Office > or Windows? > > Is there any guarantee at all that it will be the full version? And how do > MS handle the activation aspect of Office with these versions? Can they be > re-installed? It seems to be very difficult to find a list of *all* of the > limitations of the OEM's. Is it in the hands of the distributor to select > what goes into the package? > > Some of these bundles do look tempting: http://www.softdisks.net > > Kath > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Mon Nov 14 18:31:51 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 11:31:51 +1100 Subject: [AccessD] OT: OEM software bundles References: <000a01c5e976$fa436260$6501a8c0@user> <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> Message-ID: <000b01c5e97b$f9110aa0$6501a8c0@user> Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 18:40:20 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:40:20 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000b01c5e97b$f9110aa0$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> <000b01c5e97b$f9110aa0$6501a8c0@user> Message-ID: <53c8e05a0511141640h198877f0t4ba7e29eb2822ba1@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) > > Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) > > ? > Kath For Retail vs OEM Windows, that's the only difference. Just to make it clear, OEM Windows licenses can only be legally installed on one computer at a time. You make the call to them to activate it if you have to change hardware or machines (like if it gets hit by lightning). Installing it on two computers is a no-no. Granted, at the time, retail windows was $159, and OEM was $130-139 in a 3 pack, so the price savings isn't drastic, but any website offering it for under $100 with some spiel about no COA is complete crap. All Windows offer COA, so don't buy without it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From kathryn at bassett.net Mon Nov 14 18:41:39 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 14 Nov 2005 16:41:39 -0800 Subject: [AccessD] Anybody using SmartListToGo with Access? Message-ID: <20051114164143.59D229A1@dm16.mta.everyone.net> DataViz has a Palm program that synchs with Access http://www.dataviz.com/products/smartlisttogo/index.html I have an Access2000 file called books that has 3 tables - books, authors, and status. Books table has ID number as primary key, title and memo are text fields, and tblAuthorLookup and tblStatusLookup. I can provide a zipped copy if needed. I'm new to SmartListToGo and working with trial version to see if I can get this to work. If it does, I intend to buy program. In the SmartList To Go User Reviews, it says in part "SmartList To Go is a complete database manager, including the major functions from Access. The one-to-many function makes more than lists, allowing you to link across several tables" That implies to me that I can link to a query that draws from more than one table. However, when I try linking to my query (Books Query order by Author) it says "The query you have selected cannot be synchronized because it is based on more than one source table. Please select a different table or query." If I choose the Books table, then it gives the ID number of the authors and status, instead of the author and the status. So the question is, can I do what I want to do, which is to have the authors and the status show? If not, then is there someone who can tell me what (easy) changes to make to my database so that it is possible? In case it makes a difference, for this database, I will not need to synch from the Palm back to Desktop, as all my changes will be in Access. I plan to use it when shopping for books so that I don't get a duplicate. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From KP at sdsonline.net Mon Nov 14 18:47:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 11:47:21 +1100 Subject: [AccessD] OT: OEM software bundles References: <000a01c5e976$fa436260$6501a8c0@user><53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com><000b01c5e97b$f9110aa0$6501a8c0@user> <53c8e05a0511141640h198877f0t4ba7e29eb2822ba1@mail.gmail.com> Message-ID: <001901c5e97e$23f5f580$6501a8c0@user> Yeah - I've since had a talk to MS to clarify some of the issues and they do not authorise OEM software for sale unless it is packages with a hardware bundle (Therefore software bought alone would be considered illegal) and you're right - it can only be one one PC. Thanks Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:40 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) > > Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) > > ? > Kath For Retail vs OEM Windows, that's the only difference. Just to make it clear, OEM Windows licenses can only be legally installed on one computer at a time. You make the call to them to activate it if you have to change hardware or machines (like if it gets hit by lightning). Installing it on two computers is a no-no. Granted, at the time, retail windows was $159, and OEM was $130-139 in a 3 pack, so the price savings isn't drastic, but any website offering it for under $100 with some spiel about no COA is complete crap. All Windows offer COA, so don't buy without it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 19:22:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 20:22:23 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000b01c5e97b$f9110aa0$6501a8c0@user> Message-ID: <003e01c5e983$08d40f30$667aa8c0@ColbyM6805> >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 19:54:10 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 19:54:10 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> Hi Kath, I use OEM quite a bit. I would be very skeptical of this site. Prices are too low and they are not being upfront about things. For instance the Adobe Creative Suite is now v2 the one they describe would be v1 because it has Acrobat 6 included. They don't state this anywhere that I can see. Deceptive. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 5:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dajomigo at tpg.com.au Mon Nov 14 19:56:00 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 12:56:00 +1100 Subject: [AccessD] Delete button on continuous form Message-ID: <6.2.1.2.2.20051115124043.0360f0b0@mail.tpg.com.au> I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions From Bruce.Bruen at railcorp.nsw.gov.au Mon Nov 14 20:22:23 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 15 Nov 2005 13:22:23 +1100 Subject: [AccessD] MySQL Newbie Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02A@EXCHVS1.rail.nsw.gov.au> Consider PostgreSQL also - I found it a lot easier! bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Friday, 4 November 2005 4:20 AM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL Newbie Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From michael at ddisolutions.com.au Mon Nov 14 20:31:41 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2005 13:31:41 +1100 Subject: [AccessD] Delete button on continuous form Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> Hi David, Been a while since I've used Access forms but I suspect the edit caused by the type change needs to be saved before you delete. Why do you want to edit and then delete? ;-))) Try docmd.saverecord or something like that after the edit???? cheers Michael M www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Tuesday, 15 November 2005 12:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] Delete button on continuous form I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 20:33:42 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 21:33:42 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <123701F54509D9119A4F00D0B7473490EA6005@main2.marlow.com> Message-ID: <004401c5e98c$ff3565f0$667aa8c0@ColbyM6805> I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 20:36:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 21:36:44 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <000001c5e95f$9ba7fd90$0200a8c0@danwaters> Message-ID: <004501c5e98d$6b8f2150$667aa8c0@ColbyM6805> >By the way, I was reading through your chapter on WithEvents last night. >From the VBA book? I rather liked that chapter. >I'll see if I can come up with something useful to do with it. LOL. Think controls and forms (and OCXs), and code that is used over and over again from form to form. I use that stuff pretty much weekly now that I know how. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 4:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I should have figured it was you! By the way, I was reading through your chapter on WithEvents last night. I'll see if I can come up with something useful to do with it. The instructional writing style worked well for me - I need a lot of repetition. And it helps to read the same thing again, just stated differently. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 14 20:54:38 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 20:54:38 -0600 Subject: [AccessD] Delete button on continuous form In-Reply-To: <295573.1132020146676.JavaMail.root@sniper17> Message-ID: <000001c5e98f$ec8520f0$0300a8c0@danwaters> David, In the code behind the Delete button, try inserting the code: Me.Undo Before the actual delete code. This will get rid of the unsaved changes which might be causing your error message. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Monday, November 14, 2005 7:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] Delete button on continuous form I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 21:00:16 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 21:00:16 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> References: <000a01c5e976$fa436260$6501a8c0@user> <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> Message-ID: <53c8e05a0511141900k493eb0c4yba4774a7d9b45d8c@mail.gmail.com> On 11/14/05, John Bartow wrote: > Hi Kath, > I use OEM quite a bit. I would be very skeptical of this site. Prices are > too low and they are not being upfront about things. For instance the Adobe > Creative Suite is now v2 the one they describe would be v1 because it has > Acrobat 6 included. They don't state this anywhere that I can see. > Deceptive. Not to mention, there is no such thing as DSP Windows, nor an OEM Windows without the holographic CD (if memory serves, Office is on a holograph too, completely different than their pictures) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dajomigo at tpg.com.au Mon Nov 14 21:43:48 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 14:43:48 +1100 Subject: [AccessD] Delete button on continuous form In-Reply-To: <000001c5e98f$ec8520f0$0300a8c0@danwaters> References: <295573.1132020146676.JavaMail.root@sniper17> <000001c5e98f$ec8520f0$0300a8c0@danwaters> Message-ID: <6.2.1.2.2.20051115144325.03628498@mail.tpg.com.au> Thanks, Dan It worked perfectly. David At 01:54 PM 15/11/2005, you wrote: >David, > >In the code behind the Delete button, try inserting the code: > > Me.Undo > >Before the actual delete code. This will get rid of the unsaved changes >which might be causing your error message. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: Monday, November 14, 2005 7:56 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Delete button on continuous form > >I am working on a database for a video library. The hire form has a >continuous form that has a delete button on each row. The users can also >double-click on the combo box for selecting the movie title to change the >rental type (eg overnight to weekly, etc). This is what causes the problem. >The delete button was created using the wizard. If the user hasn't change >the rental type then the delete button works fine. If they have they will >get a message "Write conflict" telling them that another user has made >changes to the record. They then have three choices: > >Save record: This gets the message "The record cannot be deleted or changed >because 'tblHires' includes related records" >Copy to Clipboard: This gets the message "No Current record" and then >deletes the details as I wanted >Drop Changes: This does the same thing as the Copy to Clipboard option. > >I believe I either need to make a change to the code used to change the >Rental type (probably the right way to fix it) or find a way to suppress >the error message when I am deleting so the user isn't bothered by it. I >have tried turning warnings off but it made no difference. > >TIA > >David Gould >DG Solutions > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dajomigo at tpg.com.au Mon Nov 14 21:47:30 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 14:47:30 +1100 Subject: [AccessD] Delete button on continuous form In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> Message-ID: <6.2.1.2.2.20051115144602.036136e0@mail.tpg.com.au> Thanks for your suggestion, Michael, didn't do the trick but Dan's suggestion got rid of the error message. The only reason to let the user delete after modifying is to give them the choice. David At 01:31 PM 15/11/2005, you wrote: > Hi David, > >Been a while since I've used Access forms but I suspect the edit caused >by the type change >needs to be saved before you delete. Why do you want to edit and then >delete? ;-))) >Try docmd.saverecord or something like that after the edit???? > >cheers > >Michael M > >www.ddisolutions.com.au > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & >Joanne Gould >Sent: Tuesday, 15 November 2005 12:56 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Delete button on continuous form > >I am working on a database for a video library. The hire form has a >continuous form that has a delete button on each row. The users can also >double-click on the combo box for selecting the movie title to change >the rental type (eg overnight to weekly, etc). This is what causes the >problem. >The delete button was created using the wizard. If the user hasn't >change the rental type then the delete button works fine. If they have >they will get a message "Write conflict" telling them that another user >has made changes to the record. They then have three choices: > >Save record: This gets the message "The record cannot be deleted or >changed because 'tblHires' includes related records" >Copy to Clipboard: This gets the message "No Current record" and then >deletes the details as I wanted Drop Changes: This does the same thing >as the Copy to Clipboard option. > >I believe I either need to make a change to the code used to change the >Rental type (probably the right way to fix it) or find a way to suppress >the error message when I am deleting so the user isn't bothered by it. I >have tried turning warnings off but it made no difference. > >TIA > >David Gould >DG Solutions > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 21:49:17 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 21:49:17 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <53c8e05a0511141900k493eb0c4yba4774a7d9b45d8c@mail.gmail.com> Message-ID: <011b01c5e997$8db04480$6701a8c0@ScuzzPaq> True! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Monday, November 14, 2005 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, John Bartow wrote: > Hi Kath, > I use OEM quite a bit. I would be very skeptical of this site. Prices > are too low and they are not being upfront about things. For instance > the Adobe Creative Suite is now v2 the one they describe would be v1 > because it has Acrobat 6 included. They don't state this anywhere that I can see. > Deceptive. Not to mention, there is no such thing as DSP Windows, nor an OEM Windows without the holographic CD (if memory serves, Office is on a holograph too, completely different than their pictures) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Mon Nov 14 22:20:09 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 15:20:09 +1100 Subject: [AccessD] OT: OEM software bundles References: <003e01c5e983$08d40f30$667aa8c0@ColbyM6805> Message-ID: <002f01c5e99b$e03109c0$6501a8c0@user> John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 22:34:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 23:34:44 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <002f01c5e99b$e03109c0$6501a8c0@user> Message-ID: <011e01c5e99d$e7916550$667aa8c0@ColbyM6805> That's correct for WINDOWS. Each computer is expected to have an individual license for the Windows OS. You can however use (legally) Office on a laptop and a desktop as long as they aren't both in use at the same time. IOW, it is for the situation where a person has two computers, and switches between the laptop and desktop but doesn't use both at the same time. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 22:40:44 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 22:40:44 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <002f01c5e99b$e03109c0$6501a8c0@user> Message-ID: <012f01c5e99e$be2fdec0$6701a8c0@ScuzzPaq> OEM Windows is for one PC. Say your PC dies and you get a new box without an OS. Legally you are not supposed to move the copy of OEM Windows from the dead PC to the new box. If you change major parts you may have to re-register it and if you change too many parts then it may not work but I have never had that happen. I once changed out a motherboard (which many people say won't work) and it worked fine. OEM Office and other applications may be able to be installed on the original PC and a mobile device if used by the same person. With some of the newer applications you need to obtain a second install # from the company - sometimes for a small fee. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 10:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Mon Nov 14 22:49:25 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 15 Nov 2005 15:49:25 +1100 Subject: [AccessD] Counting group headers in a report (FAQ) Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02C@EXCHVS1.rail.nsw.gov.au> ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jwcolby at ColbyConsulting.com Mon Nov 14 23:08:20 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 00:08:20 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <012f01c5e99e$be2fdec0$6701a8c0@ScuzzPaq> Message-ID: <012601c5e9a2$99518f00$667aa8c0@ColbyM6805> >OEM Windows is for one PC. That's correct. An OEM version is supposed to come pre-installed on a specific PC, and when that PC dies, so does the license. If you buy a full version, then you own the license and when the PC dies you can legally transfer that license to another PC. In neither case are you legally allowed to use the license on a laptop as well as a desktop. As for APPLICATIONS, your rights to use them on a laptop and a desktop depends on the application itself. Microsoft Office allows this. I do not know that any other applications by Microsoft or other vendors do allow this. Some may but you should check your license to see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 14, 2005 11:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: OEM software bundles OEM Windows is for one PC. Say your PC dies and you get a new box without an OS. Legally you are not supposed to move the copy of OEM Windows from the dead PC to the new box. If you change major parts you may have to re-register it and if you change too many parts then it may not work but I have never had that happen. I once changed out a motherboard (which many people say won't work) and it worked fine. OEM Office and other applications may be able to be installed on the original PC and a mobile device if used by the same person. With some of the newer applications you need to obtain a second install # from the company - sometimes for a small fee. From Gustav at cactus.dk Tue Nov 15 04:51:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 11:51:44 +0100 Subject: [AccessD] OT: OEM software bundles Message-ID: Hi Kath That is, of course, pirated software. Guarantee ...? What do you think? We get spammed every day with offerings of that kind, like: --- Please visit our OEM software supertore! Please check our reduced price. MS Project 2003 Professional - $60 MS Visio 2003 Professional - $69.95 MS Office 2000 Premium Edition (2 CD Edition) - $59.95 Microsoft Office 2003 Professional (1 CD Edition) - $89.95 Corel Draw Graphics Suite 11 - $50 Windows NT 4.0 Terminal Server - $40 Windows 2k Pro - $59.95 MS Office 2k Premium Edition (2 CD) - $59.95 Windows XP Professional - $60 Win 95 - $49.95 FreeHand MX - $60 MS FileMaker 7.0 Professional - $69.95 MS Works 7 - $60 Windows NT 4.0 Server - $49.95 Fireworks MX 2004 - $60 --- Note the horrific price for MS Works. And Windows NT and 95 are certainly not available any more except in low volume at eBay and the like. Also note that the site is completely anonymous - which is no wonder if do your homework and look up the IP address and the city of that: http://www.dnsstuff.com/tools/city.ch?ip=221.11.133.99 IP: 221.11.133.99 Country: China City: Hainan, Hainan Country Code: CN Currency: CNY [China Yuan Renminbi] So no free lunch, and even when not free the taste is still ugly - if any, because chances are that if you buy a package you won't receive anything at all except the pleasure of having fed some Chinese criminals and payed a part of their Mercedes and learned a lesson. As a dealer I can tell you that margins on MS software are very low and magic/bargain/sell prices just don't exist. I always wonder why - and get a little disappointed too when - pros would even think of buying such stuff without first checking the advices and offerings at one of their trusted (local) suppliers. /gustav >>> KP at sdsonline.net 15-11-2005 00:56 >>> Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath From jimdettman at earthlink.net Tue Nov 15 06:12:47 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 15 Nov 2005 07:12:47 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: Kath, As the others have said, this is probably illegal, especially if you note the text at the bottom of their order form: "By pressing this button you agree that you are purchasing the software that does not come with any printed manual and a box. This software does NOT include any COA label or a sticker from the manufacturer. There is no technical support provided by the software manufacturer. All the software we offer in the English language ONLY. " No Certificate of authenticity; that pretty much says it right there. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 6:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 15 06:34:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 07:34:23 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: Message-ID: <013101c5e9e0$e95d9e60$667aa8c0@ColbyM6805> OK, I think Kathy is up to speed on pirated software. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, November 15, 2005 7:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Kath, As the others have said, this is probably illegal, especially if you note the text at the bottom of their order form: "By pressing this button you agree that you are purchasing the software that does not come with any printed manual and a box. This software does NOT include any COA label or a sticker from the manufacturer. There is no technical support provided by the software manufacturer. All the software we offer in the English language ONLY. " No Certificate of authenticity; that pretty much says it right there. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 6:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 15 09:23:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 15 Nov 2005 09:23:05 -0600 Subject: [AccessD] Counting group headers in a report (FAQ) In-Reply-To: <16135409.1132030402543.JavaMail.root@sniper14> Message-ID: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Bruce, Something that still gets me occasionally is when I have a text box on a report that has the same name as an underlying field. Make sure this isn't the case. The text boxes on the report automatically get the same name as the field if you've used a wizard to create the report. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Monday, November 14, 2005 10:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] Counting group headers in a report (FAQ) ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Nov 15 09:24:33 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 15 Nov 2005 10:24:33 -0500 Subject: [AccessD] Building classes for tables Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C40B4@TTNEXCHCL2.hshhp.com> I had mentioned a while back that I thought Arthur Fuller gave me such a class and he responded that he hadn't. If you search the archives you might find a reference to a tool he did mention. HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, November 14, 2005 9:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From mwp.reid at qub.ac.uk Tue Nov 15 09:32:59 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 15 Nov 2005 15:32:59 +0000 Subject: [AccessD] Access 12 In-Reply-To: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> References: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Message-ID: Some insights to Access 12 http://blogs.msdn.com/access/ Martin From harkinsss at bellsouth.net Tue Nov 15 09:33:55 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Tue, 15 Nov 2005 10:33:55 -0500 Subject: [AccessD] Counting group headers in a report (FAQ) In-Reply-To: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Message-ID: <20051115153355.YUAJ3361.ibm59aec.bellsouth.net@SUSANONE> I'm confused, you're counting group headers or the number of records in each group? Susan H. A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! From bheid at appdevgrp.com Tue Nov 15 09:51:04 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 15 Nov 2005 10:51:04 -0500 Subject: [AccessD] FastLaserPrinting? Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From Gustav at cactus.dk Tue Nov 15 10:03:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 17:03:12 +0100 Subject: [AccessD] FastLaserPrinting? Message-ID: Hi Bobby Good question. I've noticed any difference. /gustav >>> bheid at appdevgrp.com 15-11-2005 16:51 >>> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From jimdettman at earthlink.net Tue Nov 15 10:10:47 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 15 Nov 2005 11:10:47 -0500 Subject: [AccessD] FastLaserPrinting? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Message-ID: Bobby, I only play with it if a printer won't render the output the same as preview mode, although now that I think about it, it's been a *long* time since I needed to do that. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Tuesday, November 15, 2005 10:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FastLaserPrinting? Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 15 10:28:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 17:28:36 +0100 Subject: [AccessD] FastLaserPrinting? Message-ID: Sorry: I've never noticed any difference ... /gustav >>> Gustav at cactus.dk 15-11-2005 17:03 >>> Hi Bobby Good question. I've noticed any difference. /gustav >>> bheid at appdevgrp.com 15-11-2005 16:51 >>> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From cfoust at infostatsystems.com Tue Nov 15 10:39:48 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Nov 2005 08:39:48 -0800 Subject: [AccessD] Building classes for tables Message-ID: So you're trying to build the VBA equivalent of the dot net wizard that generates a typed dataset, right? You could use a typed dataset class as a model for the result and back into the code to build it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com From wdhindman at bellsouth.net Tue Nov 15 10:57:46 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 15 Nov 2005 11:57:46 -0500 Subject: [AccessD] FastLaserPrinting? References: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Message-ID: <000e01c5ea05$b45829e0$6101a8c0@JISREGISTRATION.local> ...fits under problems looking for a home :) ...I turn it off ...its designed to speed laser printing by replacing graphic lines and rectangles with the text equivalents ...one problem is that if you overlap any graphics ...which I do a lot of ...it'll screw them up ...the text gets only the top layer and the overlapped graphic now looks a mess ...besides which it doesn't work at all with postscript drivers and even with pcl drivers it can give you unexpected results from printer to printer. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 15, 2005 10:51 AM Subject: [AccessD] FastLaserPrinting? > Has anyone played around with this setting on the reports? After reading > the help file, it appears that on modern laser printers, this does not > matter. But I wanted to get the list's take on this. > > Thanks, > Bobby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Tue Nov 15 10:49:45 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 15 Nov 2005 11:49:45 -0500 Subject: [AccessD] Emailing Form Data Message-ID: I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From wdhindman at bellsouth.net Tue Nov 15 11:22:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 15 Nov 2005 12:22:45 -0500 Subject: [AccessD] Emailing Form Data References: Message-ID: <004801c5ea09$318bfbf0$6101a8c0@JISREGISTRATION.local> ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Tue Nov 15 11:33:22 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 15 Nov 2005 12:33:22 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks William. I'd like to lean more towards the 1st suggestion, as allowing access to a website is not in the client's scope for the current project. As I'm a complete novice to JavaScript, and HTML in general, do you have any examples of attaching a csv file to an HTML form? Thanks again. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 15, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 15 11:44:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 15 Nov 2005 11:44:54 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD84D@corp-es01.fleetpride.com> What is plain old form submit? Jim Hale -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 15, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Nov 15 12:26:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 15 Nov 2005 10:26:55 -0800 Subject: [AccessD] Emailing Form Data References: Message-ID: <437A286F.4060002@shaw.ca> A couple of other ways to do this. Although email is considered out of process workflow Email can get lost or never acted on. InfoPath Forms Email http://blogs.msdn.com/trobbins/archive/2005/06/16/430012.aspx InfoPath Via Sharepoint might avoid lost email http://msd2d.com/Content/Tip_viewitem_03.aspx?section=SharePoint&category=Development&id=40665054-c48a-4752-a2b5-6513d12822e3 I believe you can fill in forms with just .Net Framework installed or This might be more general if you have multiple OS Adobe PDF Form fill Just add fillable fields to a PDF file, email and retrieve data You can encrypt and password protect Doable with Adobe SDK or third party tools like ActivePDF Boyd, Mark Thomas (US - Philadelphia) wrote: >I need to send database data to end-users, have them modify, and return >back to me. >My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a >form with 2 controls per record, txtProjectName (textbox) and >cmbProgress (combo box). The data on the combo box needs to be updated >on a weekly basis, with values of 0 - 100%, in increments of 10. > >What is the easiest way to send this data for user reponse? >I'm thinking that sending a user form as an attachment would work, but >I'm not sure what kind of form to use. We've considered Outlook forms, >but creating this form from code is very time-consuming, and uploading >the returned data within customized fields sounds daunting. >InfoPath would be ideal, but not all users have this program installed. > >Because the sending of this form will occur on a weekly basis, I'd like >to automate it as much as possible. >Any direction is greatly appreciated. > >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From adtp at touchtelindia.net Tue Nov 15 12:55:10 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 16 Nov 2005 00:25:10 +0530 Subject: [AccessD] Counting group headers in a report (FAQ) References: <8531E9A9B2ADC94994C25E0856C5663606D02C@EXCHVS1.rail.nsw.gov.au> Message-ID: <00a101c5ea16$257853b0$f60a65cb@winxp> bruce, Following course of action is suggested (1) Counting the number of groups (a) Place a calculated text box named grpcnt, having expression =1 in the group footer (as already done by you). Set it's RunningSum property to OverAll. (b) Place a text box named TxtTot having expression =[grpcnt] in report footer. This text box (as well as the one in last group footer) will display the total count of groups. (2) Counting the number of records in each group. (a) Use the expression = Count(*) in the text box in group footer. (b) If progressive totals are needed, set the RunningSum property to OverAll, otherwise set it to None. (3) Counting the grand total number of records in the report. Place a text box having expression = Count(*) in report footer. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Bruen, Bruce To: accessd at databaseadvisors.com Sent: Tuesday, November 15, 2005 10:19 Subject: [AccessD] Counting group headers in a report (FAQ) ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce From DWUTKA at marlow.com Tue Nov 15 12:56:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 12:56:55 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA601B@main2.marlow.com> Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 15 13:04:40 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 14:04:40 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <123701F54509D9119A4F00D0B7473490EA601B@main2.marlow.com> Message-ID: <014f01c5ea17$6ead84a0$667aa8c0@ColbyM6805> Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 15 17:24:44 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 17:24:44 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA6020@main2.marlow.com> Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 15 17:26:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 17:26:23 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <123701F54509D9119A4F00D0B7473490EA6021@main2.marlow.com> It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Tuesday, November 15, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Emailing Form Data I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 15 17:38:07 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Nov 2005 15:38:07 -0800 Subject: [AccessD] Building classes for tables Message-ID: You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Nov 15 18:07:12 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 15 Nov 2005 16:07:12 -0800 Subject: [AccessD] fyi; Access 2003 Runtime FAQ Message-ID: I'm actually looking up what the limitations of Access 2003 runtime are, since the sagekey script is built around supporting Windows 2000 and up only...The following link is a useful link on trivial info on Access 2003 runtime. (FYI) http://www.utteraccess.com/forums/access/access6116.html -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at ColbyConsulting.com Tue Nov 15 21:03:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 22:03:06 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <017101c5ea5a$44ec24d0$667aa8c0@ColbyM6805> I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Tue Nov 15 22:40:01 2005 From: john at winhaven.net (John Bartow) Date: Tue, 15 Nov 2005 22:40:01 -0600 Subject: [AccessD] Access 2000 Developer's Handbook Set Message-ID: <006801c5ea67$cf3f9970$6701a8c0@ScuzzPaq> FOR SALE ACCESS 2000 DEVELOPER'S HANDBOOK SET WITH CD's 2 book set in box set sleeve. Desktop Edition and Enterprise Edition each comes with a CD. Both CDs have been opened but work fine. Everything is in very good condition. If interested contact me offlist at: john at winhaven.net From john at winhaven.net Tue Nov 15 23:08:08 2005 From: john at winhaven.net (John Bartow) Date: Tue, 15 Nov 2005 23:08:08 -0600 Subject: [AccessD] A97 BE with A2k3 FE Message-ID: <007c01c5ea6b$bd292e00$6701a8c0@ScuzzPaq> Anyone have any experience with using an A2k3 FE with and A97 BE? I've been testing it for a client request and haven't had any problems yet but would like to hear of others experiences. TIA John B. From Bruce.Bruen at railcorp.nsw.gov.au Wed Nov 16 00:21:52 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 16 Nov 2005 17:21:52 +1100 Subject: [AccessD] A97 BE with A2k3 FE Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Been running a similar scenario for a year now on a test management system that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. The only problems I have found have been forgetting where I was and making changes to the UI in A2k3 which are not compatible with the A2k fromt end. Sound strange? The back end is a UML model repository that we use to design the tests. It's a Jet db that starts life as an A97 db and gets used by the UML tool from http://www.sparxsystems.com.au (no relationship - highly recommended) via Jet 4.0, when we move into test execution stage we use a home-grown results recorder which I use on an A2k dev machine, the test lead uses on an A2k runtime machine and every time I go home I think of something else we could do and dev it up on A2k3..... I have on occasion also taken the db's home and up-and-down-gradeded them to A2k3 and back to "prev" without any ill effects. .... Just lucky I guess :-) Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 16 November 2005 4:08 PM To: _DBA-Access Subject: [AccessD] A97 BE with A2k3 FE Anyone have any experience with using an A2k3 FE with and A97 BE? I've been testing it for a client request and haven't had any problems yet but would like to hear of others experiences. TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From artful at rogers.com Wed Nov 16 01:08:12 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 02:08:12 -0500 Subject: [AccessD] Design Question In-Reply-To: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <200511160708.jAG786J26018@databaseadvisors.com> Being a normalization freak, my take would be a thrice of tables, Contacts and ContactRelationships and Relationships, the intermediate table being associative (i.e. M-M). Then in case a new relationship evinces, you are covered by simply adding a row to Relationships and populating the associative table appropriately. If you are absolutely sure that no other relationships can evolve other than the two stated, then my proposal is overkill. Assuming this, then you need a column (YesNo) for each of the two relationships. You queries will then need to anticipate either or both. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: November 14, 2005 12:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Design Question Hey guys got a quick question about design. I'm making a database for a non-profit service organization I'm working for. There's going to be membership data per person, however, at the same time the person may be a contact to an external organization for part of their projects, or it may be some completely unrelated person. Here's my question: Should I have only one table, called say People, or should I have two seperate tables of data: Members and Contacts? Option A would require intermediate tables linking anything to the people table, but Option B would maintain duplicate data for members that are also in external contact organizations. Any suggestions? Thanks! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 16 05:20:39 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 12:20:39 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi all Have anyone experienced issues when using Ctrl+B to open the search form? A client has a user with an Access 97 app which has run for years. Suddenly, if she presses Ctrl+B to search it works fine but next time she does this, the app freezes and becomes inactive. She has to reboot or use Task Manager to kill Access. The tricky part is that if other users log in on her machine, the issue persists. Other users don't see this issue when working at their own machine. However, if the user in question logs in on another user's machine, the issue follows her. The client uses roaming profiles and the notwork guy claims to have rebuilt these but to no avail. My own guess is to double-check for some corrupted Access/Jet temp files as the first thing. Before reinstalling "everything" I wonder if anyone has seen something similar? /gustav From wdhindman at bellsouth.net Wed Nov 16 06:15:53 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 07:15:53 -0500 Subject: [AccessD] A97 BE with A2k3 FE References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Message-ID: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> ...I've been very pleasantly surprised at A2K3's compatibility with older versions ...I just yesterday installed a pretty good sized app on a client's A2K2 runtime that had been fully developed in A2K3 ...I expected to at least have to change some references to the treeview ocx, etc ...but it ran without a hitch :) ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 secured be ...so far it takes to it like a duck takes to water. William ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 1:21 AM Subject: Re: [AccessD] A97 BE with A2k3 FE > Been running a similar scenario for a year now on a test management > system that uses both an A97 (Jet 3.5) back end which is also used by a > Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 > front end. The only problems I have found have been forgetting where I > was and making changes to the UI in A2k3 which are not compatible with > the A2k fromt end. > Sound strange? > > The back end is a UML model repository that we use to design the tests. > It's a Jet db that starts life as an A97 db and gets used by the UML > tool from http://www.sparxsystems.com.au (no relationship - highly > recommended) via Jet 4.0, when we move into test execution stage we use > a home-grown results recorder which I use on an A2k dev machine, the > test lead uses on an A2k runtime machine and every time I go home I > think of something else we could do and dev it up on A2k3..... > > I have on occasion also taken the db's home and up-and-down-gradeded > them to A2k3 and back to "prev" without any ill effects. > > > .... Just lucky I guess :-) > > Hth > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, 16 November 2005 4:08 PM > To: _DBA-Access > Subject: [AccessD] A97 BE with A2k3 FE > > Anyone have any experience with using an A2k3 FE with and A97 BE? > > I've been testing it for a client request and haven't had any problems > yet but would like to hear of others experiences. > > TIA > John B. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > This e-mail and any attachments may contain confidential information that > is intended solely for the use of the intended recipient and may be > subject to copyright. If you receive this e-mail in error, please notify > the sender immediately and delete the e-mail and its attachments from your > system. You must not disclose, copy or use any part of this e-mail if you > are not the intended recipient. Any opinion expressed in this e-mail and > any attachments is not an opinion of RailCorp unless stated or apparent > from its content. RailCorp is not responsible for any unauthorised > alterations to this e-mail or any attachments. RailCorp will not incur any > liability resulting directly or indirectly as a result of the recipient > accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 06:28:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 07:28:10 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: Message-ID: <001d01c5eaa9$3527f1b0$6101a8c0@JISREGISTRATION.local> ...is the mdb somehow being placed in her local profiled directories and uploaded to her server profile on the server? ...I'd look in her server profile and see if the notwork guy has got the mdb directory as one of her profile caches. ...this of course assumes that her local copy of the fe was corrupted in the first place, seen by the server as a change when she logged off, and then uploaded to her profile cache to forever repeat ...groundhog day, eh :) ...if this turns out to be the case, I'd Colbyize the notwork guy :( William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 6:20 AM Subject: [AccessD] Search with Ctrl+B freeze app > Hi all > > Have anyone experienced issues when using Ctrl+B to open the search form? > > A client has a user with an Access 97 app which has run for years. > Suddenly, if she presses Ctrl+B to search it works fine but next time she > does this, the app freezes and becomes inactive. She has to reboot or use > Task Manager to kill Access. > > The tricky part is that if other users log in on her machine, the issue > persists. Other users don't see this issue when working at their own > machine. However, if the user in question logs in on another user's > machine, the issue follows her. > > The client uses roaming profiles and the notwork guy claims to have > rebuilt these but to no avail. > > My own guess is to double-check for some corrupted Access/Jet temp files > as the first thing. > Before reinstalling "everything" I wonder if anyone has seen something > similar? > > /gustav > > -- > 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 Nov 16 05:34:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 12:34:32 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: <20051116123429.9F57124FAB3@smtp.nildram.co.uk> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 11:22 Hi all Have anyone experienced issues when using Ctrl+B to open the search form? A client has a user with an Access 97 app which has run for years. Suddenly, if she presses Ctrl+B to search it works fine but next time she does this, the app freezes and becomes inactive. She has to reboot or use Task Manager to kill Access. The tricky part is that if other users log in on her machine, the issue persists. Other users don't see this issue when working at their own machine. However, if the user in question logs in on another user's machine, the issue follows her. The client uses roaming profiles and the notwork guy claims to have rebuilt these but to no avail. My own guess is to double-check for some corrupted Access/Jet temp files as the first thing. Before reinstalling "everything" I wonder if anyone has seen something similar? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Nov 16 06:47:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 13:47:13 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? From Gustav at cactus.dk Wed Nov 16 07:12:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 14:12:35 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William No, that is not so. Access 97 is installed the normal way and the FE in a directory of its own. Only the desktop icon is provided by the profile. My colleague suggests that "something" could have been installed on her machine which caused "something" to Access and/or her profile which then is carried around if she logs in on other machines ... Quite vague thoughts as you can see. Oh, and Groundhog Day is one of my favourite movies! /gustav >>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> ...is the mdb somehow being placed in her local profiled directories and uploaded to her server profile on the server? ...I'd look in her server profile and see if the notwork guy has got the mdb directory as one of her profile caches. ...this of course assumes that her local copy of the fe was corrupted in the first place, seen by the server as a change when she logged off, and then uploaded to her profile cache to forever repeat ...groundhog day, eh :) ...if this turns out to be the case, I'd Colbyize the notwork guy :( William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 6:20 AM Subject: [AccessD] Search with Ctrl+B freeze app > Hi all > > Have anyone experienced issues when using Ctrl+B to open the search form? > > A client has a user with an Access 97 app which has run for years. > Suddenly, if she presses Ctrl+B to search it works fine but next time she > does this, the app freezes and becomes inactive. She has to reboot or use > Task Manager to kill Access. > > The tricky part is that if other users log in on her machine, the issue > persists. Other users don't see this issue when working at their own > machine. However, if the user in question logs in on another user's > machine, the issue follows her. > > The client uses roaming profiles and the notwork guy claims to have > rebuilt these but to no avail. > > My own guess is to double-check for some corrupted Access/Jet temp files > as the first thing. > Before reinstalling "everything" I wonder if anyone has seen something > similar? > > /gustav From andy at minstersystems.co.uk Wed Nov 16 06:38:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 13:38:14 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: <20051116133811.E6A9B251F6B@smtp.nildram.co.uk> Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- 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 mboyd at deloitte.com Wed Nov 16 07:54:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 16 Nov 2005 08:54:55 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Tuesday, November 15, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Emailing Form Data I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 16 07:57:21 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 08:57:21 -0500 Subject: [AccessD] fyi; Access 2003 Runtime FAQ In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE28E4@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2BF@ADGSERVER> Thanks for the link. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, November 15, 2005 7:07 PM To: fhtapia at gmail.com; davidmcafee at gmail.com; Access Developers discussion and problem solving Subject: [AccessD] fyi; Access 2003 Runtime FAQ I'm actually looking up what the limitations of Access 2003 runtime are, since the sagekey script is built around supporting Windows 2000 and up only...The following link is a useful link on trivial info on Access 2003 runtime. (FYI) http://www.utteraccess.com/forums/access/access6116.html -- -Francisco From Gustav at cactus.dk Wed Nov 16 08:11:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 15:11:59 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Andy Focus on a textbox, that should do. But I recall faintly that you perhaps can shut this function off? No popup-menus? /gustav >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? From markamatte at hotmail.com Wed Nov 16 08:37:31 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 16 Nov 2005 14:37:31 +0000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Nov 16 08:46:24 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 16 Nov 2005 15:46:24 +0100 Subject: [AccessD] error Message-ID: <000601c5eabc$8478aee0$4001a8c0@laptop> Hello Group, who has an idea why this errortable occurs: error ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens Pedro Janssen From Jim.Hale at FleetPride.com Wed Nov 16 08:49:37 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 08:49:37 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD84F@corp-es01.fleetpride.com> If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Wed Nov 16 08:51:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 15:51:59 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Mark Strange. Works in Excel as well. /gustav >>> markamatte at hotmail.com 16-11-2005 15:37 >>> I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. From stuart at lexacorp.com.pg Wed Nov 16 09:02:14 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 17 Nov 2005 01:02:14 +1000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: <437BD696.10854.3A35812@stuart.lexacorp.com.pg> On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart From mboyd at deloitte.com Wed Nov 16 09:11:27 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 16 Nov 2005 10:11:27 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From bheid at appdevgrp.com Wed Nov 16 09:13:12 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 10:13:12 -0500 Subject: [AccessD] error In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE296E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2C5@ADGSERVER> Pedro, In what context are you getting this error? Note that a field does not have to have description and you might need to trap for this when trying to access a field description. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Wednesday, November 16, 2005 9:46 AM To: AccessD Subject: [AccessD] error Hello Group, who has an idea why this errortable occurs: error ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens Pedro Janssen From bheid at appdevgrp.com Wed Nov 16 09:21:56 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 10:21:56 -0500 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE2977@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2C7@ADGSERVER> I have always used Ctrl-F to search. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2005 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Search with Ctrl+B freeze app On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 16 09:28:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 16:28:17 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Stuart Nope. Could this be localized? Try Ctrl+F. /gustav >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart From lmrazek at lcm-res.com Wed Nov 16 09:29:19 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 16 Nov 2005 09:29:19 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <02f601c5eac2$838ae4c0$036fa8c0@hplaptop> Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. 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 Mark A Matte Sent: Wednesday, November 16, 2005 8:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Search with Ctrl+B freeze app I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Nov 16 09:42:14 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 16 Nov 2005 15:42:14 -0000 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <02f601c5eac2$838ae4c0$036fa8c0@hplaptop> Message-ID: Yes you can send formula to an Excel sheet, I have recently used this: .Cells(intExcelRowArray(intSheet) + 3, 2) = "=SUM(B2:B" & intExcelRowArray(intSheet) & ")" With the "=SUM(B2:B" & intExcelRowArray(intSheet) & ")" Being the actual formual that I need to sum column B row 2 to column B and whatever the last row that I actually sent data to Hope this helps -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: 16 November 2005 15:29 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. 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 Mark A Matte Sent: Wednesday, November 16, 2005 8:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Search with Ctrl+B freeze app I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 16 09:49:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 10:49:06 -0500 Subject: [AccessD] Transactions around huge transformations Message-ID: <019d01c5eac5$478b1000$667aa8c0@ColbyM6805> I am still working on the data migration (transform) application for a specific client. The transform consists of archiving a bunch of tables (20 or so), deleting all records in these tables, then appending new data in. What I am wondering is whether transactions can be used to wrap this large a sequence of operations to cause a rollback in the event anything goes wrong. I am also wondering whether I even want to do so since the failure may be related to the instantaneous state of some table which would be trashed if that table got rolled back. IOW, how can I see what went wrong if I roll back all the changes? So, does anyone have any experience in wrapping dozens of operations in a single transaction? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Wed Nov 16 11:02:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 12:02:55 -0500 Subject: [AccessD] In clause Message-ID: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Is the In 'SomeDatabase' clause an Access specific SQL extension? SELECT * FROM SomeTable IN 'SomeDatabase' John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From mikedorism at verizon.net Wed Nov 16 11:08:51 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 16 Nov 2005 12:08:51 -0500 Subject: [AccessD] In clause In-Reply-To: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Message-ID: <000001c5ead0$6c294bb0$2f01a8c0@dorismanning> If you are using SQL Server, the correct syntax is... SELECT * FROM SomeDatabase.dbo.SomeTable Doris Manning mikedorism at verizon.net From djkr at msn.com Wed Nov 16 11:12:55 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 16 Nov 2005 17:12:55 -0000 Subject: [AccessD] Transactions around huge transformations In-Reply-To: <019d01c5eac5$478b1000$667aa8c0@ColbyM6805> Message-ID: Hi John Experience, yes, though it was some years ago and I can't now recall details about the volume of operations within each transaction. Lots of appends to multiple tables, at least - can't remember what else. I think it must have been on A97. I'm not *aware* of any system limitations imposed by Access itself, but that may just be ignorance! My application was handling multiple batches of potential updates to the database, and each batch *might* get rejected in its entirety as a result of validation done on-the-fly while appending/updating the main tables. But I continued the processing of a batch even after finding an error, in the hope of finding *all* errors, before the transaction was finally rolled back. What was interesting (to me, at least) was that I logged any errors in another table which therefore had to be appended/updated in a separate workspace, to avoid being affected by the transaction roll-back on the first one. I did find a bug in Access (confirmed, thank goodness, by Shamil!) relating to Access's reporting of the number of records in a table at some point, but we concluded that it was essentially harmless - provided the user didn't see the apparent discrepancy! The resulting database ran happily every week, and may still be doing so. End of lamp-swinging. Of course you'll take a copy first ... Good luck John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 16 November 2005 15:49 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Transactions around huge transformations I am still working on the data migration (transform) application for a specific client. The transform consists of archiving a bunch of tables (20 or so), deleting all records in these tables, then appending new data in. What I am wondering is whether transactions can be used to wrap this large a sequence of operations to cause a rollback in the event anything goes wrong. I am also wondering whether I even want to do so since the failure may be related to the instantaneous state of some table which would be trashed if that table got rolled back. IOW, how can I see what went wrong if I roll back all the changes? So, does anyone have any experience in wrapping dozens of operations in a single transaction? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 11:30:54 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 09:30:54 -0800 Subject: [AccessD] Building classes for tables Message-ID: Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 11:37:41 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 12:37:41 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <01a801c5ead4$72ed0730$667aa8c0@ColbyM6805> I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 11:47:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 09:47:38 -0800 Subject: [AccessD] Building classes for tables Message-ID: Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 16 11:52:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:35 -0600 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: <001101c5ead6$8755b850$6701a8c0@ScuzzPaq> William, Thanks for the input! I've actually been working implementing a Treeview Navigation scheme which opens a specific subform for detail for much of the application. Good to know that comes through without a hitch. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman ...I've been very pleasantly surprised at A2K3's compatibility with older versions ...I just yesterday installed a pretty good sized app on a client's A2K2 runtime that had been fully developed in A2K3 ...I expected to at least have to change some references to the treeview ocx, etc ...but it ran without a hitch :) ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 secured be ...so far it takes to it like a duck takes to water. William From john at winhaven.net Wed Nov 16 11:52:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:35 -0600 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Message-ID: <001201c5ead6$879f9290$6701a8c0@ScuzzPaq> Bruce, Thanks for the input! Sounds like what you're doing is more complicated than my possible venture. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Been running a similar scenario for a year now on a test management system that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. The only problems I have found have been forgetting where I was and making changes to the UI in A2k3 which are not compatible with the A2k fromt end. Sound strange? The back end is a UML model repository that we use to design the tests. It's a Jet db that starts life as an A97 db and gets used by the UML tool from http://www.sparxsystems.com.au (no relationship - highly recommended) via Jet 4.0, when we move into test execution stage we use a home-grown results recorder which I use on an A2k dev machine, the test lead uses on an A2k runtime machine and every time I go home I think of something else we could do and dev it up on A2k3..... I have on occasion also taken the db's home and up-and-down-gradeded them to A2k3 and back to "prev" without any ill effects. .... Just lucky I guess :-) Hth Bruce From john at winhaven.net Wed Nov 16 11:52:54 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:54 -0600 Subject: [AccessD] A2K3 ADP Message-ID: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Does anyone have comments on ADPs with A2K3? IIRC there were some negatives brought up about them here with previous versions. Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? TIA John B. From shamil at users.mns.ru Wed Nov 16 12:06:13 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 16 Nov 2005 21:06:13 +0300 Subject: [AccessD] Building classes for tables References: Message-ID: <004201c5ead8$76afdec0$6401a8c0@fincomplex.spb.ru> <<< I don't think anyone has done it here >>> I did that Charlotte in autumn 1999 while in Belgium. I have the code. But this code was paid by the customer. Therefore I think I don't have copyright on this code and I can't post it here? Just wanted to note that there are no probably MS Access related subject areas somebody from this group didn't work in. :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 8:47 PM Subject: Re: [AccessD] Building classes for tables > Right, and I'm saying use the dot net typed dataset as a model for the > class template, give the class a recordset property, and build a wizard > or simply the code to create a custom instance of the class for each > table you pass in. I don't think anyone has done it here or you would > have had someone fess up before this. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 16, 2005 9:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I started the thread asking whether anyone had build such a widget for > ACCESS. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, November 16, 2005 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > Huh? Are you talking dot net or Access? In dot net, typed datasets > model the data source, but they aren't "connected", they're a sort of > interface to the table or tables that inherits the dataset object. You > can build one by hand for tables that don't exist and you can add > expressions that pull data from related tables and stick it into the > primary table in the dataset. > > In Access, there's no reason you couldn't give the table class a > recordset property. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, November 15, 2005 7:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I was discussing doing it in VBA (Access). Besides Typed datasets are > connected correct? If you want a disconnected object to hold the record > data you need a class that gets instantiated and filled, then saved in a > collection of a supervisor object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 15, 2005 6:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > You don't need an add-in for it in dot net, Drew. That's what Typed > Datasets are, automagically built classes that contain all that stuff > for the table or tables involved in dataset that is the basis for the > Typed Dataset. You can even include relationships and calculated > expressions as "fields". > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, November 15, 2005 3:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Building classes for tables > > > Not really, you can get the data type of the field, the field name, and > even the description of the field. It would be a simple select case to > build a property Let and Get statement for each field. To go a bit > further, you should also be able to determine if a field is an ID field, > or get the indexes of the field to build an ID. I would make it > straightforward, that if there is an autonumber field, you include a > 'get and write' capability. Normally, when I build this type of class > structure, I include a StorageOnly boolean value, that sets to false > when the class loads. Then, when you set the value of the ID field, if > StorageOnly is True, it does nothing but stores the value, if it's > false, then it goes and 'fills itself' with that particular record. Then > add a 'Save' Function. When the class initializes, you set an internal > value that states the record is 'new'. When you set the ID field, it > also sets that value to 'old'. When you run the save function, it > either creates a new record with said values or updates the existing > records of that table. > > That way, the second 'collection' class can set the StorageOnly property > to true, to pull all of the records up at once, or you can create a > single instance of your 'record' class and by setting it's ID property, > it automatically retrieves it's data for you. > > An Add-in could use the properties of the field to create the property > names within the class, along with comments, etc. > > I could build one for you, but I would do it in VBA, so it would be a > VB6 add-in. I think you use .Net, which uses slightly different code > for properties (if I remember right, you go Property Something() then > have a Get and Let statement within the property....only played around > with .Net a little bit). > > You could even have the Let() statements set a 'dirty' property, and > have a 'reset' function to restore the original values and clear the > dirty property. > > Let me know if you want me to build something like this in VB6, I could > send you the VB6 Add-in code then...shouldn't require too much change to > work in .Net. > > Drew > > -----Original Message----- > From: John Colby [SMTP:jwcolby at colbyconsulting.com] > Sent: Tuesday, November 15, 2005 1:05 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > Sure, of course except that the "information of the record" is > pretty > structured and a PITA to have to do every time. The "records in > the table" > is more specific to the application, and so less can be done > with a wizard. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:02:25 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:02:25 -0500 Subject: [AccessD] A2K3 ADP In-Reply-To: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <01b401c5ead7$e6d0f7d0$667aa8c0@ColbyM6805> They are a dead end. Microsoft is neutering them in the next version. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 16, 2005 12:53 PM To: _DBA-Access Subject: [AccessD] A2K3 ADP Does anyone have comments on ADPs with A2K3? IIRC there were some negatives brought up about them here with previous versions. Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Nov 16 12:04:31 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:04:31 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01a801c5ead4$72ed0730$667aa8c0@ColbyM6805> Message-ID: <200511161804.jAGI4aR42493@ultradnt.com> John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Nov 16 12:07:24 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:07:24 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <200511161807.jAGI7SR42953@ultradnt.com> >>custom instance of the class I guess my actual question to John is - Is this intended for runtime or a design time "helper"? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 12:15:43 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 10:15:43 -0800 Subject: [AccessD] Building classes for tables Message-ID: I should have known you would have done it, Shamil! ;-} But since you can't contribute the code to John, it amounts to the same thing as nobody having done it here. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 16, 2005 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables <<< I don't think anyone has done it here >>> I did that Charlotte in autumn 1999 while in Belgium. I have the code. But this code was paid by the customer. Therefore I think I don't have copyright on this code and I can't post it here? Just wanted to note that there are no probably MS Access related subject areas somebody from this group didn't work in. :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 8:47 PM Subject: Re: [AccessD] Building classes for tables > Right, and I'm saying use the dot net typed dataset as a model for the > class template, give the class a recordset property, and build a > wizard or simply the code to create a custom instance of the class for > each table you pass in. I don't think anyone has done it here or you > would have had someone fess up before this. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 16, 2005 9:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I started the thread asking whether anyone had build such a widget for > ACCESS. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, November 16, 2005 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > Huh? Are you talking dot net or Access? In dot net, typed datasets > model the data source, but they aren't "connected", they're a sort of > interface to the table or tables that inherits the dataset object. > You can build one by hand for tables that don't exist and you can add > expressions that pull data from related tables and stick it into the > primary table in the dataset. > > In Access, there's no reason you couldn't give the table class a > recordset property. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, November 15, 2005 7:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I was discussing doing it in VBA (Access). Besides Typed datasets are > connected correct? If you want a disconnected object to hold the > record data you need a class that gets instantiated and filled, then > saved in a collection of a supervisor object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 15, 2005 6:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > You don't need an add-in for it in dot net, Drew. That's what Typed > Datasets are, automagically built classes that contain all that stuff > for the table or tables involved in dataset that is the basis for the > Typed Dataset. You can even include relationships and calculated > expressions as "fields". > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, November 15, 2005 3:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Building classes for tables > > > Not really, you can get the data type of the field, the field name, > and even the description of the field. It would be a simple select > case to build a property Let and Get statement for each field. To go > a bit further, you should also be able to determine if a field is an > ID field, or get the indexes of the field to build an ID. I would > make it straightforward, that if there is an autonumber field, you > include a 'get and write' capability. Normally, when I build this type > of class structure, I include a StorageOnly boolean value, that sets > to false when the class loads. Then, when you set the value of the ID > field, if StorageOnly is True, it does nothing but stores the value, > if it's false, then it goes and 'fills itself' with that particular > record. Then add a 'Save' Function. When the class initializes, you > set an internal value that states the record is 'new'. When you set > the ID field, it also sets that value to 'old'. When you run the > save function, it either creates a new record with said values or > updates the existing records of that table. > > That way, the second 'collection' class can set the StorageOnly > property to true, to pull all of the records up at once, or you can > create a single instance of your 'record' class and by setting it's ID > property, it automatically retrieves it's data for you. > > An Add-in could use the properties of the field to create the property > names within the class, along with comments, etc. > > I could build one for you, but I would do it in VBA, so it would be a > VB6 add-in. I think you use .Net, which uses slightly different code > for properties (if I remember right, you go Property Something() then > have a Get and Let statement within the property....only played around > with .Net a little bit). > > You could even have the Let() statements set a 'dirty' property, and > have a 'reset' function to restore the original values and clear the > dirty property. > > Let me know if you want me to build something like this in VB6, I > could send you the VB6 Add-in code then...shouldn't require too much > change to work in .Net. > > Drew > > -----Original Message----- > From: John Colby [SMTP:jwcolby at colbyconsulting.com] > Sent: Tuesday, November 15, 2005 1:05 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > Sure, of course except that the "information of the record" is pretty > structured and a PITA to have to do every time. The "records in > the table" > is more specific to the application, and so less can be done > with a wizard. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:21:42 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:21:42 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161807.jAGI7SR42953@ultradnt.com> Message-ID: <01bb01c5eada$98926bf0$667aa8c0@ColbyM6805> Design time - for ME to write new classes. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables >>custom instance of the class I guess my actual question to John is - Is this intended for runtime or a design time "helper"? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:22:03 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:22:03 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161804.jAGI4aR42493@ultradnt.com> Message-ID: <01bc01c5eada$a4ebe3e0$667aa8c0@ColbyM6805> yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 16 12:28:40 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 16 Nov 2005 21:28:40 +0300 Subject: [AccessD] Building classes for tables References: Message-ID: <000701c5eadb$925f1750$6401a8c0@fincomplex.spb.ru> > nobody having done it here. OK :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 9:15 PM Subject: Re: [AccessD] Building classes for tables > I should have known you would have done it, Shamil! ;-} But since you > can't contribute the code to John, it amounts to the same thing as > nobody having done it here. > > Charlotte > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Wednesday, November 16, 2005 10:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > <<< > I don't think anyone has done it here > >>> > I did that Charlotte in autumn 1999 while in Belgium. > I have the code. > But this code was paid by the customer. > Therefore I think I don't have copyright on this code and I can't post > it here? > > Just wanted to note that there are no probably MS Access related subject > areas somebody from this group didn't work in. :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 16, 2005 8:47 PM > Subject: Re: [AccessD] Building classes for tables > > > > Right, and I'm saying use the dot net typed dataset as a model for the > > > class template, give the class a recordset property, and build a > > wizard or simply the code to create a custom instance of the class for > > > each table you pass in. I don't think anyone has done it here or you > > would have had someone fess up before this. > > > > Charlotte Foust > > > > <<< tail skipped>>> From john at winhaven.net Wed Nov 16 12:25:52 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 12:25:52 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <01b401c5ead7$e6d0f7d0$667aa8c0@ColbyM6805> Message-ID: <002501c5eadb$2d825220$6701a8c0@ScuzzPaq> Oh I must've misunderstood what I was browsing. I thought that DAPs were a dead end. Or are both? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby They are a dead end. Microsoft is neutering them in the next version. From developer at ultradnt.com Wed Nov 16 12:37:02 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:37:02 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01bc01c5eada$a4ebe3e0$667aa8c0@ColbyM6805> Message-ID: <200511161837.jAGIb5R47220@ultradnt.com> LOL - ok, now I get it, but I haven't done it; but I'll collaborate here if interested ... After lunch today, I'm at this PC until 10:00 pm ET. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Wed Nov 16 13:04:36 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Wed, 16 Nov 2005 13:04:36 -0600 Subject: [AccessD] Transactions around huge transformations Message-ID: > I'm not *aware* of any system limitations imposed by Access itself ... You are limited by the amount of disk on your working computer. So, if you're doing huge transactions, you have to ensure you have a huge amount of disk available. > I am also wondering whether I even want to do so since the failure > may be related to the instantaneous state of some table which > would be trashed if that table got rolled back. IOW, how can I > see what went wrong if I roll back all the changes? I use an ETL setup for my transforms. Data is extracted and transformed into separate tables, and only loaded into production when the transform is deemed successful. I ensure safety and traceability using these steps: Extract & Transform: I turn transactions OFF. Despite what help implies, using transactions for lots of data slows things down considerably, and provides no real benefit. 1. Do the extract and transform when no one is using the system. This ensures the database is in a consistent state. 2. If you can, open the source data exclusively, so no one can get on while you are doing your transformation. 3. Execute queries with dbFailOnError + dbSeeChanges as your execute options. This ensures the process stops if there is an error, or someone is making changes. 4. Use error logging. The error must give you enough description of what went wrong for you to trace it. 5. If verification is critical, write your own series of verification queries to test your transform. If any records show up as invalid, log them for analysis, and abort the load. You are going to have to write these queries anyway, to make certain your transform works. So, the rule is, it succeeds as a whole, or it fails as a whole. If it fails, it never gets loaded into production, so no trusted data is affected. Load: Once you have transformed and verified your data, use transactions to load it into production, so if the append fails, you get the original data back. -Ken From Jim.Hale at FleetPride.com Wed Nov 16 13:05:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 13:05:02 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD850@corp-es01.fleetpride.com> Yes, I am sending you an example offline Regards, Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Wed Nov 16 13:10:02 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 14:10:02 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161837.jAGIb5R47220@ultradnt.com> Message-ID: <01c801c5eae1$595e2350$667aa8c0@ColbyM6805> Steve, This is an example of one of my classes that just stores data values from a record: Private mdb As DAO.Database Private mlngTOID As Long Private mlngTTID As Long Private mlngStep As Long Private mstrQry As String 'The query name of any Private mstrSQLCode As String 'The SQL or vb code if any Private mstrDescription As String 'The description of the operation Private mstrType As String 'Qry, VBA, SQL Private mblnExecute As Boolean 'This is an execute query Private mstrQryType As String 'SEL;DEL;UPD;APP Private Sub Class_Terminate() Set mdb = Nothing Debug.Print "dclsTransformOperation.Class_Terminate: TOID=" & mlngTOID End Sub Function mInit(rst As DAO.Recordset) On Error GoTo Err_mInit With rst mlngTOID = !TO_ID mlngTTID = !TO_IDTT mlngStep = !TO_Step mstrQry = StrNull(!TO_Query) mstrSQLCode = StrNull(!TO_SQLCode) mstrDescription = StrNull(!TO_Description) mstrType = StrNull(!TO_Type) mblnExecute = !TO_Execute mstrQryType = StrNull(!TO_QryType) End With Exit_mInit: Exit Function Err_mInit: MsgBox Err.Description, , "Error in Function dclsTransformOperation.mInit" Resume Exit_mInit Resume 0 '.FOR TROUBLESHOOTING End Function Function StrNull(varVal As Variant) As String If IsNull(varVal) Then StrNull = "" Else StrNull = varVal End If End Function Property Get pTOID() As Long pTOID = mlngTOID End Property Property Get pTTID() As Long pTTID = mlngTTID End Property Property Get pStep() As Long pStep = mlngStep End Property Property Get pQry() As String pQry = mstrQry End Property Property Get pSQLCode() As String pSQLCode = mstrSQLCode End Property Property Get pDescription() As String pDescription = mstrDescription End Property Property Get pType() As String pType = mstrType End Property Property Get pExecute() As Boolean pExecute = mblnExecute End Property Property Get pQryType() As String pQryType = mstrQryType End Property Notice that: All dim statements are private All dim statements have a type All property get statements have a type Variables and property statements do not follow my table naming standards. But they can. I use a p as the prefix for all properties so they group in the object browser. Just my own standard. There are no Property let but there needs to be an option to build them Of course the wizard will not build the Init() functions or surrounding code. The alternative of passing in a recordset is to pass in variables directly. I kind of like passing in a recordset because the class can do its own testing for the null values. If you don't do that then the init function has to have variants to prevent run time errors when the record contains nulls. Anyeay, just the basics is what I am looking for. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL - ok, now I get it, but I haven't done it; but I'll collaborate here if interested ... After lunch today, I'm at this PC until 10:00 pm ET. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve From pedro at plex.nl Wed Nov 16 13:11:46 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 16 Nov 2005 20:11:46 +0100 Subject: [AccessD] error References: <916187228923D311A6FE00A0CC3FAA30ABF2C5@ADGSERVER> Message-ID: <002d01c5eae1$98a52c70$4001a8c0@laptop> Hello Bobby and others, i don't know when this error occurs. In the table self then one record is corrupt and all kind of weird signs are in the fields, also in the grey square before the tablefields are weird signs. Sometimes after deleting this record and other linked records in linked tables, the database works fine. Sometimes then things are really going wrong and all data has to be imported into a backup database and table that was ok before the error. But this costs very much time. The database in this presents worked for about 9 months without any error. After importing, it worked again for three months, then again three months. The strange thing is that i have no knowledge that i am trying to access a field description. Who van help?? Pedro Janssen ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:13 PM Subject: Re: [AccessD] error > Pedro, > > In what context are you getting this error? > > Note that a field does not have to have description and you might need to > trap for this when trying to access a field description. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 16, 2005 9:46 AM > To: AccessD > Subject: [AccessD] error > > > Hello Group, > > who has an idea why this errortable occurs: > > error ErrorCode ErrorDescription ErrorRecid ErrorTable > -1206 Can't find field Description ? > tblProjectGegevens > -1053 Can't find field Description > tblProjectGegevens > > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 16 13:20:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 16 Nov 2005 11:20:06 -0800 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <437B8666.6070300@shaw.ca> I haven't checked the CRTM, CTP or whatever they are calling the latest release of SQL Express 2005 but 2003 ADP's will only connect normally if SQL Express is installed in SQL 2000 degraded compatibility mode. Otherwise there are restrictions on table creation etc. from the ADP. At least the previous Beta didn't http://blogs.msdn.com/sqlexpress/archive/2005/09/15/467774.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx John Bartow wrote: >Does anyone have comments on ADPs with A2K3? > >IIRC there were some negatives brought up about them here with previous >versions. > >Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? > >TIA >John B. > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Wed Nov 16 14:52:49 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 15:52:49 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01c801c5eae1$595e2350$667aa8c0@ColbyM6805> Message-ID: <200511162052.jAGKquR67060@ultradnt.com> >>Of course the wizard will not build the Init() functions or surrounding code. Why not? Cant we loop the fields and build it as well? With similar psudo-code as I wrote in my message? How about we build one section at time - decalrations, then init, processing, then term. Module: basBuildRecordClass Dim mRst as dao.recordset ' Dim mstDeclares as string Sub BuildClass set mrst=currentdb.openrecordset(" sql string here") DoDeclare End sub Private sub DoDeclare mstDeclares = _ "Private mdb As DAO.Database " & vbcrlf & _ "Private mstrQry As String 'The query name of any " & vbcrlf & _ "Private mstrSQLCode As String 'The SQL or vb code if any " & vbcrlf & _ "Private mstrDescription As String 'The description of the operation " & vbcrlf & _ "Private mstrType As String 'Qry, VBA, SQL " & vbcrlf & _ "Private mblnExecute As Boolean 'This is an execute query " & vbcrlf & _ "Private mstrQryType As String 'SEL;DEL;UPD;APP " & vbcrlf & _ For each fld is rs.fields mstdeclares = mstDeclares & "Private " & getTypePrefix & fld.name & " as " & getTypeString & vbcrlf Next 'fld End sub Now need the 2 functions of select case for the prefix and var. types. S. From hkotsch at arcor.de Wed Nov 16 15:04:22 2005 From: hkotsch at arcor.de (Helmut Kotsch) Date: Wed, 16 Nov 2005 22:04:22 +0100 Subject: [AccessD] Emailing Form Data In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD850@corp-es01.fleetpride.com> Message-ID: Jim, I also would like to have a copy of your example. Thanks in advance. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Hale, Jim Gesendet: Mittwoch, 16. November 2005 20:05 An: 'Access Developers discussion and problem solving' Betreff: Re: [AccessD] Emailing Form Data Yes, I am sending you an example offline Regards, Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Nov 16 15:41:16 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 21:41:16 -0000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: <003101c5eaf6$791ac8a0$e5b60c54@minster33c3r25> Aah yes, Ctrl+F for Find I know. Is this the same thing then, but localized as you surmise? -- 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: 16 November 2005 15:28 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Search with Ctrl+B freeze app > > > Hi Stuart > > Nope. Could this be localized? Try Ctrl+F. > > /gustav > > >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> > On 16 Nov 2005 at 15:51, Gustav Brock wrote: > > > Hi Mark > > > > Strange. Works in Excel as well. > > > > Only thing I've ever seen Ctrl+B do in Excel in make the > current selection Bold. > > Are you using some sort of Hotkey utility to change default > key behaviours? > > > -- > Stuart > > > -- > 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 Nov 16 16:25:57 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 16:25:57 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD858@corp-es01.fleetpride.com> Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fhtapia at gmail.com Wed Nov 16 17:20:37 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 16 Nov 2005 15:20:37 -0800 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: Has Anyone Successfully installed A2k3 on NT or 98/se? On 11/16/05, William Hindman wrote: > ...I've been very pleasantly surprised at A2K3's compatibility with older > versions ...I just yesterday installed a pretty good sized app on a client's > A2K2 runtime that had been fully developed in A2K3 ...I expected to at least > have to change some references to the treeview ocx, etc ...but it ran > without a hitch :) > > ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 > secured be ...so far it takes to it like a duck takes to water. > > William > > ----- Original Message ----- > From: "Bruen, Bruce" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 16, 2005 1:21 AM > Subject: Re: [AccessD] A97 BE with A2k3 FE > > > > Been running a similar scenario for a year now on a test management > > system that uses both an A97 (Jet 3.5) back end which is also used by a > > Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 > > front end. The only problems I have found have been forgetting where I > > was and making changes to the UI in A2k3 which are not compatible with > > the A2k fromt end. > > Sound strange? > > > > The back end is a UML model repository that we use to design the tests. > > It's a Jet db that starts life as an A97 db and gets used by the UML > > tool from http://www.sparxsystems.com.au (no relationship - highly > > recommended) via Jet 4.0, when we move into test execution stage we use > > a home-grown results recorder which I use on an A2k dev machine, the > > test lead uses on an A2k runtime machine and every time I go home I > > think of something else we could do and dev it up on A2k3..... > > > > I have on occasion also taken the db's home and up-and-down-gradeded > > them to A2k3 and back to "prev" without any ill effects. > > > > > > .... Just lucky I guess :-) > > > > Hth > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Wednesday, 16 November 2005 4:08 PM > > To: _DBA-Access > > Subject: [AccessD] A97 BE with A2k3 FE > > > > Anyone have any experience with using an A2k3 FE with and A97 BE? > > > > I've been testing it for a client request and haven't had any problems > > yet but would like to hear of others experiences. > > > > TIA > > John B. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > This e-mail and any attachments may contain confidential information that > > is intended solely for the use of the intended recipient and may be > > subject to copyright. If you receive this e-mail in error, please notify > > the sender immediately and delete the e-mail and its attachments from your > > system. You must not disclose, copy or use any part of this e-mail if you > > are not the intended recipient. Any opinion expressed in this e-mail and > > any attachments is not an opinion of RailCorp unless stated or apparent > > from its content. RailCorp is not responsible for any unauthorised > > alterations to this e-mail or any attachments. RailCorp will not incur any > > liability resulting directly or indirectly as a result of the recipient > > accessing any of the attached files that may contain a virus. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From wdhindman at bellsouth.net Wed Nov 16 17:25:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:25:41 -0500 Subject: [AccessD] A97 BE with A2k3 FE References: <001101c5ead6$8755b850$6701a8c0@ScuzzPaq> Message-ID: <003801c5eb06$9c6f2cf0$6101a8c0@JISREGISTRATION.local> ...ha! ...exactly what I'm building as my new template base ...getting the treeview to work as a full blown nav with the subs has been an exercise though ...CallByName was all new to me and I'm still banging my head on a lot of things ...and of course I'm doing it the William way ...pure old trial and error ...but so far enough of it plays that I put a "beta" on a power user's desk and he's pretty damn happy with the way it just works :) William ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 12:52 PM Subject: Re: [AccessD] A97 BE with A2k3 FE > William, > Thanks for the input! I've actually been working implementing a Treeview > Navigation scheme which opens a specific subform for detail for much of > the > application. Good to know that comes through without a hitch. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > > ...I've been very pleasantly surprised at A2K3's compatibility with older > versions ...I just yesterday installed a pretty good sized app on a > client's > A2K2 runtime that had been fully developed in A2K3 ...I expected to at > least > have to change some references to the treeview ocx, etc ...but it ran > without a hitch :) > > ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 > secured be ...so far it takes to it like a duck takes to water. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:30:01 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:30:01 -0500 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> ...I dropped any work with ADPs when MS made it clear they weren't the future ...had enough learning on my pallet as it was ...not that I was happy with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the moment and doing just fine :) William ----- Original Message ----- From: "John Bartow" To: "_DBA-Access" Sent: Wednesday, November 16, 2005 12:52 PM Subject: [AccessD] A2K3 ADP > Does anyone have comments on ADPs with A2K3? > > IIRC there were some negatives brought up about them here with previous > versions. > > Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? > > TIA > John B. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:36:47 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:36:47 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: Message-ID: <003a01c5eb06$9d918ce0$6101a8c0@JISREGISTRATION.local> ...I'm not convinced Gustav ...it sounds to much like a profile problem and I've seen them do some pretty unexpected things ...I'd disconnect her from the network, install a new copy of the mdb, switch her profile to local, and create a local drive with a copy of the be on it that matches the apps linking ...then see what happens. ...if the problem goes away as I expect it will, but reappears when she logs on to another workstation, your notwork guy has a problem, not you. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 8:12 AM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Hi William > > No, that is not so. Access 97 is installed the normal way and the FE in a > directory of its own. > Only the desktop icon is provided by the profile. > > My colleague suggests that "something" could have been installed on her > machine which caused "something" to Access and/or her profile which then > is carried around if she logs in on other machines ... > > Quite vague thoughts as you can see. > > Oh, and Groundhog Day is one of my favourite movies! > > /gustav > >>>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> > ...is the mdb somehow being placed in her local profiled directories and > uploaded to her server profile on the server? > ...I'd look in her server profile and see if the notwork guy has got the > mdb > directory as one of her profile caches. > ...this of course assumes that her local copy of the fe was corrupted in > the > first place, seen by the server as a change when she logged off, and then > uploaded to her profile cache to forever repeat ...groundhog day, eh :) > > ...if this turns out to be the case, I'd Colbyize the notwork guy :( > > William > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Wednesday, November 16, 2005 6:20 AM > Subject: [AccessD] Search with Ctrl+B freeze app > > >> Hi all >> >> Have anyone experienced issues when using Ctrl+B to open the search form? >> >> A client has a user with an Access 97 app which has run for years. >> Suddenly, if she presses Ctrl+B to search it works fine but next time she >> does this, the app freezes and becomes inactive. She has to reboot or use >> Task Manager to kill Access. >> >> The tricky part is that if other users log in on her machine, the issue >> persists. Other users don't see this issue when working at their own >> machine. However, if the user in question logs in on another user's >> machine, the issue follows her. >> >> The client uses roaming profiles and the notwork guy claims to have >> rebuilt these but to no avail. >> >> My own guess is to double-check for some corrupted Access/Jet temp files >> as the first thing. >> Before reinstalling "everything" I wonder if anyone has seen something >> similar? >> >> /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:39:56 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:39:56 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: <003101c5eaf6$791ac8a0$e5b60c54@minster33c3r25> Message-ID: <004e01c5eb07$0d39aff0$6101a8c0@JISREGISTRATION.local> ...maybe a local language thing? ...or is Gustav running an Autokeys macro? Wlliam ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:41 PM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Aah yes, Ctrl+F for Find I know. Is this the same thing then, but > localized > as you surmise? > > > -- 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: 16 November 2005 15:28 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Search with Ctrl+B freeze app >> >> >> Hi Stuart >> >> Nope. Could this be localized? Try Ctrl+F. >> >> /gustav >> >> >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> >> On 16 Nov 2005 at 15:51, Gustav Brock wrote: >> >> > Hi Mark >> > >> > Strange. Works in Excel as well. >> > >> >> Only thing I've ever seen Ctrl+B do in Excel in make the >> current selection Bold. >> >> Are you using some sort of Hotkey utility to change default >> key behaviours? >> >> >> -- >> 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 artful at rogers.com Wed Nov 16 20:22:10 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 21:22:10 -0500 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: <20051116133811.E6A9B251F6B@smtp.nildram.co.uk> Message-ID: <200511170222.jAH2M6J08584@databaseadvisors.com> This must be language-specific. In Canada it`s Ctrl+F. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: November 16, 2005 7:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Search with Ctrl+B freeze app Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 16 20:23:55 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 21:23:55 -0500 Subject: [AccessD] In clause In-Reply-To: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Message-ID: <200511170223.jAH2NqJ09617@databaseadvisors.com> Yes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: November 16, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] In clause Is the In 'SomeDatabase' clause an Access specific SQL extension? SELECT * FROM SomeTable IN 'SomeDatabase' From jwcolby at ColbyConsulting.com Wed Nov 16 20:29:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 21:29:29 -0500 Subject: [AccessD] Codesmith Message-ID: <01fb01c5eb1e$bd57c7c0$667aa8c0@ColbyM6805> Does anyone use codesmith? If so, what version (free or pay), and with what programming environment? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Gustav at cactus.dk Thu Nov 17 02:35:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 09:35:19 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William Hmm ... I'm listening. Sounds like a very good idea. I'll pass this to my colleague to test at the client. Thanks. /gustav >>> wdhindman at bellsouth.net 17-11-2005 00:36 >>> ...I'm not convinced Gustav ...it sounds to much like a profile problem and I've seen them do some pretty unexpected things ...I'd disconnect her from the network, install a new copy of the mdb, switch her profile to local, and create a local drive with a copy of the be on it that matches the apps linking ...then see what happens. ...if the problem goes away as I expect it will, but reappears when she logs on to another workstation, your notwork guy has a problem, not you. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 8:12 AM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Hi William > > No, that is not so. Access 97 is installed the normal way and the FE in a > directory of its own. > Only the desktop icon is provided by the profile. > > My colleague suggests that "something" could have been installed on her > machine which caused "something" to Access and/or her profile which then > is carried around if she logs in on other machines ... > > Quite vague thoughts as you can see. > > Oh, and Groundhog Day is one of my favourite movies! > > /gustav > >>>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> > ...is the mdb somehow being placed in her local profiled directories and > uploaded to her server profile on the server? > ...I'd look in her server profile and see if the notwork guy has got the > mdb > directory as one of her profile caches. > ...this of course assumes that her local copy of the fe was corrupted in > the > first place, seen by the server as a change when she logged off, and then > uploaded to her profile cache to forever repeat ...groundhog day, eh :) > > ...if this turns out to be the case, I'd Colbyize the notwork guy :( > > William > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Wednesday, November 16, 2005 6:20 AM > Subject: [AccessD] Search with Ctrl+B freeze app > > >> Hi all >> >> Have anyone experienced issues when using Ctrl+B to open the search form? >> >> A client has a user with an Access 97 app which has run for years. >> Suddenly, if she presses Ctrl+B to search it works fine but next time she >> does this, the app freezes and becomes inactive. She has to reboot or use >> Task Manager to kill Access. >> >> The tricky part is that if other users log in on her machine, the issue >> persists. Other users don't see this issue when working at their own >> machine. However, if the user in question logs in on another user's >> machine, the issue follows her. >> >> The client uses roaming profiles and the notwork guy claims to have >> rebuilt these but to no avail. >> >> My own guess is to double-check for some corrupted Access/Jet temp files >> as the first thing. >> Before reinstalling "everything" I wonder if anyone has seen something >> similar? >> >> /gustav From Gustav at cactus.dk Thu Nov 17 02:41:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 09:41:40 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William It's a local language thing, Ctrl+B and Ctrl+F have been interchanged here. No AutoKeys macro is present. /gustav >>> wdhindman at bellsouth.net 17-11-2005 00:39 >>> ...maybe a local language thing? ...or is Gustav running an Autokeys macro? Wlliam ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:41 PM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Aah yes, Ctrl+F for Find I know. Is this the same thing then, but > localized as you surmise? > > > -- 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: 16 November 2005 15:28 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Search with Ctrl+B freeze app >> >> >> Hi Stuart >> >> Nope. Could this be localized? Try Ctrl+F. >> >> /gustav >> >> >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> >> On 16 Nov 2005 at 15:51, Gustav Brock wrote: >> >> > Hi Mark >> > >> > Strange. Works in Excel as well. >> > >> >> Only thing I've ever seen Ctrl+B do in Excel in make the >> current selection Bold. >> >> Are you using some sort of Hotkey utility to change default >> key behaviours? >> >> >> -- >> Stuart From paul.hartland at isharp.co.uk Thu Nov 17 04:41:08 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 17 Nov 2005 10:41:08 -0000 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List In-Reply-To: Message-ID: To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. From lmrazek at lcm-res.com Thu Nov 17 10:23:28 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 17 Nov 2005 10:23:28 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD858@corp-es01.fleetpride.com> Message-ID: <052801c5eb93$3eb275d0$036fa8c0@hplaptop> Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 17 10:27:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 08:27:25 -0800 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List Message-ID: What you want is something like MyCombo = MyCombo.ItemData(0) Note that if you have column headings turned on, you need to use ItemData(1) because the column headings are treated as the first row. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Thursday, November 17, 2005 2:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Thu Nov 17 10:37:37 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 17 Nov 2005 16:37:37 -0000 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List In-Reply-To: Message-ID: Thanks Charlotte, will try a bit later on or early tomorrow... Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 17 November 2005 16:27 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List What you want is something like MyCombo = MyCombo.ItemData(0) Note that if you have column headings turned on, you need to use ItemData(1) because the column headings are treated as the first row. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Thursday, November 17, 2005 2:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 17 12:03:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 19:03:16 +0100 Subject: [AccessD] Creating an ADO Data Provider Message-ID: Hi all Seeking some advice here ... I read this article on the subject: http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp because I've never worked with such. It seems to be quite some work with Registry entries etc. The article explains how to do it but not really why. Why would you go this route? And - perhaps - why not? /gustav From martyconnelly at shaw.ca Thu Nov 17 12:48:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:48:53 -0800 Subject: [AccessD] A97 BE with A2k3 FE References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: <437CD095.7060102@shaw.ca> It can't be done. Access 2003 uses OS thingies like Winhttp as an example. You can install a version of Winhttp that will work on Win98 but they are not the same version. Access 2003 will only work win xp and 2000. Thingies is a technical term Francisco Tapia wrote: >Has Anyone Successfully installed A2k3 on NT or 98/se? > > >On 11/16/05, William Hindman wrote: > > >>...I've been very pleasantly surprised at A2K3's compatibility with older >>versions ...I just yesterday installed a pretty good sized app on a client's >>A2K2 runtime that had been fully developed in A2K3 ...I expected to at least >>have to change some references to the treeview ocx, etc ...but it ran >>without a hitch :) >> >>...and I'm developing/testing an A2K3 fe against a copy of a client's A97 >>secured be ...so far it takes to it like a duck takes to water. >> >>William >> >>----- Original Message ----- >>From: "Bruen, Bruce" >>To: "Access Developers discussion and problem solving" >> >>Sent: Wednesday, November 16, 2005 1:21 AM >>Subject: Re: [AccessD] A97 BE with A2k3 FE >> >> >> >> >>>Been running a similar scenario for a year now on a test management >>>system that uses both an A97 (Jet 3.5) back end which is also used by a >>>Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 >>>front end. The only problems I have found have been forgetting where I >>>was and making changes to the UI in A2k3 which are not compatible with >>>the A2k fromt end. >>>Sound strange? >>> >>>The back end is a UML model repository that we use to design the tests. >>>It's a Jet db that starts life as an A97 db and gets used by the UML >>>tool from http://www.sparxsystems.com.au (no relationship - highly >>>recommended) via Jet 4.0, when we move into test execution stage we use >>>a home-grown results recorder which I use on an A2k dev machine, the >>>test lead uses on an A2k runtime machine and every time I go home I >>>think of something else we could do and dev it up on A2k3..... >>> >>>I have on occasion also taken the db's home and up-and-down-gradeded >>>them to A2k3 and back to "prev" without any ill effects. >>> >>> >>>.... Just lucky I guess :-) >>> >>>Hth >>>Bruce >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >>>Sent: Wednesday, 16 November 2005 4:08 PM >>>To: _DBA-Access >>>Subject: [AccessD] A97 BE with A2k3 FE >>> >>>Anyone have any experience with using an A2k3 FE with and A97 BE? >>> >>>I've been testing it for a client request and haven't had any problems >>>yet but would like to hear of others experiences. >>> >>>TIA >>>John B. >>> >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>>This e-mail and any attachments may contain confidential information that >>>is intended solely for the use of the intended recipient and may be >>>subject to copyright. If you receive this e-mail in error, please notify >>>the sender immediately and delete the e-mail and its attachments from your >>>system. You must not disclose, copy or use any part of this e-mail if you >>>are not the intended recipient. Any opinion expressed in this e-mail and >>>any attachments is not an opinion of RailCorp unless stated or apparent >>>from its content. RailCorp is not responsible for any unauthorised >>>alterations to this e-mail or any attachments. RailCorp will not incur any >>>liability resulting directly or indirectly as a result of the recipient >>>accessing any of the attached files that may contain a virus. >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > >-- >-Francisco >http://pcthis.blogspot.com |PC news with out the jargon! >http://sqlthis.blogspot.com | Tsql and More... > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 12:53:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:53:03 -0800 Subject: [AccessD] A97 BE with A2k3 FE References: <001201c5ead6$879f9290$6701a8c0@ScuzzPaq> Message-ID: <437CD18F.10500@shaw.ca> Just remember with any form of Internationalizing you may run into problems on a A97 BE A2003 frontend mix Due to A97 being ANSI based and A2003 Unicode. Even without the use of IME's John Bartow wrote: >Bruce, >Thanks for the input! Sounds like what you're doing is more complicated than >my possible venture. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce > >Been running a similar scenario for a year now on a test management system >that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 >third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. >The only problems I have found have been forgetting where I was and making >changes to the UI in A2k3 which are not compatible with the A2k fromt end. >Sound strange? > >The back end is a UML model repository that we use to design the tests. >It's a Jet db that starts life as an A97 db and gets used by the UML tool >from http://www.sparxsystems.com.au (no relationship - highly >recommended) via Jet 4.0, when we move into test execution stage we use a >home-grown results recorder which I use on an A2k dev machine, the test lead >uses on an A2k runtime machine and every time I go home I think of something >else we could do and dev it up on A2k3..... > >I have on occasion also taken the db's home and up-and-down-gradeded them to >A2k3 and back to "prev" without any ill effects. > > >.... Just lucky I guess :-) > >Hth >Bruce > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 12:57:40 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:57:40 -0800 Subject: [AccessD] Creating an ADO Data Provider References: Message-ID: <437CD2A4.4040903@shaw.ca> Just a guess but you might want to do this for example with SAP DB or it's other incarnation from MySQL MaxDB since I don't think anyone has written an OLEDB provider yet. Otherwise you have to use an ODBC driver. Gustav Brock wrote: >Hi all > >Seeking some advice here ... I read this article on the subject: > > http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp > >because I've never worked with such. >It seems to be quite some work with Registry entries etc. >The article explains how to do it but not really why. > >Why would you go this route? And - perhaps - why not? > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Thu Nov 17 14:41:51 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 17 Nov 2005 14:41:51 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD862@corp-es01.fleetpride.com> The basic way to plug a formula into a spreadsheet is along the lines of appExcel.range("f63:j63").Formula = "=k63" Access won't "remember" but there are various ways you can figure it out. How are you populating your spreadsheet? cell by cell? one big copyrecset? Tell me a bit more and I may be able to tell you the best way to set your totals. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Thu Nov 17 15:40:12 2005 From: john at winhaven.net (John Bartow) Date: Thu, 17 Nov 2005 15:40:12 -0600 Subject: [AccessD] Access conectivity to SQL Server Message-ID: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> So what are most of you using for connecting Access to SQL Server data? ADO/OLE DB or ODBC? From erbachs at gmail.com Thu Nov 17 15:52:25 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 15:52:25 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> References: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> Message-ID: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> John, Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep using ODBC. ADP's work slick. Steve Erbach Neenah, WI On 11/17/05, John Bartow wrote: > > So what are most of you using for connecting Access to SQL Server data? > ADO/OLE DB or ODBC? > > -- > From cfoust at infostatsystems.com Thu Nov 17 16:01:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 14:01:31 -0800 Subject: [AccessD] Access conectivity to SQL Server Message-ID: My personal preference is ADO/OleDB, although here at work we use ODBC for Access/SQL Server in our older projects. Of course in .Net, we use ADO.Net .... Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, November 17, 2005 1:40 PM To: _DBA-Access Subject: [AccessD] Access conectivity to SQL Server So what are most of you using for connecting Access to SQL Server data? ADO/OLE DB or ODBC? -- 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 Nov 17 16:01:08 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 17 Nov 2005 16:01:08 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD862@corp-es01.fleetpride.com> Message-ID: <05e801c5ebc2$6a3e7cb0$036fa8c0@hplaptop> Hi Jim: I'll need to populate it by groups ... Each group will have 12 rows and the same number of columns. So I'm thinking that I'll have start at a set position for each sheet, and then populate down from there, skipping a couple of rows after each grouping level. Basically, I'll need the company total to be at the top, followed by all of the subsets of the data grouped by category. Data will look something like this (will probably have about 9 columns total): Heading: Total Data By Company Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- Heading: Total Data By Category 1 Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- I'm thinking of looping through recordsets to get the separate data by category. 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 Hale, Jim Sent: Thursday, November 17, 2005 2:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? The basic way to plug a formula into a spreadsheet is along the lines of appExcel.range("f63:j63").Formula = "=k63" Access won't "remember" but there are various ways you can figure it out. How are you populating your spreadsheet? cell by cell? one big copyrecset? Tell me a bit more and I may be able to tell you the best way to set your totals. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Thu Nov 17 16:06:23 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 16:06:23 -0600 Subject: [AccessD] A2003: Extracting strings Message-ID: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> Dear Group, Lets say you have a note field in a table into which your users have been entering text notes that include dates in various formats (9-1-05, 10/12/04, 8/3/2004, etc.) as well as the text. What I'd like to do is extract those dates from the note field and stuff them into a bona fide date field. It's straightforward enough to locate, say, all the dates that have dashes in them with a query like this: SELECT * FROM tblNotes WHERE ((Note Like "*##-##-##*") OR (Note Like "*##-#-##*") OR (Note Like "*#-##-##*") OR (Note Like "*#-#-##*") OR (Note Like "*##-##-####*") OR (Note Like "*##-#-####*") OR (Note) Like "*#-##-####*") OR (Note Like "*#-#-####*")); This gives me all the records that have dates formatted with dashes. But what I want is to actually extract those dates and stuff them into a new column as a Date type. I've looked through the Access 2003 Help for a while but I don't seem to find anything that jumps out at me. To use the Instr() function you need to supply a literal value, not a pattern. I guess what I'm looking for is a function similar to the Match() function in the old Borland Paradox program. You provided the string to search as well as the string pattern you're searching for and the Match() function would stuff the located substring into a variable for you. Anything like this that you can think of? I'm considering writing a VBA Match() function, but I'm hoping there's something else available. Thanks. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From erbachs at gmail.com Thu Nov 17 16:12:51 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 16:12:51 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: References: Message-ID: <39cb22f30511171412w3a4b1365o379b0e9fbf39fcb2@mail.gmail.com> Charlotte, What's the for? Steve Erbach Neenah, WI On 11/17/05, Charlotte Foust wrote: > > My personal preference is ADO/OleDB, although here at work we use ODBC > for Access/SQL Server in our older projects. Of course in .Net, we use > ADO.Net .... > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, November 17, 2005 1:40 PM > To: _DBA-Access > Subject: [AccessD] Access conectivity to SQL Server > > > So what are most of you using for connecting Access to SQL Server data? > ADO/OLE DB or ODBC? > > From cfoust at infostatsystems.com Thu Nov 17 16:48:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 14:48:24 -0800 Subject: [AccessD] Access conectivity to SQL Server Message-ID: You can't use it in Access ... yet. ;-} Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Thursday, November 17, 2005 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access conectivity to SQL Server Charlotte, What's the for? Steve Erbach Neenah, WI On 11/17/05, Charlotte Foust wrote: > > My personal preference is ADO/OleDB, although here at work we use ODBC > for Access/SQL Server in our older projects. Of course in .Net, we use > ADO.Net .... > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, November 17, 2005 1:40 PM > To: _DBA-Access > Subject: [AccessD] Access conectivity to SQL Server > > > So what are most of you using for connecting Access to SQL Server > data? ADO/OLE DB or ODBC? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Nov 17 18:26:33 2005 From: john at winhaven.net (John Bartow) Date: Thu, 17 Nov 2005 18:26:33 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> Message-ID: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Steve, Did you miss my ADP question? :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Thursday, November 17, 2005 3:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access conectivity to SQL Server John, Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep using ODBC. ADP's work slick. Steve Erbach Neenah, WI From Jim.Hale at FleetPride.com Thu Nov 17 18:48:36 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 17 Nov 2005 18:48:36 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD866@corp-es01.fleetpride.com> Here is a quick and dirty function to add the total formula to a column. It assumes you know the starting cell of the numbers to be summed (E5 in this ex). It puts the formula in the first empty cell of the column. Hopefully it will get you started. I wrote this inside Excel. You'll need to set the Excel object to run it from inside Access Jim Hale Function test() Dim rng As Range, i As Integer, strAddressBottom As String, strAddressTop As String Set rng = Range("e5") strAddressTop = rng.Address For i = 1 To 25 'assumes 25 is the max length of the column of numbers to be added If rng.Offset(i, 0).Value = "" Then 'looks for the first blank cell in the column strAddressBottom = rng.Offset(i - 1, 0).Cells.Address rng.Offset(i, 0).Formula = "=sum(" & strAddressTop & ":" & strAddressBottom & ")" GoTo The_End End If Next The_End: Set rng = Nothing End Function -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 4:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Hi Jim: I'll need to populate it by groups ... Each group will have 12 rows and the same number of columns. So I'm thinking that I'll have start at a set position for each sheet, and then populate down from there, skipping a couple of rows after each grouping level. Basically, I'll need the company total to be at the top, followed by all of the subsets of the data grouped by category. Data will look something like this (will probably have about 9 columns total): Heading: Total Data By Company Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- Heading: Total Data By Category 1 Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- I'm thinking of looping through recordsets to get the separate data by category. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Thu Nov 17 20:16:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 18:16:04 -0800 Subject: [AccessD] Access conectivity to SQL Server References: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Message-ID: <437D3964.5040008@shaw.ca> ADP's make Stored Procedures easier to develop and use but I prefer using ADO. It just requires extra coding that is easier to port to .Net. I have been using ADO since Access 97 came out but it was messy with MDAC 2.0. John Bartow wrote: >Steve, >Did you miss my ADP question? >:o) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach >Sent: Thursday, November 17, 2005 3:52 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Access conectivity to SQL Server > >John, > Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep >using ODBC. ADP's work slick. > Steve Erbach >Neenah, WI > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 20:53:28 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 18:53:28 -0800 Subject: [AccessD] A2003: Extracting strings References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> Message-ID: <437D4228.3080300@shaw.ca> How about a Regular Expression function '?getDateRegEx("aaaa 12-12-2005 888hh") '?getDateRegEx("aaaa 13-13-04 888hh") '?getDateRegEx("aaaa 12-12-04 888hh") Public Function getDateRegEx(ByVal sValue As String) As Variant 'need reference to Microsoft VBScript Regular Expressions 5.5, ' or Set r = CreateObject("vbscript.regexp") Dim x As Integer Dim r As RegExp Dim buf As String Dim match As Object Dim matches As Object getDateRegEx = Null 'throws a null into a bad date like 13-13-2005 Set r = New RegExp r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" ' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" Set matches = r.Execute(sValue) For Each match In matches Debug.Print match.Value On Error Resume Next getDateRegEx = CDate(match.Value) Next match Set matches = Nothing Set r = Nothing End Function Steve Erbach wrote: >Dear Group, > Lets say you have a note field in a table into which your users have been >entering text notes that include dates in various formats (9-1-05, 10/12/04, >8/3/2004, etc.) as well as the text. What I'd like to do is extract those >dates from the note field and stuff them into a bona fide date field. > It's straightforward enough to locate, say, all the dates that have dashes >in them with a query like this: > SELECT * >FROM tblNotes >WHERE ((Note Like "*##-##-##*") >OR (Note Like "*##-#-##*") >OR (Note Like "*#-##-##*") >OR (Note Like "*#-#-##*") >OR (Note Like "*##-##-####*") >OR (Note Like "*##-#-####*") >OR (Note) Like "*#-##-####*") >OR (Note Like "*#-#-####*")); > >This gives me all the records that have dates formatted with dashes. But >what I want is to actually extract those dates and stuff them into a new >column as a Date type. > I've looked through the Access 2003 Help for a while but I don't seem to >find anything that jumps out at me. To use the Instr() function you need to >supply a literal value, not a pattern. I guess what I'm looking for is a >function similar to the Match() function in the old Borland Paradox program. >You provided the string to search as well as the string pattern you're >searching for and the Match() function would stuff the located substring >into a variable for you. > Anything like this that you can think of? I'm considering writing a VBA >Match() function, but I'm hoping there's something else available. Thanks. > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI >www.swerbach.com >Security Page: www.swerbach.com/security > > -- Marty Connelly Victoria, B.C. Canada From erbachs at gmail.com Fri Nov 18 06:32:05 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:32:05 -0600 Subject: [AccessD] A2003: Extracting strings In-Reply-To: <437D4228.3080300@shaw.ca> References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> Message-ID: <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> Marty, You know, I looked for the phrase "regular expression" in the "Help" but found nothing but the usual references to expressions: expression builder, expressions in queries, jet expression sandbox mode, etc. After getting your very helpful hint, I looked on my Safari Bookshelf in the "VBScript in a Nutshell" book, and voil?! There she is! RegExp object and all its methods and properties. Thank you. Has that object been available to me all this time? I mean, since Access 97 or 2000? Steve Erbach Neenah, WI On 11/17/05, MartyConnelly wrote: > > How about a Regular Expression function > > '?getDateRegEx("aaaa 12-12-2005 888hh") > '?getDateRegEx("aaaa 13-13-04 888hh") > '?getDateRegEx("aaaa 12-12-04 888hh") > > Public Function getDateRegEx(ByVal sValue As String) As Variant > > 'need reference to Microsoft VBScript Regular Expressions 5.5, > ' or Set r = CreateObject("vbscript.regexp") > Dim x As Integer > Dim r As RegExp > Dim buf As String > Dim match As Object > Dim matches As Object > > getDateRegEx = Null > 'throws a null into a bad date like 13-13-2005 > > Set r = New RegExp > r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" > ' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- > /.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" > > Set matches = r.Execute(sValue) > For Each match In matches > Debug.Print match.Value > On Error Resume Next > getDateRegEx = CDate(match.Value) > Next match > Set matches = Nothing > Set r = Nothing > End Function > > > > Steve Erbach wrote: > > >Dear Group, > > Lets say you have a note field in a table into which your users have > been > >entering text notes that include dates in various formats (9-1-05, > 10/12/04, > >8/3/2004, etc.) as well as the text. What I'd like to do is extract those > >dates from the note field and stuff them into a bona fide date field. > From erbachs at gmail.com Fri Nov 18 06:44:06 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:44:06 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> References: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Message-ID: <39cb22f30511180444r7bbe57f6i92b7cb5f820cba45@mail.gmail.com> John, Yes, I did. Just went back to look at it. I haven't been around AccessD for quite a while, not even lurking too much since I've done mostly ASP with ADO data access and some web page design lately. I haven't been paying attention to Access much. Charlotte's seems to suggest that Microsoft MAY move Access into the .NET realm. Do you have any other insights into this transformation? Sorry about the, apparently, oblivious answer I gave. I've used Toad and Query Analyzer and Enterprise Manager for dealing with SQL Server data, but I still use Access ADP's for all-around usefulness. Steve Erbach Neenah, WI On 11/17/05, John Bartow wrote: > > Steve, > Did you miss my ADP question? > :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Thursday, November 17, 2005 3:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access conectivity to SQL Server > > John, > Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep > using ODBC. ADP's work slick. > Steve Erbach > Neenah, WI > > From erbachs at gmail.com Fri Nov 18 06:48:00 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:48:00 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511180447h49ec7e26m9536830cec1a73bf@mail.gmail.com> William, Following on to John's other question about connecting to SQL Server, are you saying that when connecting to SQL Server data sources (for the time being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very interesting. Pass-through queries and all? Steve Erbach Neenah, WI On 11/16/05, William Hindman wrote: > > ...I dropped any work with ADPs when MS made it clear they weren't the > future ...had enough learning on my pallet as it was ...not that I was > happy > with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the > moment and doing just fine :) > > William > > ----- Original Message ----- > From: "John Bartow" > To: "_DBA-Access" > Sent: Wednesday, November 16, 2005 12:52 PM > Subject: [AccessD] A2K3 ADP > > > > Does anyone have comments on ADPs with A2K3? > > > > IIRC there were some negatives brought up about them here with previous > > versions. > > > > Are you using ADPs for SQLServer data sources or MDBs via DB > connectivity? > > > > TIA > > John B. > From paul.hartland at isharp.co.uk Fri Nov 18 07:26:14 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 18 Nov 2005 13:26:14 -0000 Subject: [AccessD] Creating A New Access Database From An Existing Database & Set Menu Options In-Reply-To: Message-ID: To all, I have a bit of spare time on my hands and was wondering if the following is possible, I have created a new Access database from within an existing database. What I now want to do is create my own menu bar for that database, and set it so that this is the only menu bar that shows when that particular database is opened. So I need to know: 1. How to create my own menu bar (via VBA) for the new database. 2. How to set the options so that when it is opened I only have the custom menu bar appear. Thanks in advance for any help and/or code samples. Paul Hartland Database Developer. From Gustav at cactus.dk Fri Nov 18 08:16:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Nov 2005 15:16:04 +0100 Subject: [AccessD] Creating an ADO Data Provider Message-ID: Hi Marty That's right - but wouldn't you have to use the ODBC driver anyway? Of course, using the ODBC driver directly you'll have to deal with connections strings etc. Creating an ADO Data Provider you hide the connection details away. /gustav >>> martyconnelly at shaw.ca 17-11-2005 19:57:40 >>> Just a guess but you might want to do this for example with SAP DB or it's other incarnation from MySQL MaxDB since I don't think anyone has written an OLEDB provider yet. Otherwise you have to use an ODBC driver. Gustav Brock wrote: >Hi all > >Seeking some advice here ... I read this article on the subject: > > http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp > >because I've never worked with such. >It seems to be quite some work with Registry entries etc. >The article explains how to do it but not really why. > >Why would you go this route? And - perhaps - why not? From wdhindman at bellsouth.net Fri Nov 18 09:54:16 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 18 Nov 2005 10:54:16 -0500 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq><003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> <39cb22f30511180447h49ec7e26m9536830cec1a73bf@mail.gmail.com> Message-ID: <001901c5ec58$54a7fde0$6101a8c0@JISREGISTRATION.local> ...just call me Dinosaurus Rex :) Willam ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Friday, November 18, 2005 7:48 AM Subject: Re: [AccessD] A2K3 ADP > William, > > Following on to John's other question about connecting to SQL Server, are > you saying that when connecting to SQL Server data sources (for the time > being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very > interesting. Pass-through queries and all? > > Steve Erbach > Neenah, WI > > On 11/16/05, William Hindman wrote: >> >> ...I dropped any work with ADPs when MS made it clear they weren't the >> future ...had enough learning on my pallet as it was ...not that I was >> happy >> with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the >> moment and doing just fine :) >> >> William >> >> ----- Original Message ----- >> From: "John Bartow" >> To: "_DBA-Access" >> Sent: Wednesday, November 16, 2005 12:52 PM >> Subject: [AccessD] A2K3 ADP >> >> >> > Does anyone have comments on ADPs with A2K3? >> > >> > IIRC there were some negatives brought up about them here with previous >> > versions. >> > >> > Are you using ADPs for SQLServer data sources or MDBs via DB >> connectivity? >> > >> > TIA >> > John B. >> > -- > 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 Nov 18 08:44:50 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 15:44:50 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118154447.86703251D9D@smtp.nildram.co.uk> Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From harkinsss at bellsouth.net Fri Nov 18 09:54:32 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 18 Nov 2005 10:54:32 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: <20051118155431.PEFH23329.ibm56aec.bellsouth.net@SUSANONE> Andy, I've never run into that one -- very curious. Is this happening in all your mdb's or just one? Have you tried an Office Repair (not a repair/compact)? Susan H. Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. From jimdettman at earthlink.net Fri Nov 18 10:10:56 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 18 Nov 2005 11:10:56 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 dwaters at usinternet.com Fri Nov 18 10:16:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 18 Nov 2005 10:16:20 -0600 Subject: [AccessD] Syntax Corrections In-Reply-To: <9548351.1132328822512.JavaMail.root@sniper19> Message-ID: <000301c5ec5b$69bbedb0$0200a8c0@danwaters> Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 andy at minstersystems.co.uk Fri Nov 18 09:20:08 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:20:08 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162004.A6328251B87@smtp.nildram.co.uk> Hi Jim Unless I'm going blind (perfectly possible) A97 doesn't have an AutoCorrect in Tools Options. It has all kinds of other things, like Auto Syntax Check, which I've tried unchecking, but if it's a combination of these then I haven't hit on the right combination yet. -- 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] Syntax Corrections Date: 18/11/05 16:12 Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 andy at minstersystems.co.uk Fri Nov 18 09:21:26 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:21:26 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162123.4D77F254553@smtp.nildram.co.uk> mmmm, it's mdb-specific by the look of things. But the mdb has definitely been repaired recently. -- 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] Syntax Corrections Date: 18/11/05 15:56 Andy, I've never run into that one -- very curious. Is this happening in all your mdb's or just one? Have you tried an Office Repair (not a repair/compact)? Susan H. Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Fri Nov 18 10:21:43 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 11:21:43 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: <039b01c5ec5c$2a840a50$667aa8c0@ColbyM6805> I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 andy at minstersystems.co.uk Fri Nov 18 09:25:30 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:25:30 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162526.90B192501E4@smtp.nildram.co.uk> Do you get it too then Dan? I don't mean when you finish the line, which I agree has always happened, I'm talking about on a line which is half-completed and you pause in your typing (and sometimes I barely even pause), watch the screen and bam there it goes. As I've just said to Susan it's actually only happening in a specific mdb. I just created a new mdb, a new module, typed my test str=str & " and in the new mdb it just sat there politely, as I want, waiting for me to finish. -- 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] Syntax Corrections Date: 18/11/05 16:18 Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 andy at minstersystems.co.uk Fri Nov 18 09:36:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:36:14 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118163610.8B4A124DE02@smtp.nildram.co.uk> Ok I'm further on. It's not that it's mdb-specific, it's something else. It happens if there's code running. So if I have a form open (I mean in Form View not design) and I F6 switch round to the database window, open a module and start work that's when it happens. If there's no code running it doesn't. I still don't think this used to happen though. -- 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] Syntax Corrections Date: 18/11/05 16:21 Hi Jim Unless I'm going blind (perfectly possible) A97 doesn't have an AutoCorrect in Tools Options. It has all kinds of other things, like Auto Syntax Check, which I've tried unchecking, but if it's a combination of these then I haven't hit on the right combination yet. -- 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] Syntax Corrections Date: 18/11/05 16:12 Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Fri Nov 18 09:39:34 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:39:34 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 rl_stewart at highstream.net Fri Nov 18 10:54:53 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 18 Nov 2005 10:54:53 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: References: Message-ID: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Not really, since Microsoft is not going to continue support of ADPs. All those using them will have to re-tool their applications. I have some massive MDBs that connect only to SLQ Server, using ODBC. I was going to rewrite them to ADPs, but when I heard they were not going to be supported, I stopped. I am rewriting them in .Net instead. And, stored procs work fine using ODBC, just use a pass through query. Normally, I have one without the parameters (_0) that I use to build the one with the parameters (_1). And I simply change the SQL statement in code for the _1 query. If you are worried about the connection string, simply replace it through code also. Robert At 10:11 AM 11/18/2005, you wrote: >Date: Fri, 18 Nov 2005 10:54:16 -0500 >From: "William Hindman" >Subject: Re: [AccessD] A2K3 ADP >To: "Access Developers discussion and problem solving" > >Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > >...just call me Dinosaurus Rex :) > >Willam > >----- Original Message ----- >From: "Steve Erbach" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 18, 2005 7:48 AM >Subject: Re: [AccessD] A2K3 ADP > > > > William, > > > > Following on to John's other question about connecting to SQL Server, are > > you saying that when connecting to SQL Server data sources (for the time > > being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very > > interesting. Pass-through queries and all? > > > > Steve Erbach > > Neenah, WI > > > > On 11/16/05, William Hindman wrote: > >> > >> ...I dropped any work with ADPs when MS made it clear they weren't the > >> future ...had enough learning on my pallet as it was ...not that I was > >> happy > >> with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the > >> moment and doing just fine :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: "John Bartow" > >> To: "_DBA-Access" > >> Sent: Wednesday, November 16, 2005 12:52 PM > >> Subject: [AccessD] A2K3 ADP > >> > >> > >> > Does anyone have comments on ADPs with A2K3? > >> > > >> > IIRC there were some negatives brought up about them here with previous > >> > versions. > >> > > >> > Are you using ADPs for SQLServer data sources or MDBs via DB > >> connectivity? > >> > > >> > TIA > >> > John B. > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > From dwaters at usinternet.com Fri Nov 18 10:58:24 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 18 Nov 2005 10:58:24 -0600 Subject: [AccessD] Syntax Corrections In-Reply-To: <24032912.1132330355896.JavaMail.root@sniper21> Message-ID: <000001c5ec61$4a5d2b90$0200a8c0@danwaters> Yes - I didn't think of this but my main screen does have a 1 minute timer event. The code auto-spacing seemed to happen at random times, but perhaps every minute might be about right. Try a test with and without the timer to see what happens! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections Do you get it too then Dan? I don't mean when you finish the line, which I agree has always happened, I'm talking about on a line which is half-completed and you pause in your typing (and sometimes I barely even pause), watch the screen and bam there it goes. As I've just said to Susan it's actually only happening in a specific mdb. I just created a new mdb, a new module, typed my test str=str & " and in the new mdb it just sat there politely, as I want, waiting for me to finish. -- 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] Syntax Corrections Date: 18/11/05 16:18 Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Nov 18 11:07:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:07:14 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> Message-ID: <03ac01c5ec62$86564cc0$667aa8c0@ColbyM6805> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com From jwcolby at ColbyConsulting.com Fri Nov 18 11:07:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:07:14 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> Message-ID: <03ad01c5ec62$86a29800$667aa8c0@ColbyM6805> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Nov 18 11:20:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Nov 2005 18:20:13 +0100 Subject: [AccessD] Syntax Corrections Message-ID: Hi John Ahh, not so sensible, I can only guess what those thingies might be, but isn't it Friday? /gustav >>> jwcolby at ColbyConsulting.com 18-11-2005 18:07:14 >>> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- Andy Lacey http://www.minstersystems.co.uk From martyconnelly at shaw.ca Fri Nov 18 11:26:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 09:26:35 -0800 Subject: [AccessD] A2003: Extracting strings References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> Message-ID: <437E0ECB.20106@shaw.ca> It has been available since vbscript.dll came out. There were three version (5.0 or 1.0) 5.5 and 5.6 5.6 has a lot of additional methods to handle multi-line regexp, some may have been OS specific. With Access 97 you had force a VBA reference in code with a specific entry points to old versions of the dll. After 5.6 came out you could just do CreateObject("vbscript.regexp") I think I cheesed off some Swedish programmer who was selling a mda solution for $50 when I posted the method on comp.databases.ms-access about 5 years ago. . I have a sample mdb at http://www.rogersaccesslibrary.com/OtherLibraries.asp look under my name for RegularExpressionValidator. It is just code I was using for testing. The most useful part is the regexp pattern documentor, I borrowed the VB6 code from Don Edwards Seattle. in frmRegExTester. Handy for looking at long paragraph length patterns. I have seen one for emails that is 4 pages long. "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" digit 1 to 2 times Followed by any of - one or more times Followed by digit 1 to 2 times Followed by any of - one or more times Followed by digit 1 to 4 times There is documentation to use RegExp under Script56.chm or Script55.chm "C:\Program Files\Microsoft Windows Script\ScriptDocs\Script56.CHM" Lots of sample patterns out there but most are for grep or pearl regexp The syntax is a little different just remove the first and last character a ^ and $ I think. There is a txt file with the sample mdb with old urls to regexp sites maybe out of date. ' DLL included with Windows Scripting Host or IE5 vbscript 'ReferenceFromFile "c:\windows\system\vbscript.dll\2 ' Windows 2000: Requires a reference to VBScript Regular Expressions ' Microsoft VBScript Regular Expressions 1.0 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\2 Version 1.0 ' C:\Windows\System\vbscript.dll\2 ' Microsoft VBScript Regular Expressions 5.5 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\3 Version 5.5 ' C:\Windows\System\vbscript.dll\3 ' if using Version 5.5 Dim objRE As VBScript_RegExp_55.RegExp 'Dim objRE As VBScript_RegExp_10.RegExp 'Set objRE = New VBScript_RegExp_10.RegExp "c:\Windows\System\vbscript.dll\3", True 'ReferenceFromFile "c:\windows\system\vbscript.dll\4",true Steve Erbach wrote: >Marty, > >You know, I looked for the phrase "regular expression" in the "Help" but >found nothing but the usual references to expressions: expression builder, >expressions in queries, jet expression sandbox mode, etc. After getting your >very helpful hint, I looked on my Safari Bookshelf in the "VBScript in a >Nutshell" book, and voil?! There she is! RegExp object and all its methods >and properties. Thank you. > >Has that object been available to me all this time? I mean, since Access 97 >or 2000? > >Steve Erbach >Neenah, WI > >On 11/17/05, MartyConnelly wrote: > > >>How about a Regular Expression function >> >>'?getDateRegEx("aaaa 12-12-2005 888hh") >>'?getDateRegEx("aaaa 13-13-04 888hh") >>'?getDateRegEx("aaaa 12-12-04 888hh") >> >>Public Function getDateRegEx(ByVal sValue As String) As Variant >> >>'need reference to Microsoft VBScript Regular Expressions 5.5, >>' or Set r = CreateObject("vbscript.regexp") >>Dim x As Integer >>Dim r As RegExp >>Dim buf As String >>Dim match As Object >>Dim matches As Object >> >>getDateRegEx = Null >>'throws a null into a bad date like 13-13-2005 >> >>Set r = New RegExp >>r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" >>' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- >>/.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" >> >>Set matches = r.Execute(sValue) >>For Each match In matches >>Debug.Print match.Value >>On Error Resume Next >>getDateRegEx = CDate(match.Value) >>Next match >>Set matches = Nothing >>Set r = Nothing >>End Function >> >> >> >>Steve Erbach wrote: >> >> >> >>>Dear Group, >>>Lets say you have a note field in a table into which your users have >>> >>> >>been >> >> >>>entering text notes that include dates in various formats (9-1-05, >>> >>> >>10/12/04, >> >> >>>8/3/2004, etc.) as well as the text. What I'd like to do is extract those >>>dates from the note field and stuff them into a bona fide date field. >>> >>> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 18 11:34:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 09:34:27 -0800 Subject: [AccessD] Syntax Corrections References: <039b01c5ec5c$2a840a50$667aa8c0@ColbyM6805> Message-ID: <437E10A3.60507@shaw.ca> Here is some code I got from Trevor Best that gets you around this debugging problem where you could get clobbered p-code you have a form that's open for the duration of the application with a timer event, then put this code into it. --- begin code --- If Application.Modules.Count Then Debug.Print "" Debug.Print "*******************************" Debug.Print "*** Turning off form timers ***" Debug.Print "*******************************" For Each frm In Application.Forms Debug.Print frm.Name frm.TimerInterval = 0 Next Debug.Print "*******************************" Debug.Print "*** Form Timers turned off ***" Debug.Print "*******************************" Set frm = Nothing End If --- end code --- John Colby wrote: >I run into this when a form is open and firing the timer event. The timer >event (and code) running causes an attempted compile of the code I am >working on and the compile process does weird things. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 18, 2005 9:45 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Syntax Corrections > > >Ok I've put up with it for a while but this is driving me nuts now. > >Access 97. This has started fairly recently and I'm not aware of having >changed any setting to cause it. What it is is that as I type code Access >will, on occasions, 'correct' it as I type. Let me give you an example. > >I type: > >strA=strA & " > >I haven't finished the line but sometimes (and always if I hesitate long >enough) Access will automagically add spaces either side of the = for me and >a second " so that what I now have is > >strA = strA & "" > >Now that's ok except that while 3 characters have thus been added to the >line the cursor hasn't moved. Instead, therefore, of being at the end of the >line it's now 3 spaces before the end (immediately after the & in my >example). If I'm not looking at the screen and keep typing my text then when >I do eventually look up, or just hit enter at what I think is my line end, >the statement is shot to pieces. > >I've tried unchecking various Options (eg Auto Syntax Check) but I can't >seem to stop it. I swear that what used to happen was that this tidying up >occurred only when I hit Enter at the end of a line. Doing it while I'm >still typing the line is doing my head in. > >Does anyone know how I switch this behaviour off? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- Marty Connelly Victoria, B.C. Canada From KIsmert at texassystems.com Fri Nov 18 11:36:01 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 18 Nov 2005 11:36:01 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: Larry, I wrote a simple banded report writer for Excel. It will definitely handle the row based calculations -- just put the formulas in Excel in the proper place. It doesn't support column-based (Sum, etc. calculations), but that is possible. Basically, you define the report in an Excel template. You define the bands by using named ranges. You can have Report Headers/Footers, Page Headers/Footers, multiple Group Headers/Footers, and Records. You can even define Optional Record groups, sort of a Can Grow/Shrink substitute where if any field in an Optional Record group has a value, the group is shown, otherwise if no fields have a value, it is hidden. The groups define labels and fields by using the Locked flag under Protection in Format Cells. If Locked is checked, the cell is treated as a label or white space. If unchecked, the cell's contents is treated as a field name, and substituted with the field's value when the report is generated. Page numbering is supported, but that's about the only report-level function currently supported. Its slower than other methods, perhaps, but the results can be as pretty as you like. -Ken From jwcolby at ColbyConsulting.com Fri Nov 18 11:46:41 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:46:41 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <437E10A3.60507@shaw.ca> Message-ID: <03bb01c5ec68$08f70ed0$667aa8c0@ColbyM6805> Where do you put this? It the timer event so that as it runs it checks every time, and if encountered, shuts them all down? Or just in a button somewhere? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 18, 2005 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections Here is some code I got from Trevor Best that gets you around this debugging problem where you could get clobbered p-code you have a form that's open for the duration of the application with a timer event, then put this code into it. --- begin code --- If Application.Modules.Count Then Debug.Print "" Debug.Print "*******************************" Debug.Print "*** Turning off form timers ***" Debug.Print "*******************************" For Each frm In Application.Forms Debug.Print frm.Name frm.TimerInterval = 0 Next Debug.Print "*******************************" Debug.Print "*** Form Timers turned off ***" Debug.Print "*******************************" Set frm = Nothing End If --- end code --- John Colby wrote: >I run into this when a form is open and firing the timer event. The >timer event (and code) running causes an attempted compile of the code >I am working on and the compile process does weird things. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 18, 2005 9:45 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Syntax Corrections > > >Ok I've put up with it for a while but this is driving me nuts now. > >Access 97. This has started fairly recently and I'm not aware of having >changed any setting to cause it. What it is is that as I type code >Access will, on occasions, 'correct' it as I type. Let me give you an >example. > >I type: > >strA=strA & " > >I haven't finished the line but sometimes (and always if I hesitate >long >enough) Access will automagically add spaces either side of the = for me and >a second " so that what I now have is > >strA = strA & "" > >Now that's ok except that while 3 characters have thus been added to >the line the cursor hasn't moved. Instead, therefore, of being at the >end of the line it's now 3 spaces before the end (immediately after the >& in my example). If I'm not looking at the screen and keep typing my >text then when I do eventually look up, or just hit enter at what I >think is my line end, the statement is shot to pieces. > >I've tried unchecking various Options (eg Auto Syntax Check) but I >can't seem to stop it. I swear that what used to happen was that this >tidying up occurred only when I hit Enter at the end of a line. Doing >it while I'm still typing the line is doing my head in. > >Does anyone know how I switch this behaviour off? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- 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 bheygood at abestsystems.com Fri Nov 18 12:07:50 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 18 Nov 2005 10:07:50 -0800 Subject: [AccessD] Access To HTML To PDF In-Reply-To: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Message-ID: Hello to the list, My client wishes me to export some data and graphs to PDF with some menus and buttons to allow the user to navigate within the PDF. His prototype, using HTML with text and graphs pasted in, works just fine when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, take me to the right location in the document. How can I do this automatically? Preferably without the html. Access reports and forms don't seem to allow other than static (no buttons) output to PDF. TIA bob heygood From erbachs at gmail.com Fri Nov 18 12:12:16 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 12:12:16 -0600 Subject: [AccessD] A2003: Extracting strings In-Reply-To: <437E0ECB.20106@shaw.ca> References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> <437E0ECB.20106@shaw.ca> Message-ID: <39cb22f30511181012m5cf365bpa127cfa080403635@mail.gmail.com> Marty, Thank you for all great information. Steve Erbach On 11/18/05, MartyConnelly wrote: > > It has been available since vbscript.dll came out. There were three > version (5.0 or 1.0) 5.5 and 5.6 > 5.6 has a lot of additional methods to handle multi-line regexp, some > may have been OS specific. > > With Access 97 you had force a VBA reference in code with a specific > entry points to old versions of the dll. > > After 5.6 came out you could just do CreateObject("vbscript.regexp") > I think I cheesed off some Swedish programmer who was selling a mda > solution for $50 > when I posted the method on comp.databases.ms-access about 5 years ago. > . > I have a sample mdb at > http://www.rogersaccesslibrary.com/OtherLibraries.asp > look under my name for RegularExpressionValidator. It is just code I was > using for testing. > > > The most useful part is the regexp pattern documentor, I borrowed the > VB6 code from Don Edwards Seattle. > in frmRegExTester. Handy for looking at long paragraph length patterns. > I have seen one for emails > that is 4 pages long. > > "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" > > > digit 1 to 2 times > Followed by any of - one or more times > Followed by digit 1 to 2 times > Followed by any of - one or more times > Followed by digit 1 to 4 times > > From lmrazek at lcm-res.com Fri Nov 18 12:17:41 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 18 Nov 2005 12:17:41 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <078001c5ec6c$5e247d80$036fa8c0@hplaptop> Hi Ken: Does your approach adapt to data that might have 5 groups one month, then 10 the next? I want to make sure that once we build this thing, we're not forever going back to Excel to modify headers, add groups, etc. Thanks! 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 Ken Ismert Sent: Friday, November 18, 2005 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export To Excel - Formulas Possible? Larry, I wrote a simple banded report writer for Excel. It will definitely handle the row based calculations -- just put the formulas in Excel in the proper place. It doesn't support column-based (Sum, etc. calculations), but that is possible. Basically, you define the report in an Excel template. You define the bands by using named ranges. You can have Report Headers/Footers, Page Headers/Footers, multiple Group Headers/Footers, and Records. You can even define Optional Record groups, sort of a Can Grow/Shrink substitute where if any field in an Optional Record group has a value, the group is shown, otherwise if no fields have a value, it is hidden. The groups define labels and fields by using the Locked flag under Protection in Format Cells. If Locked is checked, the cell is treated as a label or white space. If unchecked, the cell's contents is treated as a field name, and substituted with the field's value when the report is generated. Page numbering is supported, but that's about the only report-level function currently supported. Its slower than other methods, perhaps, but the results can be as pretty as you like. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Fri Nov 18 12:19:26 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 12:19:26 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Message-ID: <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> Robert, I'm not concerned about coding something like this. I'm more interested in the state of Microsoft development and support. I have a Universal MSDN subscription, but I confess I don't pay that much attention to what's happening with Access. It just seemed to me that ADP's were so handy. Steve Erbach Neenah, WI On 11/18/05, Robert L. Stewart wrote: > > Not really, since Microsoft is not going to continue support of > ADPs. All those using them will have to re-tool their applications. > > I have some massive MDBs that connect only to SLQ Server, using > ODBC. I was going to rewrite them to ADPs, but when I heard they > were not going to be supported, I stopped. I am rewriting them in > .Net instead. > > And, stored procs work fine using ODBC, just use a pass through > query. Normally, I have one without the parameters (_0) that I use > to build the one with the parameters (_1). And I simply change the > SQL statement in code for the _1 query. If you are worried about the > connection string, simply replace it through code also. > > Robert > > At 10:11 AM 11/18/2005, you wrote: > >Date: Fri, 18 Nov 2005 10:54:16 -0500 > >From: "William Hindman" > >Subject: Re: [AccessD] A2K3 ADP > >To: "Access Developers discussion and problem solving" > > > >Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> > >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > > reply-type=original > > > >...just call me Dinosaurus Rex :) > > > >Willam > From martyconnelly at shaw.ca Fri Nov 18 12:33:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 10:33:42 -0800 Subject: [AccessD] Syntax Corrections References: <03bb01c5ec68$08f70ed0$667aa8c0@ColbyM6805> Message-ID: <437E1E86.7080900@shaw.ca> This assumes you have a timer event that starts running in say a hidden form on entry to the mdb Or if you are debugging put in the on open event of a form that has a timer This line Application.Modules.Count Checks if you have a vba module open in edit or debug mode Not sure if it is set to greater than zero if code behind a form is open If edit or debug in effect resets timer interval to zero John Colby wrote: >Where do you put this? It the timer event so that as it runs it checks >every time, and if encountered, shuts them all down? Or just in a button >somewhere? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, November 18, 2005 12:34 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Syntax Corrections > > >Here is some code I got from Trevor Best that gets you around this >debugging problem >where you could get clobbered p-code > > you have a form that's open for the duration of the application with a >timer event, then put this code into it. >--- begin code --- > If Application.Modules.Count Then > Debug.Print "" > Debug.Print "*******************************" > Debug.Print "*** Turning off form timers ***" > Debug.Print "*******************************" > For Each frm In Application.Forms > Debug.Print frm.Name > frm.TimerInterval = 0 > Next > Debug.Print "*******************************" > Debug.Print "*** Form Timers turned off ***" > Debug.Print "*******************************" > Set frm = Nothing > > > End If >--- end code --- > > > >John Colby wrote: > > > >>I run into this when a form is open and firing the timer event. The >>timer event (and code) running causes an attempted compile of the code >>I am working on and the compile process does weird things. >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Friday, November 18, 2005 9:45 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Syntax Corrections >> >> >>Ok I've put up with it for a while but this is driving me nuts now. >> >>Access 97. This has started fairly recently and I'm not aware of having >>changed any setting to cause it. What it is is that as I type code >>Access will, on occasions, 'correct' it as I type. Let me give you an >>example. >> >>I type: >> >>strA=strA & " >> >>I haven't finished the line but sometimes (and always if I hesitate >>long >>enough) Access will automagically add spaces either side of the = for me >> >> >and > > >>a second " so that what I now have is >> >>strA = strA & "" >> >>Now that's ok except that while 3 characters have thus been added to >>the line the cursor hasn't moved. Instead, therefore, of being at the >>end of the line it's now 3 spaces before the end (immediately after the >>& in my example). If I'm not looking at the screen and keep typing my >>text then when I do eventually look up, or just hit enter at what I >>think is my line end, the statement is shot to pieces. >> >>I've tried unchecking various Options (eg Auto Syntax Check) but I >>can't seem to stop it. I swear that what used to happen was that this >>tidying up occurred only when I hit Enter at the end of a line. Doing >>it while I'm still typing the line is doing my head in. >> >>Does anyone know how I switch this behaviour off? >>-- >>Andy Lacey >>http://www.minstersystems.co.uk >> >> >>________________________________________________ >>Message sent using UebiMiau 2.7.2 >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 18 12:46:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 10:46:20 -0800 Subject: [AccessD] A2K3 ADP References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> Message-ID: <437E217C.1040105@shaw.ca> I don't know whether this statement from Mary Chipman still hold's true It is a year old regarding SQL Express 2005 and Access ADP's. From one of the microsoft non-google searchable newsgroups. I think they are still messing around with the EM for SQL 2005 "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. " Steve Erbach wrote: >Robert, > >I'm not concerned about coding something like this. I'm more interested in >the state of Microsoft development and support. I have a Universal MSDN >subscription, but I confess I don't pay that much attention to what's >happening with Access. It just seemed to me that ADP's were so handy. > >Steve Erbach >Neenah, WI > > >On 11/18/05, Robert L. Stewart wrote: > > >>Not really, since Microsoft is not going to continue support of >>ADPs. All those using them will have to re-tool their applications. >> >>I have some massive MDBs that connect only to SLQ Server, using >>ODBC. I was going to rewrite them to ADPs, but when I heard they >>were not going to be supported, I stopped. I am rewriting them in >>.Net instead. >> >>And, stored procs work fine using ODBC, just use a pass through >>query. Normally, I have one without the parameters (_0) that I use >>to build the one with the parameters (_1). And I simply change the >>SQL statement in code for the _1 query. If you are worried about the >>connection string, simply replace it through code also. >> >>Robert >> >>At 10:11 AM 11/18/2005, you wrote: >> >> >>>Date: Fri, 18 Nov 2005 10:54:16 -0500 >>>From: "William Hindman" >>>Subject: Re: [AccessD] A2K3 ADP >>>To: "Access Developers discussion and problem solving" >>> >>>Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >>>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >>>reply-type=original >>> >>>...just call me Dinosaurus Rex :) >>> >>>Willam >>> >>> -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Nov 18 16:07:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 18 Nov 2005 14:07:20 -0800 Subject: [AccessD] OT Google maps In-Reply-To: <437E0ECB.20106@shaw.ca> Message-ID: <016101c5ec8c$7288c630$017ba8c0@xpserver> Hi All: This definitely OT but the list is such a talented group I pose this computer programming question. There are a number of agencies that sell lat and long cross-references to zip and postal codes and those can be used roughly positioning a 'marker' on a Google maps page. If you only need a few locations on a map is there a quicker way than zooming, clicking, capturing the mouse position and then manually entering the results for each marker into the page script? If there are only a couple of markers it is definitely the best way but if there are say 20+ required are there any short-cuts? MTIA Jim From martyconnelly at shaw.ca Fri Nov 18 16:45:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 14:45:45 -0800 Subject: [AccessD] OT Google maps References: <016101c5ec8c$7288c630$017ba8c0@xpserver> Message-ID: <437E5999.80102@shaw.ca> Look up pushpin in the google map api Multiple pushpins can only be done through your website, I think. But I haven't footled around with it. however the q parameter puts a pushpin on the map http://maps.google.com/?q=-35.146540,138.540741&t=k&z=0 Jim Lawrence wrote: >Hi All: > >This definitely OT but the list is such a talented group I pose this >computer programming question. > >There are a number of agencies that sell lat and long cross-references to >zip and postal codes and those can be used roughly positioning a 'marker' on >a Google maps page. If you only need a few locations on a map is there a >quicker way than zooming, clicking, capturing the mouse position and then >manually entering the results for each marker into the page script? If there >are only a couple of markers it is definitely the best way but if there are >say 20+ required are there any short-cuts? > >MTIA >Jim > > > -- Marty Connelly Victoria, B.C. Canada From fahooper at trapo.com Fri Nov 18 20:16:39 2005 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 18 Nov 2005 21:16:39 -0500 Subject: [AccessD] Back End Updater modifications In-Reply-To: <003c01c5de1a$9551f720$6401a8c0@fincomplex.spb.ru> Message-ID: <000d01c5ecaf$477d19a0$2e01a8c0@fredxp> I've been using this intensively for the past few months and I'd like to thank the writers for their fine program; it's saved me many hours of work. While I think I've read references here to other versions, I've only found Version 1 so perhaps the items below are redundant with newer versions. While using the Back End Updater I've needed to make a few changes and extensions and I'm hoping that there's a process for checking them and making them available to others; e.g. a new version. The changes/extensions are: (1) Dropped tables - When used with older back ends where the tables still existed in the back end, the updater couldn't use those dropped tables, for instance in SQL statements for earlier updates. I added code that checked for tables to be dropped and added links if the tables existed at the start of the updating process. (2) SQL statements - 255 characters wasn't enough so I added some fields & code to bring it up to 1020 characters. (3) Connection strings to back end - These are different for A2000; I modified them so they work for A97 - A2003. (4) Password-protected back ends - I've put one on the back end to keep browsers out (the password is the app's name, so it's not serious). However, I needed to modify the code to support it. (5) Changing field types - I found some code on the internet (http://aislebyaisle.com/access/vba_backend_code.htm) that supported this. With minor changes I've made it work for me. I'm hopeful that the author, Allen Beechick, will make it available to us (although I haven't contacted him). (6) Running code - Some changes just *needed* code. Rather than writing such code outside the BE Updater, I extended it to running a function as one of the main options. Fred Hooper From accessd at shaw.ca Sat Nov 19 01:47:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 18 Nov 2005 23:47:13 -0800 Subject: [AccessD] OT Google maps In-Reply-To: <437E5999.80102@shaw.ca> Message-ID: <016c01c5ecdd$7481fa50$017ba8c0@xpserver> Hi Marty: There is a lot of extra code to dig through to get a piece I can use but thanks for the info... The address translator and returning lats and longs should be able to work locally, depending if it is a process that all can access. Thanks again Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 18, 2005 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Google maps Look up pushpin in the google map api Multiple pushpins can only be done through your website, I think. But I haven't footled around with it. however the q parameter puts a pushpin on the map http://maps.google.com/?q=-35.146540,138.540741&t=k&z=0 Jim Lawrence wrote: >Hi All: > >This definitely OT but the list is such a talented group I pose this >computer programming question. > >There are a number of agencies that sell lat and long cross-references to >zip and postal codes and those can be used roughly positioning a 'marker' on >a Google maps page. If you only need a few locations on a map is there a >quicker way than zooming, clicking, capturing the mouse position and then >manually entering the results for each marker into the page script? If there >are only a couple of markers it is definitely the best way but if there are >say 20+ required are there any short-cuts? > >MTIA >Jim > > > -- 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 andy at minstersystems.co.uk Sat Nov 19 05:53:53 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 11:53:53 -0000 Subject: [AccessD] Syntax Corrections In-Reply-To: <03ad01c5ec62$86a29800$667aa8c0@ColbyM6805> Message-ID: <005101c5ecff$ea4ae680$e5b60c54@minster33c3r25> It's an old Englishe compliment. Many a man would give his right arm to so known. ;-) -- 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 Colby > Sent: 18 November 2005 17:07 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Syntax Corrections > > > Yea, you can just close the form, or have a little button or > something that stops the timer while you are working. > > Now on the subject of "the dog's thingie", I am not really > sure that I want to be known as "the dog's thingie". "God" > is fine, "king" is great as well. I suppose "The dog's > thingie" is better than being the fire hydrant / lamp pole. > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, November 18, 2005 10:40 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax Corrections > > > JC you are (as we all know) the dog's thingies. I just posted > saying this is only happening if I've got a form open, and > that form does indeed have a timer event. So I do believe > that you've hit the hypothetical nail on its symbolic head. > > All of which means that I'm still going to fall foul of this > but at least I know how to stop it. Thanks JC. > > -- > 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] Syntax Corrections > Date: 18/11/05 16:24 > > > I run into this when a form is open and firing the timer > event. The timer event (and code) running causes an attempted > compile of the code I am working on and the compile process > does weird things. > > 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 andy at minstersystems.co.uk Sat Nov 19 05:53:53 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 11:53:53 -0000 Subject: [AccessD] Syntax Corrections In-Reply-To: <437E1E86.7080900@shaw.ca> Message-ID: <005201c5ecff$ea9758d0$e5b60c54@minster33c3r25> Thanks Marty, I'll give this a try. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: 18 November 2005 18:34 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax Corrections > > > This assumes you have a timer event that starts running in > say a hidden > form on entry to the mdb > Or if you are debugging put in the on open event of a form > that has a timer This line > > Application.Modules.Count > > Checks if you have a vba module open in edit or debug mode > Not sure if it is set to greater than zero if code behind a > form is open If edit or debug in effect resets timer interval to zero > > John Colby wrote: > > >Where do you put this? It the timer event so that as it > runs it checks > >every time, and if encountered, shuts them all down? Or just in a > >button somewhere? > > > >John W. Colby > >www.ColbyConsulting.com > > > >Contribute your unused CPU cycles to a good cause: > >http://folding.stanford.edu/ > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >MartyConnelly > >Sent: Friday, November 18, 2005 12:34 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Syntax Corrections > > > > > >Here is some code I got from Trevor Best that gets you around this > >debugging problem > >where you could get clobbered p-code > > > > you have a form that's open for the duration of the > application with a > >timer event, then put this code into it. > >--- begin code --- > > If Application.Modules.Count Then > > Debug.Print "" > > Debug.Print "*******************************" > > Debug.Print "*** Turning off form timers ***" > > Debug.Print "*******************************" > > For Each frm In Application.Forms > > Debug.Print frm.Name > > frm.TimerInterval = 0 > > Next > > Debug.Print "*******************************" > > Debug.Print "*** Form Timers turned off ***" > > Debug.Print "*******************************" > > Set frm = Nothing > > > > > > End If > >--- end code --- > > > > > > > >John Colby wrote: > > > > > > > >>I run into this when a form is open and firing the timer event. The > >>timer event (and code) running causes an attempted compile > of the code > >>I am working on and the compile process does weird things. > >> > >>John W. Colby > >>www.ColbyConsulting.com > >> > >>Contribute your unused CPU cycles to a good cause: > >>http://folding.stanford.edu/ > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Andy Lacey > >>Sent: Friday, November 18, 2005 9:45 AM > >>To: Access Developers discussion and problem solving > >>Subject: [AccessD] Syntax Corrections > >> > >> > >>Ok I've put up with it for a while but this is driving me nuts now. > >> > >>Access 97. This has started fairly recently and I'm not aware of > >>having > >>changed any setting to cause it. What it is is that as I type code > >>Access will, on occasions, 'correct' it as I type. Let me > give you an > >>example. > >> > >>I type: > >> > >>strA=strA & " > >> > >>I haven't finished the line but sometimes (and always if I hesitate > >>long > >>enough) Access will automagically add spaces either side of > the = for me > >> > >> > >and > > > > > >>a second " so that what I now have is > >> > >>strA = strA & "" > >> > >>Now that's ok except that while 3 characters have thus been added to > >>the line the cursor hasn't moved. Instead, therefore, of > being at the > >>end of the line it's now 3 spaces before the end > (immediately after the > >>& in my example). If I'm not looking at the screen and keep > typing my > >>text then when I do eventually look up, or just hit enter at what I > >>think is my line end, the statement is shot to pieces. > >> > >>I've tried unchecking various Options (eg Auto Syntax Check) but I > >>can't seem to stop it. I swear that what used to happen was > that this > >>tidying up occurred only when I hit Enter at the end of a > line. Doing > >>it while I'm still typing the line is doing my head in. > >> > >>Does anyone know how I switch this behaviour off? > >>-- > >>Andy Lacey > >>http://www.minstersystems.co.uk > >> > >> > >>________________________________________________ > >>Message sent using UebiMiau 2.7.2 > >> > >> > >> > >> > >> > > > > > > > > -- > 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 andy at minstersystems.co.uk Sat Nov 19 06:03:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 12:03:28 -0000 Subject: [AccessD] Back End Updater modifications In-Reply-To: <000d01c5ecaf$477d19a0$2e01a8c0@fredxp> Message-ID: <005401c5ed01$40db20e0$e5b60c54@minster33c3r25> Hi Fred Glad you like BEU but sounds like you've done a lot of extra stuff. We have talked about further versions but it's finding the time. One thing Reuben did recently was add the functionality to run a query rather than just embedded SQL, so you might find that useful. I've added a couple of facilities I needed too, namely allowing a function to be specified as the default value on a field (eg today's date), and I've added a Print facility which prints the changes between 2 version numbers, which I've found useful. If you want any of that I can send it off-list. So, lots of scope for improvements, and yours sound great, esp the changing field types one. If you wanted to share any of that I'm sure we'd be interested. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: 19 November 2005 02:17 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Back End Updater modifications > > > I've been using this intensively for the past few months and > I'd like to thank the writers for their fine program; it's > saved me many hours of work. > > While I think I've read references here to other versions, > I've only found Version 1 so perhaps the items below are > redundant with newer versions. > > While using the Back End Updater I've needed to make a few > changes and extensions and I'm hoping that there's a process > for checking them and making them available to others; e.g. a > new version. > > The changes/extensions are: > > (1) Dropped tables - When used with older back ends where > the tables still existed in the back end, the updater > couldn't use those dropped tables, for instance in SQL > statements for earlier updates. I added code that checked for > tables to be dropped and added links if the tables existed at > the start of the updating process. > > (2) SQL statements - 255 characters wasn't enough so I added > some fields & code to bring it up to 1020 characters. > > (3) Connection strings to back end - These are different for > A2000; I modified them so they work for A97 - A2003. > > (4) Password-protected back ends - I've put one on the back > end to keep browsers out (the password is the app's name, so > it's not serious). However, I needed to modify the code to support it. > > (5) Changing field types - I found some code on the internet > (http://aislebyaisle.com/access/vba_backend_code.htm) that > supported this. With minor changes I've made it work for me. > I'm hopeful that the author, Allen Beechick, will make it > available to us (although I haven't contacted him). > > (6) Running code - Some changes just *needed* code. Rather > than writing such code outside the BE Updater, I extended it > to running a function as one of the main options. > > Fred Hooper > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From erbachs at gmail.com Sat Nov 19 14:53:58 2005 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 19 Nov 2005 14:53:58 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <437E217C.1040105@shaw.ca> References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> <437E217C.1040105@shaw.ca> Message-ID: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Thanks, Marty. Steve Erbach Neenah, WI On 11/18/05, MartyConnelly wrote: > > > I don't know whether this statement from Mary Chipman still hold's true > It is a year old regarding SQL Express 2005 and Access ADP's. > From one of the microsoft non-google searchable newsgroups. > I think they are still messing around with the EM for SQL 2005 > > > "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. " > > Steve Erbach wrote: > > >Robert, > > > >I'm not concerned about coding something like this. I'm more interested > in > >the state of Microsoft development and support. I have a Universal MSDN > >subscription, but I confess I don't pay that much attention to what's > >happening with Access. It just seemed to me that ADP's were so handy. > > > >Steve Erbach > >Neenah, WI > From accessd at shaw.ca Sat Nov 19 16:03:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2005 14:03:16 -0800 Subject: [AccessD] OT Python and IIS install In-Reply-To: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Message-ID: <018001c5ed55$0b8c8a10$017ba8c0@xpserver> OT: Hi all: I again apologize for so many OT questions but the clients are always right. Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? If so what file? Well back to it... MTIA Jim From artful at rogers.com Sat Nov 19 16:41:32 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 19 Nov 2005 17:41:32 -0500 Subject: [AccessD] A2K3 ADP In-Reply-To: <437E217C.1040105@shaw.ca> Message-ID: <200511192241.jAJMfWJ30804@databaseadvisors.com> If this is accurate, I can live with it. Why? Because the replacement for Enterprise Manager + Query Manager etc. is so slick that my old argument that ADP was the single best interface into SQL is now as obsolete as EM. Incidentally, even if you decide to keep all your SQL databases in 2000 format, install the 2005 baby asap. It is a new dawn, a new day for SQL development and management. While obviously there are numerous features available only in 2005, the fact that it can maintain 2000 databases makes this transition a lot less painful. All that said, JC has a point. VS.NET 2005 is a splendid piece of work. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: November 18, 2005 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 ADP I don't know whether this statement from Mary Chipman still hold's true It is a year old regarding SQL Express 2005 and Access ADP's. From one of the microsoft non-google searchable newsgroups. I think they are still messing around with the EM for SQL 2005 "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. " Steve Erbach wrote: >Robert, > >I'm not concerned about coding something like this. I'm more interested in >the state of Microsoft development and support. I have a Universal MSDN >subscription, but I confess I don't pay that much attention to what's >happening with Access. It just seemed to me that ADP's were so handy. > >Steve Erbach >Neenah, WI > > >On 11/18/05, Robert L. Stewart wrote: > > >>Not really, since Microsoft is not going to continue support of >>ADPs. All those using them will have to re-tool their applications. >> >>I have some massive MDBs that connect only to SLQ Server, using >>ODBC. I was going to rewrite them to ADPs, but when I heard they >>were not going to be supported, I stopped. I am rewriting them in >>.Net instead. >> >>And, stored procs work fine using ODBC, just use a pass through >>query. Normally, I have one without the parameters (_0) that I use >>to build the one with the parameters (_1). And I simply change the >>SQL statement in code for the _1 query. If you are worried about the >>connection string, simply replace it through code also. >> >>Robert >> >>At 10:11 AM 11/18/2005, you wrote: >> >> >>>Date: Fri, 18 Nov 2005 10:54:16 -0500 >>>From: "William Hindman" >>>Subject: Re: [AccessD] A2K3 ADP >>>To: "Access Developers discussion and problem solving" >>> >>>Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >>>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >>>reply-type=original >>> >>>...just call me Dinosaurus Rex :) >>> >>>Willam >>> >>> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Nov 19 16:50:40 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 19 Nov 2005 17:50:40 -0500 Subject: [AccessD] Database Comparison Tool Message-ID: <200511192250.jAJModJ32420@databaseadvisors.com> I have the SQL bundle from Red Gate Software, which includes SQL Compare and SQL Data Compare. Both work wonderfully and I use them every day. However, they work with SQL and not with MDBs. Is there an equivalent tool for MDBs? By equivalent, I mean that said tool should list the a) structural differences and b) the data differences between db1 and db2; and further, that the databases can be synchronized in either direction. I.e., a column has been added to a table in db1: add it to the same table in db2; said column has been populated with values: in pass two (sql data compare), replicate the values; in db1 two rows were added which are not present in db2: copy those rows to db2. Any such tool exists for MDB? TIA, Arthur P.S. I realize that one way to get there is to upsize db1 and db2 to SQL, then run the Red Gate tools. But wonder if there is something MDB-specific. From wdhindman at bellsouth.net Sat Nov 19 17:56:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 19 Nov 2005 18:56:38 -0500 Subject: [AccessD] Database Comparison Tool References: <200511192250.jAJModJ32420@databaseadvisors.com> Message-ID: <003c01c5ed64$e2030b50$6101a8c0@JISREGISTRATION.local> http://www.fmsinc.com/products/detective/index.html ...expensive but worth every penny imnsho ...hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 19, 2005 5:50 PM Subject: [AccessD] Database Comparison Tool >I have the SQL bundle from Red Gate Software, which includes SQL Compare >and > SQL Data Compare. Both work wonderfully and I use them every day. However, > they work with SQL and not with MDBs. Is there an equivalent tool for > MDBs? > By equivalent, I mean that said tool should list the a) structural > differences and b) the data differences between db1 and db2; and further, > that the databases can be synchronized in either direction. I.e., a column > has been added to a table in db1: add it to the same table in db2; said > column has been populated with values: in pass two (sql data compare), > replicate the values; in db1 two rows were added which are not present in > db2: copy those rows to db2. > Any such tool exists for MDB? > TIA, > Arthur > P.S. > I realize that one way to get there is to upsize db1 and db2 to SQL, then > run the Red Gate tools. But wonder if there is something MDB-specific. > > -- > 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 Nov 19 18:46:20 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2005 10:46:20 +1000 Subject: [AccessD] OT Python and IIS install In-Reply-To: <018001c5ed55$0b8c8a10$017ba8c0@xpserver> References: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Message-ID: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> On 19 Nov 2005 at 14:03, Jim Lawrence wrote: > OT: > > Hi all: > > I again apologize for so many OT questions but the clients are always right. > > Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? > If so what file? > PHP and Perl are very different in they way work they with an HTTP server. PHP is normally run as a module of the HTTP server. Perl is generally used as a CGI processor. If you are using Apache, you can use mod_python to integrate Python with the server. See http://www.modpython.org/ and http://www.onlamp.com/pub/a/python/2003/10/02/mod_python.htm If you are using IIS, or your Apache server does not include mod_python, you use Python programs/scripts as a CGI processor the same way you would use programs written in Perl, C, VB or whatever. For using Python as a CGI processor, take a look at: http://www.cs.virginia.edu/~lab2q/ and http://gnosis.cx/publish/programming/feature_5min_python.html -- Stuart From accessd at shaw.ca Sat Nov 19 18:54:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2005 16:54:08 -0800 Subject: [AccessD] OT Python and IIS install In-Reply-To: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> Message-ID: <018501c5ed6c$ea45eff0$017ba8c0@xpserver> Hi Stuart: Thank you so very much for the insight and background. You have definitely sped up my online implementation. I current have Perl running so I am aware of the CGI processors issues. Jim PS Why wasn't DOS as feature laden? (Python is awesome.) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, November 19, 2005 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Python and IIS install On 19 Nov 2005 at 14:03, Jim Lawrence wrote: > OT: > > Hi all: > > I again apologize for so many OT questions but the clients are always right. > > Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? > If so what file? > PHP and Perl are very different in they way work they with an HTTP server. PHP is normally run as a module of the HTTP server. Perl is generally used as a CGI processor. If you are using Apache, you can use mod_python to integrate Python with the server. See http://www.modpython.org/ and http://www.onlamp.com/pub/a/python/2003/10/02/mod_python.htm If you are using IIS, or your Apache server does not include mod_python, you use Python programs/scripts as a CGI processor the same way you would use programs written in Perl, C, VB or whatever. For using Python as a CGI processor, take a look at: http://www.cs.virginia.edu/~lab2q/ and http://gnosis.cx/publish/programming/feature_5min_python.html -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wangoh at tm.net.my Sat Nov 19 21:14:18 2005 From: wangoh at tm.net.my (wangoh) Date: Sun, 20 Nov 2005 11:14:18 +0800 Subject: [AccessD] WindowsXP Zipping Texr Files Message-ID: <002801c5ed80$7fabced0$0800000a@moeikhwan> Hi All! WindowsXP has the built in capabilities to Zip files. Does anyone has the codes to do this with a click on a button within MsAccess. I would like to zip C:\MyappFolder\Mydatafile.txt to Mydatafile.zip Thanks! wan From carbonnb at gmail.com Sat Nov 19 21:19:02 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 19 Nov 2005 22:19:02 -0500 Subject: [AccessD] OT Python and IIS install In-Reply-To: <018501c5ed6c$ea45eff0$017ba8c0@xpserver> References: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> <018501c5ed6c$ea45eff0$017ba8c0@xpserver> Message-ID: On 19/11/05, Jim Lawrence wrote: > (Python is awesome.) It is. It's what the mailing list software is written in. -- 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 jmhecht at earthlink.net Sat Nov 19 22:00:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 19 Nov 2005 20:00:43 -0800 Subject: [AccessD] Database Comparison Tool In-Reply-To: <200511192250.jAJModJ32420@databaseadvisors.com> Message-ID: <003601c5ed86$fb4682f0$6701a8c0@Hewlett> Arthur, Look at FMSINC.com The Detective Program Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 19, 2005 2:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Comparison Tool I have the SQL bundle from Red Gate Software, which includes SQL Compare and SQL Data Compare. Both work wonderfully and I use them every day. However, they work with SQL and not with MDBs. Is there an equivalent tool for MDBs? By equivalent, I mean that said tool should list the a) structural differences and b) the data differences between db1 and db2; and further, that the databases can be synchronized in either direction. I.e., a column has been added to a table in db1: add it to the same table in db2; said column has been populated with values: in pass two (sql data compare), replicate the values; in db1 two rows were added which are not present in db2: copy those rows to db2. Any such tool exists for MDB? TIA, Arthur P.S. I realize that one way to get there is to upsize db1 and db2 to SQL, then run the Red Gate tools. But wonder if there is something MDB-specific. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Nov 20 12:22:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 20 Nov 2005 10:22:32 -0800 Subject: [AccessD] WindowsXP Zipping Texr Files References: <002801c5ed80$7fabced0$0800000a@moeikhwan> Message-ID: <4380BEE8.8070007@shaw.ca> You need to purchase Winzip and use the command line utility s = "C:\Program Files\Winzip\wzzip.exe -a -ex -ybc Mydatafile.zip " & "C:\MyappFolder\Mydatafile.txt" lPid = Shell(s, vbHide) ' vbNormalFocus) You can also use the OpenProcess api to check completion Failing that use the open source zlib from http://www.zlib.net/ wangoh wrote: >Hi All! > >WindowsXP has the built in capabilities to Zip files. >Does anyone has the codes to do this with a click on a button within MsAccess. >I would like to zip C:\MyappFolder\Mydatafile.txt to Mydatafile.zip > >Thanks! > > >wan > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Nov 20 12:44:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 20 Nov 2005 10:44:21 -0800 Subject: [AccessD] Emailing Form Data References: Message-ID: <4380C405.7010305@shaw.ca> By the way if you are doing this in a heavy duty environment. One enterprise solution is to use Xerox DocuShare but that is $10,000 for a 100 seat license. A similar product based on WebDav at less than half the price is Xythos http://www.xythos.com/home/xythos/index.html Boyd, Mark Thomas (US - Philadelphia) wrote: >Thanks Drew. I agree that posting a web page would ideal, but I don't >have access to a web server, or even a file sharing server for that >matter. I am at a client site, with limited resources. >I'm starting to think that just sending an Excel file for the user to >update should meet our needs. > > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >DWUTKA at marlow.com >Sent: Tuesday, November 15, 2005 6:26 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Emailing Form Data > >It would be far easier to just send the end users a 'link' in email, >that >would open a webpage with the data they are to review/modify. Fairly >easy >to do in asp. Just a thought. > >Drew > > -----Original Message----- > From: Boyd, Mark Thomas (US - Philadelphia) >[SMTP:mboyd at deloitte.com] > Sent: Tuesday, November 15, 2005 10:50 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Emailing Form Data > > I need to send database data to end-users, have them modify, and >return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I >have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be >updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would >work, >but > I'm not sure what kind of form to use. We've considered Outlook >forms, > but creating this form from code is very time-consuming, and >uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program >installed. > > Because the sending of this form will occur on a weekly basis, >I'd >like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Nov 20 14:22:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Nov 2005 21:22:40 +0100 Subject: [AccessD] MySQL OLE DB Provider Message-ID: Hi all I had some troubles locating such an animal (subject) but found this site: http://luggle.com/~sean I was about creating a provider for MySQL this way using the generic MS ODBC wrapper: strProvider = "Provider=MSDASQL.1;Data Source=MySQLTest";Persist Security Info=True;User ID=root;Password=myPassword cnn.Open strProvider rst.Open "testtable", cnn, adOpenKeyset where MySQLTest is a database source for MySQL as defined in the ODBC manager telling which database (Initial Catalog, see below) and port to connect to. rst.RecordCount returns -1. But with Sean's Open Source driver you do like this (beware of line breaks): strProvider = "Provider=OleMySql.MySqlSource.1;Data Source=192.168.1.100,3306;Initial Catalog=test;Persist Security Info=True;User ID=root;Password=myPassword" cnn.Open strProvider rst.Open "select * from testtable", cnn, adOpenKeyset Note that a table name on its own cannot be used; you must use an SQL sentence. rst.RecordCount returns the actual record count. Speed of the two methods seems to be identical, and one method may have advantages and limitations over the other - I haven't tested it that much. However, both are capable of reading longs from fields of BIGINT datatype which you (as far as I know) can't by ODBC and DAO (at least not if the BIGINT field is the primary ID). But the OLE DB driver is much easier to install: Just one dll and registration of this - and inclusion of the usual libmySQL.dll if you are not installing on the machine running the MySQL server. From Gustav at cactus.dk Sun Nov 20 14:35:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Nov 2005 21:35:19 +0100 Subject: [AccessD] OLE DB Providers Message-ID: Hi all Please note that at this site: http://luggle.com/~sean also drivers can be found for: FireBird SQLite PalmDB and VB(A) code examples. /gustav From pcs at azizaz.com Mon Nov 21 02:17:29 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 21 Nov 2005 18:17:29 +1000 Subject: [AccessD] SQL - IN Operator - Possible to use parameter References: Message-ID: <007d01c5ee74$0425a480$fa10a8c0@Albatross> Access - SQL: Is it possible to turn a select query using the IN operator into a parameter query? Like in : SELECT * FROM Orders WHERE ShipRegion In ('Avon','Glos','Som') something like : SELECT * FROM Orders WHERE ShipRegion In ([Criteria:]) which only returns rows when I enter one criterium - any attempts of two or more criteria returns no rows..... I am using two select queries both using the IN operator as basis for a third result query (left out join between the two query statements). The only way to parametize the two select queries appears to be via vba code - creating the querydefs each time... or? /borge From pcs at azizaz.com Mon Nov 21 02:29:18 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 21 Nov 2005 18:29:18 +1000 Subject: [AccessD] Rich Text in Text Controls - Form and Report References: Message-ID: <008101c5ee75$aa99aef0$fa10a8c0@Albatross> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From Gustav at cactus.dk Mon Nov 21 02:48:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 09:48:50 +0100 Subject: [AccessD] SQL - IN Operator - Possible to use parameter Message-ID: Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav >>> pcs at azizaz.com 21-11-2005 09:17 >>> Access - SQL: Is it possible to turn a select query using the IN operator into a parameter query? Like in : SELECT * FROM Orders WHERE ShipRegion In ('Avon','Glos','Som') something like : SELECT * FROM Orders WHERE ShipRegion In ([Criteria:]) which only returns rows when I enter one criterium - any attempts of two or more criteria returns no rows..... I am using two select queries both using the IN operator as basis for a third result query (left out join between the two query statements). The only way to parametize the two select queries appears to be via vba code - creating the querydefs each time... or? /borge From Gustav at cactus.dk Mon Nov 21 03:09:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 10:09:52 +0100 Subject: [AccessD] Rich Text in Text Controls - Form and Report Message-ID: Hi Borge You may wish to look up my post from 2003-11-01 20:27, subject: Writing raw RTF document using VBA - Solved /gustav >>> pcs at azizaz.com 21-11-2005 09:29 >>> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From Gustav at cactus.dk Mon Nov 21 03:49:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 10:49:59 +0100 Subject: [AccessD] Rich Text in Text Controls - Form and Report Message-ID: Hi Borge One option is to use the MS Rich Text Control ocx. Note, however, that it will not work in Access 2003 unless you perform this magic trick which I previously posted: Found out why Access 2003 denies to load the Kodak Imaging controls and how to remove that blocking. It is - believe it or not - because Access 2003 refuses to use ActiveX controls which for some reason are listed as insecure in Internet Explorer ... as explained here: http://mail.localplanet.co.uk/Blogs/stuart/archive/2005/02/19/AccessActiveX.aspx What it tells is to reset the Compatibility Flag for these entries to 0: Kodak Image Admin Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {009541A0-3B81-101C-92F3-040224009C02} Kodak Image Edit Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {6D940280-9F11-11CE-83FD-02608C3EC08A} Kodak Image Scan Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {84926CA0-2941-101C-816F-0E6013114B7F} Rich Text Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {3B7C8860-D78F-101B-B9B5-04021C009402} /gustav >>> pcs at azizaz.com 21-11-2005 09:29 >>> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From paul.hartland at isharp.co.uk Mon Nov 21 06:06:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 21 Nov 2005 12:06:06 -0000 Subject: [AccessD] OT - Access Using Outlook Redemption In-Reply-To: Message-ID: To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland From andy at minstersystems.co.uk Mon Nov 21 07:03:33 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 21 Nov 2005 14:03:33 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <20051121140331.1501B25552B@smtp.nildram.co.uk> Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- 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 wdhindman at bellsouth.net Mon Nov 21 08:17:56 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 09:17:56 -0500 Subject: [AccessD] Rich Text in Text Controls - Form and Report References: <008101c5ee75$aa99aef0$fa10a8c0@Albatross> Message-ID: <000f01c5eea6$5e6b2870$6101a8c0@JISREGISTRATION.local> Borge ...afaik, zero ...I still use Lebans code to do this ...http://www.lebans.com William ----- Original Message ----- From: "Borge Hansen" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 3:29 AM Subject: [AccessD] Rich Text in Text Controls - Form and Report > Hi, > Upgrading an Access97 db to Access2003 .... > > In the old db I've used workarounds to produce reports with rich text > formatting. > > (user entering our own made up start and stop codes for bold, italics > etc....in > various text controls, when reporting we create RTF document which is then > loaded into Word and using vba code in Word - acting on our made up start > and > stop codes - the final report is laid out the way we want it and formatted > with > rich text) > > What are the options in A2003 for creating rich text (bold, italics and > bold+italics) in a text control and reporting rich text controls? > > regards > /borge > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at isharp.co.uk Mon Nov 21 08:34:20 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 21 Nov 2005 14:34:20 -0000 Subject: [AccessD] OT - Access Using Outlook Redemption In-Reply-To: <20051121140331.1501B25552B@smtp.nildram.co.uk> Message-ID: I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 21 07:49:06 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 21 Nov 2005 14:49:06 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <20051121144903.74663250E28@smtp.nildram.co.uk> I'd have guessed you were going to say the security message popped up when you attempted to set the .Unread property. That wouldn't surprise me, but reading the .Body.......I don't get that. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 14:35 I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Mon Nov 21 10:53:53 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 11:53:53 -0500 Subject: [AccessD] Err object Message-ID: <045501c5eebc$28356f20$667aa8c0@ColbyM6805> I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Mon Nov 21 11:10:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 12:10:47 -0500 Subject: [AccessD] Err object In-Reply-To: <045501c5eebc$28356f20$667aa8c0@ColbyM6805> Message-ID: <045d01c5eebe$84bd42c0$667aa8c0@ColbyM6805> Sorry, meant to say EXIT sub/Function etc. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 21 11:16:00 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 12:16:00 -0500 Subject: [AccessD] Err object In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE3045@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF316@ADGSERVER> It is my understanding that it resets after executing a resume statement, which is usually executed after entering an error handler. Would raising the error again help you? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com From mboyd at deloitte.com Mon Nov 21 11:15:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 21 Nov 2005 12:15:55 -0500 Subject: [AccessD] Err object Message-ID: John - I create a global boolean variable to flag whenever this type of error is encountered. Within the called function's error handler, I update the variable to True. After kicking out of the called function, I immediately check to see that the variable is still False. If True, I don't allow the code to continue. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From dwaters at usinternet.com Mon Nov 21 11:19:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 11:19:05 -0600 Subject: [AccessD] Err object In-Reply-To: <23162835.1132592734422.JavaMail.root@sniper14> Message-ID: <000901c5eebf$ad1cb0b0$0200a8c0@danwaters> John, Yes - it does! I use a variable to carry the error number and the error description. I've been using a Global variable because the value is always reset before each use. ErrorHandler: GlngErrorNumber = Err.Number GstgErrorDescription = Err.Description Select Case GlngErrorNumber Case 10 ... Case 20 ... Case Else Call ErrorLogging(GlngErrorNumber, GstgErrorDescription) End Select End Sub HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 11:21:39 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 11:21:39 -0600 Subject: [AccessD] Err object In-Reply-To: <23162835.1132592734422.JavaMail.root@sniper14> Message-ID: <000a01c5eec0$08cd9730$0200a8c0@danwaters> I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Mon Nov 21 11:43:44 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 21 Nov 2005 11:43:44 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: >> Does your approach adapt to data that might >> have 5 groups one month, then 10 the next? In that respect, it works like a standard Access report: once you define a group (month), and a subgroup, the subgroup will repeat as many times as neccessary under the group. So, if your query is groupable by an Access report, it is groupable using the Excel report tool. -Ken From Lambert.Heenan at AIG.com Mon Nov 21 11:45:49 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 21 Nov 2005 11:45:49 -0600 Subject: [AccessD] Err object Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 21 12:09:18 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 13:09:18 -0500 Subject: [AccessD] Err object In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Message-ID: <045e01c5eec6$b1624570$667aa8c0@ColbyM6805> I know what it says, but I have tested this. Apparently "within" also means (includes) if you call a function from WITHIN and that function encounters an Exit statement. I have code that goes out and gets pointers to my framework class, then a class within the framework class etc. cFW.cErrHndlr.Err() Before I get to the .Err the error object has been reset. I have stepped through the code and it was upon exiting one of the calls that the error was reset and after that point the values were 0. It may very well be a bug in the way the err object is handled, but it IS happening and I have to code around it. I have built an error handler function that immediately initializes a clsErr to store all the attributes of the error object and then calls the init of that class. The class simply copies the Err properties into variables in the class header. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 21, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 12:19:00 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 12:19:00 -0600 Subject: [AccessD] Err object In-Reply-To: <12240484.1132594240088.JavaMail.root@sniper21> Message-ID: <000d01c5eec8$0c4b0480$0200a8c0@danwaters> Heenan, I tried your example and it did work as expected. My experience was from a few years ago, but was well 'practiced'. I don't remember the exact circumstances. I'll post them if I can recreate the issue. Dan Not so! -------------------- HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 21 12:33:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 13:33:23 -0500 Subject: [AccessD] Err object In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Message-ID: <046001c5eeca$0e8ccc40$667aa8c0@ColbyM6805> OK, a little further investigation: I set up this code to watch the process: Debug.Print Err.Number On Error GoTo Err_mEr Debug.Print Err.Number Dim lclsErr As clsErr Debug.Print Err.Number Set lclsErr = New clsErr Debug.Print Err.Number I already had the OnError GoTo in place (My error handler insertion builder adds it as it builds the error handler). THAT statement resets the error object. All I had to do was rearrange my code to run the On error resume next to after I captured the error in my class and all works just peachy. The help doesn't mention On Error goto SomeLabel as resetting the err object but it apparently does. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 21, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Mon Nov 21 12:34:11 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Mon, 21 Nov 2005 12:34:11 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <027901c5eeca$2d3a09f0$036fa8c0@hplaptop> Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? 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 Ken Ismert Sent: Monday, November 21, 2005 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export To Excel - Formulas Possible? >> Does your approach adapt to data that might have 5 groups one month, >> then 10 the next? In that respect, it works like a standard Access report: once you define a group (month), and a subgroup, the subgroup will repeat as many times as neccessary under the group. So, if your query is groupable by an Access report, it is groupable using the Excel report tool. -Ken -- 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 Nov 21 12:39:46 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 21 Nov 2005 12:39:46 -0600 Subject: [AccessD] Err object Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE9A@xlivmbx21.aig.com> Hmm... My test code calls a SUB from within the error handler. And that sub uses "Exit Sub" and yet the Err object is not reset. Does any of your class initialization code call "Clear"? Otherwise, I'd have suggested what you are already doing - preserve the Err data before doing anything else. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 1:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I know what it says, but I have tested this. Apparently "within" also means (includes) if you call a function from WITHIN and that function encounters an Exit statement. I have code that goes out and gets pointers to my framework class, then a class within the framework class etc. cFW.cErrHndlr.Err() Before I get to the .Err the error object has been reset. I have stepped through the code and it was upon exiting one of the calls that the error was reset and after that point the values were 0. It may very well be a bug in the way the err object is handled, but it IS happening and I have to code around it. I have built an error handler function that immediately initializes a clsErr to store all the attributes of the error object and then calls the init of that class. The class simply copies the Err properties into variables in the class header. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From pedro at plex.nl Mon Nov 21 13:23:53 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 21 Nov 2005 20:23:53 +0100 Subject: [AccessD] error & structure Message-ID: <003401c5eed1$1ea1e870$4001a8c0@laptop> Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen From Patricia.O'Connor at otda.state.ny.us Mon Nov 21 13:42:59 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 21 Nov 2005 14:42:59 -0500 Subject: [AccessD] Access 97 compact & repair Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F32@EXCNYSM0A1AI.nysemail.nyenet> I compacted an Access 97 database back end late last month and it seemed to work fine. Then today the person responsible for updating the Db did so. When he went to run the reports all worked fine except one. This one report kept getting the 3097 error. So I tried running the report with my test DB no problem. When I linked to the production backend poof problem arose. So I tried making a new database and copied the tables - no good. SO then I took my test db cleared the existing table and appended the data from the production table. Worked fine. Appended all the table, then copied entire database as the production name. Worked FINE. I then tried to compact the new production backend database and tried running the report - AGAIN NO GOOD. Recopied the appended database and everything is fine again. I have two compact options in my drop down screen ACCESS 97 COMPACT and ACCESS 2000 Compact. This has worked fine for the past 3-4 years. Does anyone know why this would start messing up compact. OR let me know the correct name of the Access97 compact/repair executable. One other thing I just had my work computer window updated to XP last month It has taken me most of the day to fix this and I can't compact the revised databases and they do kinda need it Thanks - losing my mind again Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From Patricia.O'Connor at otda.state.ny.us Mon Nov 21 13:59:47 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 21 Nov 2005 14:59:47 -0500 Subject: [AccessD] Access 97 compact & repair causing report error Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F33@EXCNYSM0A1AI.nysemail.nyenet> I compacted an Access 97 database back end late last month and it seemed to work fine. Then today the person responsible for updating the Db did so. When he went to run the reports all worked fine except one. This one report kept getting the 3071 error "THIS EXPRESSION TYPED INCORRECTLY...... So I tried running the report with my test DB no problem. When I linked to the production backend poof problem arose. So I tried making a new database and copied the tables - no good. SO then I took my test db cleared the existing table and appended the data from the production table. Worked fine. Appended all the table, then copied entire database as the production name. Worked FINE. I then tried to compact the new production backend database and tried running the report - AGAIN NO GOOD. Recopied the appended database and everything is fine again. I have two compact options in my drop down screen ACCESS 97 COMPACT and ACCESS 2000 Compact. This has worked fine for the past 3-4 years. Does anyone know why this would start messing up compact. OR let me know the correct name of the Access97 compact/repair executable. One other thing I just had my work computer window updated to XP last month It has taken me most of the day to fix this and I can't compact the revised databases and they do kinda need it Thanks - losing my mind again Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From jwcolby at ColbyConsulting.com Mon Nov 21 14:02:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 15:02:54 -0500 Subject: [AccessD] Compact by code Message-ID: <046101c5eed6$907e3750$667aa8c0@ColbyM6805> Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bheid at appdevgrp.com Mon Nov 21 14:35:30 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 15:35:30 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE30DB@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF323@ADGSERVER> I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 21 15:09:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 16:09:41 -0500 Subject: [AccessD] Compact by code References: <046101c5eed6$907e3750$667aa8c0@ColbyM6805> Message-ID: <012f01c5eedf$e3d80530$6101a8c0@JISREGISTRATION.local> http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='BackUpManager.mdb' William ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 21, 2005 3:02 PM Subject: [AccessD] Compact by code > Does anyone have code to compact an external database? I am working on a > transformation / migration system. Append operations go to an external > database using the IN 'SomeDatabase' clause in SQL. The results are a > huge > database bloat, not sure if it has anything to do with the IN clause or > not, > but huge none the less. > > So I need to do a compact on that backup database from code. > > I see two methods in help - using DAO DBEngine, the other uses the > JetEngine > object. > > I'm just looking for any pointers from anyone who does this already. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at comcast.net Mon Nov 21 15:16:39 2005 From: papparuff at comcast.net (John Ruff) Date: Mon, 21 Nov 2005 13:16:39 -0800 Subject: [AccessD] Compact by code In-Reply-To: <012f01c5eedf$e3d80530$6101a8c0@JISREGISTRATION.local> Message-ID: <001a01c5eee0$dd670b50$6501a8c0@DDMJWX41> I still use the function today. The variable strOldDb is the fully qualified directory and name of the database to compact. The variable strNewDB is the fully qualified directory and temporary db name to compact the strOldDb to. Both directories should be the same so the Name function will work properly. Public Function CompactDB_JVR(strOldDb As String, strNewDB as String) As Boolean '--------------------------------------------------------------------------- ------------ ' Procedure : CompactDB_JVR ' DateTime : 7/14/2004 08:43 ' Author : John Ruff ' Purpose : Compact selected databases ' Note : Set Reference to Microsoft Scripting Runtime Library ' and Microsoft Jet And Replication Objects X.X Library '--------------------------------------------------------------------------- ' Dim fso As New FileSystemObject Dim strNewDB As String On Error GoTo CompactDB_JVR_ERR ' If the strNewDB exists, delete it; ' otherwise an error will occur trying to compact the database If fso.FileExists(strNewDB) Then fso.DeleteFile (strNewDB) End If fOK = PerformCompact_JVR(StrOldDb, strNewDB) ' If the compact is successful, delete the old database and rename the new database If fOK = True Then fso.DeleteFile (StrOldDb) Name strNewDB As StrOldDb End If CompactDB_JVR = True CompactDB_JVR_EXIT: On Error Resume Next Exit Function CompactDB_JVR_ERR: CompactDB_JVR = False MsgBox "Error " & Err.Number & _ " (" & Err.Description & ") in procedure " & _ "CompactDB_JVR of Module Module1", _ Title:="CompactDB_JVR Error" Resume CompactDB_JVR_EXIT End Function John V. Ruff - The Eternal Optimist J "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 21, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact by code http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='BackUpManag er.mdb' William ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 21, 2005 3:02 PM Subject: [AccessD] Compact by code > Does anyone have code to compact an external database? I am working on a > transformation / migration system. Append operations go to an external > database using the IN 'SomeDatabase' clause in SQL. The results are a > huge > database bloat, not sure if it has anything to do with the IN clause or > not, > but huge none the less. > > So I need to do a compact on that backup database from code. > > I see two methods in help - using DAO DBEngine, the other uses the > JetEngine > object. > > I'm just looking for any pointers from anyone who does this already. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 21 14:53:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 15:53:34 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE310D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF326@ADGSERVER> Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:25:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:25:15 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: I have to say that I have not been impressed by the FMS total detective and wouldn't pay freeware fees for it. It is crochety and I found much of the information everything but what I needed. Different strokes, I suppose. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 19, 2005 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Comparison Tool http://www.fmsinc.com/products/detective/index.html ...expensive but worth every penny imnsho ...hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 19, 2005 5:50 PM Subject: [AccessD] Database Comparison Tool >I have the SQL bundle from Red Gate Software, which includes SQL >Compare >and > SQL Data Compare. Both work wonderfully and I use them every day. However, > they work with SQL and not with MDBs. Is there an equivalent tool for > MDBs? > By equivalent, I mean that said tool should list the a) structural > differences and b) the data differences between db1 and db2; and further, > that the databases can be synchronized in either direction. I.e., a column > has been added to a table in db1: add it to the same table in db2; said > column has been populated with values: in pass two (sql data compare), > replicate the values; in db1 two rows were added which are not present in > db2: copy those rows to db2. > Any such tool exists for MDB? > TIA, > Arthur > P.S. > I realize that one way to get there is to upsize db1 and db2 to SQL, then > run the Red Gate tools. But wonder if there is something MDB-specific. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 17:28:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:28:22 -0800 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: Outlook will give you that even if you just try to validate an email address against the address book, let alone trying to read the body of a message. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Monday, November 21, 2005 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Access Using Outlook Redemption I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 17:30:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 17:30:52 -0600 Subject: [AccessD] Compact by code In-Reply-To: <30296699.1132603585557.JavaMail.root@sniper22> Message-ID: <000001c5eef3$9d503470$0200a8c0@danwaters> John, The following two procedures are kept in a standard module. The CompactBE procedure is called from the Main screen Exit button click event (the only allowed way to close normally). If you are the 'last man standing', the BE (or external mdb) will open and close. That file is set to 'Compact on Close' (A2K and up?). This has worked well for a few years. HTH, Dan Waters -----Original Message----- Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:32:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:32:00 -0800 Subject: [AccessD] Err object Message-ID: You could push it into a stack or store it in a variable. Or you could use the Raise method to pass the error along to a sink somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:35:57 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:35:57 -0800 Subject: [AccessD] Compact by code Message-ID: Gosh, that code sure looks familiar! ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 21 17:55:39 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 18:55:39 -0500 Subject: [AccessD] Database Comparison Tool References: Message-ID: <000b01c5eef7$1379f660$6101a8c0@JISREGISTRATION.local> ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 6:25 PM Subject: Re: [AccessD] Database Comparison Tool >I have to say that I have not been impressed by the FMS total detective > and wouldn't pay freeware fees for it. It is crochety and I found much > of the information everything but what I needed. Different strokes, I > suppose. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 19, 2005 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Comparison Tool > > > http://www.fmsinc.com/products/detective/index.html > > ...expensive but worth every penny imnsho ...hth :) > > William > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 19, 2005 5:50 PM > Subject: [AccessD] Database Comparison Tool > > >>I have the SQL bundle from Red Gate Software, which includes SQL >>Compare >>and >> SQL Data Compare. Both work wonderfully and I use them every day. > However, >> they work with SQL and not with MDBs. Is there an equivalent tool for >> MDBs? >> By equivalent, I mean that said tool should list the a) structural >> differences and b) the data differences between db1 and db2; and > further, >> that the databases can be synchronized in either direction. I.e., a > column >> has been added to a table in db1: add it to the same table in db2; > said >> column has been populated with values: in pass two (sql data compare), >> replicate the values; in db1 two rows were added which are not present > in >> db2: copy those rows to db2. >> Any such tool exists for MDB? >> TIA, >> Arthur >> P.S. >> I realize that one way to get there is to upsize db1 and db2 to SQL, > then >> run the Red Gate tools. But wonder if there is something MDB-specific. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 18:28:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 16:28:11 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 21, 2005 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Comparison Tool ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 6:25 PM Subject: Re: [AccessD] Database Comparison Tool >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 19, 2005 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Comparison Tool > > > http://www.fmsinc.com/products/detective/index.html > > ...expensive but worth every penny imnsho ...hth :) > > William > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 19, 2005 5:50 PM > Subject: [AccessD] Database Comparison Tool > > >>I have the SQL bundle from Red Gate Software, which includes SQL >>Compare and >> SQL Data Compare. Both work wonderfully and I use them every day. > However, >> they work with SQL and not with MDBs. Is there an equivalent tool for >> MDBs? By equivalent, I mean that said tool should list the a) >> structural differences and b) the data differences between db1 and >> db2; and > further, >> that the databases can be synchronized in either direction. I.e., a > column >> has been added to a table in db1: add it to the same table in db2; > said >> column has been populated with values: in pass two (sql data >> compare), replicate the values; in db1 two rows were added which are >> not present > in >> db2: copy those rows to db2. >> Any such tool exists for MDB? >> TIA, >> Arthur >> P.S. >> I realize that one way to get there is to upsize db1 and db2 to SQL, > then >> run the Red Gate tools. But wonder if there is something >> MDB-specific. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 18:52:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 18:52:05 -0600 Subject: [AccessD] Database Comparison Tool In-Reply-To: <2430224.1132619510543.JavaMail.root@sniper18> Message-ID: <000001c5eefe$f58c1770$0200a8c0@danwaters> Charlotte, I'm just arguing 'cause I like it, but FMS products are OK with me. For example, could I have written Analyzer with a few hours of work - assuming I even knew how? Of course, buying a suite from FMS may not be cost-effective. My 2?, Dan Waters -----Original Message----- No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > From cfoust at infostatsystems.com Mon Nov 21 19:26:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 17:26:45 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: Actually, that's one of my gripes. What they do isn't complex enough to justify the cost of the tools, although they add a lot of garnish to make it look like it is. Yes, with a few hours of work you could have written it and it would work the way you need it to, not in the attempted swiss army knife fashion they designed. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Comparison Tool Charlotte, I'm just arguing 'cause I like it, but FMS products are OK with me. For example, could I have written Analyzer with a few hours of work - assuming I even knew how? Of course, buying a suite from FMS may not be cost-effective. My 2?, Dan Waters -----Original Message----- No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 21 20:45:05 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 21 Nov 2005 18:45:05 -0800 Subject: [AccessD] OT - Access Using Outlook Redemption References: Message-ID: <43828631.9030404@shaw.ca> This site has a lot of Outlook VBA code methods http://www.outlookcode.com/d/vb.htm Here are some links on other methods to get around email output security http://freevbcode.com/ShowCode.Asp?ID=109 ClickYes freeware There is vba code at bottom of page to turn on and off after install http://www.contextmagic.com/express-clickyes/ Advanced Security for Outlook is Mapilib freeware but might be more complicated for user and install. It also has an article on various types of outlook security model http://www.mapilab.com/outlook/security/ Article on how to code your own override. This might be difficult for use with multiple OS as CDO object model changes. How to avoid security prompts in Visual Basic programs for Outlook http://www.mapilab.com/articles/vb_outlook_security.html Charlotte Foust wrote: >Outlook will give you that even if you just try to validate an email >address against the address book, let alone trying to read the body of a >message. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland >(ISHARP) >Sent: Monday, November 21, 2005 6:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT - Access Using Outlook Redemption > > >I didn't think I did either I had the following code: > >For intFolderCount = 1 To objInterview.Items.Count > Set objMail = objInterview.Items.Item(intFolderCount) > If (objMail.UnRead = True) Then > intNewItems = intNewItems + 1 > frmMain.txtNewText.Text = intNewItems > strSubject = objMail.Subject > If (strOffice = "") Then > strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + >1)) > strMessage = Mid(objMail.Body, InStr(objMail.Body, >"Message:")) > End If > > MsgBox strOffice & vbCrLf & vbCrLf & strMessage > > strOffice = "" > > objMail.UnRead = False > End If >Next intFolderCount > >And when it's gets to the strMessage = Mid(objMail.Body, >InStr(objMail.Body, >"Message:")) > >It throws the Outlook security warning up, thought it would only do this >if trying to send > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: 21 November 2005 13:04 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT - Access Using Outlook Redemption > >Hi Paul >Well I'm not convinced you need Redemption just to read emaisl, but >assuming you have other reasons why you need to use it then try: > >Dim objOutlook As Outlook.Application >Dim objOutlookMsg As Outlook.MailItem >Dim objOutlookFolder As MAPIFolder >Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As >Object > > > >Set objOutlook = CreateObject("Outlook.Application") >Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set >objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) >For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = >CreateObject("Redemption.SafeMailItem") >objSafeMailItem.Item = objOutlookMsg >With objSafeMailItem >If .UnRead Then >Debug.Print .Subject >Debug.Print .Body >End If >End With >Next > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "'Access Developers discussion and problem solving'" > >Subject: [AccessD] OT - Access Using Outlook Redemption >Date: 21/11/05 12:08 > > >To all, > >Can anyone guide me or has anyone got any sample code for using Outlook >redemption via Access, basically all I want to do is scan an Outlook >folder for Unread emails and grab the subject line and the body message >of that particular email. > >Thanks in advance for any help and/or sample code on this.. > >Paul Hartland > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Mon Nov 21 21:43:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 22:43:16 -0500 Subject: [AccessD] Need a couple of monitors for multi-tasking? Message-ID: <046601c5ef16$dfb49540$667aa8c0@ColbyM6805> http://digitaltigers.com/zenview-arenahd.shtml#videocards John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Mon Nov 21 22:22:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 21 Nov 2005 23:22:33 -0500 Subject: [AccessD] SQL - IN Operator - Possible to use parameter In-Reply-To: Message-ID: <200511220422.jAM4MSJ10765@databaseadvisors.com> I wrote some code a while back that turns such a list into a temp table then does a join to said temp table. I will have to dig it out, and when I do I will post it, but Gustav has the basic framework correct. I did it using a function that parses the list and returns a table. Then I joined this table to the real tables. I will go hunting now for this code and send it as soon as I find it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: November 21, 2005 3:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav From dmcafee at pacbell.net Mon Nov 21 23:28:27 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 21 Nov 2005 21:28:27 -0800 Subject: [AccessD] SQL - IN Operator - Possible to use parameter In-Reply-To: <200511220422.jAM4MSJ10765@databaseadvisors.com> Message-ID: Francisco has an SQL Server example on his blog site. You might be able to make something similar in Access: http://sqlthis.blogspot.com/2005/02/list-to-table.html D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, November 21, 2005 8:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter I wrote some code a while back that turns such a list into a temp table then does a join to said temp table. I will have to dig it out, and when I do I will post it, but Gustav has the basic framework correct. I did it using a function that parses the list and returns a table. Then I joined this table to the real tables. I will go hunting now for this code and send it as soon as I find it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: November 21, 2005 3:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 22 00:42:30 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 22 Nov 2005 00:42:30 -0600 Subject: [AccessD] Need a couple of monitors for multi-tasking? Message-ID: <123701F54509D9119A4F00D0B7473490EA608A@main2.marlow.com> And who's getting me that for Christmas? I will beg! ;) Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 21, 2005 9:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need a couple of monitors for multi-tasking? http://digitaltigers.com/zenview-arenahd.shtml#videocards John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 22 05:33:31 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Tue, 22 Nov 2005 12:33:31 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B60F7@stekelbes.ithelps.local> If your Outlook is connected with MS Exchange Server, there is a procedure to avoid this security pop-ups. It consists of adding a registry key on the users pc and a Outlook form on the Exchange server public folder. I'm afraid I can't seem to find the MSKB id, but I supose you can find it pretty easy on the MSKB. Ola, hold your horses. Found this in my files. [HKEY_CURRENT_USER\Software\Policies\Microsoft\Security] "CheckAdminSettings"=dword:00000001 Search the MSKB for CheckAdminSettings and choose appropriate Exchanger Server version. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 22, 2005 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Outlook will give you that even if you just try to validate an email address against the address book, let alone trying to read the body of a message. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Monday, November 21, 2005 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Access Using Outlook Redemption I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Nov 22 07:32:25 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 22 Nov 2005 08:32:25 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE3198@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF330@ADGSERVER> LOL, why's that? All done in-house. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 21, 2005 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact by code Gosh, that code sure looks familiar! ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CFraase at officeimagesinc.com Tue Nov 22 09:49:38 2005 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Tue, 22 Nov 2005 10:49:38 -0500 Subject: [AccessD] How can I match the subreport to back color changes in the main report? Message-ID: Hi all, I've learned a lot just reading all your posts, but I've finally found something I can't figure out from the archives. I have a main report that changes the back color in the detail section alternately. This works fine, but there is a subreport in the detail section. I can't figure out how to have the subreport change color so that it matches the main form. I'm sure this is easy for all you geniuses out there! TIA Cindy Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com From andy at minstersystems.co.uk Tue Nov 22 10:07:55 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 22 Nov 2005 16:07:55 -0000 Subject: [AccessD] How can I match the subreport to back color changes inthe main report? In-Reply-To: Message-ID: <000301c5ef7e$e6492c00$e5b60c54@minster33c3r25> Hi Cindy Try this. Immediately after you put the code to set the BackColor (presumably in the OnFormat of the Detail section) put: Me.subRep.Report.Section("Detail").BackColor = Me.Section("Detail").BackColor Where subRep is the name of the subreport control on your main report. If your subreport has >1 section you'll need to repeat for each. Oh and don't forget to make the background style of the individual controls transparent.. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Cindy Fraase > Sent: 22 November 2005 15:50 > To: Access Developers discussion and problem solving > Subject: [AccessD] How can I match the subreport to back > color changes inthe main report? > > > > Hi all, > I've learned a lot just reading all your posts, but I've > finally found something I can't figure out from the archives. > I have a main report that changes the back color in the > detail section alternately. This works fine, but there is a > subreport in the detail section. I can't figure out how to > have the subreport change color so that it matches the main > form. I'm sure this is easy for all you geniuses out there! TIA Cindy > > > Cynthia Fraase > Asst. Controller > Direct: 678-325-3251 > Cell: 770-318-0628 > Fax: 770-641-2656 > > www.officeimagesinc.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Patricia.O'Connor at otda.state.ny.us Tue Nov 22 13:05:02 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 22 Nov 2005 14:05:02 -0500 Subject: [AccessD] Access 97 compact & repair causing report error Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F37@EXCNYSM0A1AI.nysemail.nyenet> The error does not seem to be limited to the compact. 1) I created a blank database, imported the tables from the working database to see if I could reduce the size. 2) copied a different smaller database, renamed it, deleted existing tables and imported the other tables. Well the size reduced in both cased but the report got the 3071 error again. This is making no sense to me at all. I can't figure out what is missing or causing the problem. Do I have to re-install Access97 and if so is it ok to re-install it over an existing Access2000? Thanks for the help Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From KIsmert at texassystems.com Tue Nov 22 14:26:15 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Tue, 22 Nov 2005 14:26:15 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: Larry, This is a set of code I developed to do this task. If you're interested, I'll work up a Northwind example and send it to you. -Ken -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Monday, November 21, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From pcs at azizaz.com Tue Nov 22 20:32:51 2005 From: pcs at azizaz.com (Borge Hansen) Date: Wed, 23 Nov 2005 12:32:51 +1000 Subject: [AccessD] Create Access Reports in PDF format and send as email attachment References: Message-ID: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Thanks Gustav, William and others for the pointers re rich text in text controls. I am looking at Lebans code.... for A2k and up appears to fill all the requirements... Here's another one: We want to create an Access reports in PDF format, save it with a specific name to a specific folder. Then email the PDF document as an attachment. Any one has some code samples of how to achieve this they would like to send me offline? Or pointers to where I may go looking for it? /borge From pcs at azizaz.com Tue Nov 22 23:53:41 2005 From: pcs at azizaz.com (Borge Hansen) Date: Wed, 23 Nov 2005 15:53:41 +1000 Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment References: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <05ed01c5eff2$41d5c560$fa10a8c0@Albatross> Stuart's post from 2 Feb 2005 "Emailing Access Reports in PDF format" is a good starting point. from Stuart's post... "the sample code on my MakePDF/MailPDF page on my website http://www.lexacorp.com.pg under the Free Software button" ....promise, I'll search the archives from now on before submitting any other queries! ;) /borge ----- Original Message ----- From: "Borge Hansen" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 12:32 PM Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment From harkinsss at bellsouth.net Wed Nov 23 04:56:14 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 23 Nov 2005 05:56:14 -0500 Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment In-Reply-To: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <20051123105613.OEZH22893.ibm69aec.bellsouth.net@SUSANONE> We want to create an Access reports in PDF format, save it with a specific name to a specific folder. Then email the PDF document as an attachment. Any one has some code samples of how to achieve this they would like to send me offline? Or pointers to where I may go looking for it? =======I can't credit the accessd who introduced me to this -- can't remember. :( http://www.acrosoftware.com/products/cutepdf/printer.asp Last time I downloaded, it was free. I wrote about using it with Access in the February 2004 issue of Inside Microsoft Access. Very easy to use, because it creates a specific pdf printer, which might be easier than doing it the long way. No promises though -- it's been a while since I've used it and I don't remember it's specific strengths and weaknesses. Susan H. From paul.hartland at isharp.co.uk Wed Nov 23 05:35:37 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 23 Nov 2005 11:35:37 -0000 Subject: [AccessD] Slightly OT - Build My Own Date Control Using VB6 In-Reply-To: <05ed01c5eff2$41d5c560$fa10a8c0@Albatross> Message-ID: To all, I have a long holiday coming up in December (break up on the 14th and don't go back to work until 3rd January).....So I am looking for little projects etc to keep myself occupied, I know that you shouldn't really try to re-invent the wheel but I have always wanted to build my own controls (date control etc)....Does anyone know how I would go about this, or has any sample code that I may look at to possibly get me started. Thanks in advance for any help. Paul Hartland Database Developer.. From lmrazek at lcm-res.com Wed Nov 23 09:45:07 2005 From: lmrazek at lcm-res.com (Larry Mrazek) Date: Wed, 23 Nov 2005 07:45:07 -0800 (PST) Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <20051123154507.64551.qmail@web81105.mail.mud.yahoo.com> Hi Ken: That would be great, if it is not too much trouble. Thanks! Ken Ismert wrote: Larry, This is a set of code I developed to do this task. If you're interested, I'll work up a Northwind example and send it to you. -Ken -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Monday, November 21, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? 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 robert at servicexp.com Wed Nov 23 11:00:27 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 23 Nov 2005 12:00:27 -0500 Subject: [AccessD] Heeeeelp.. Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F87@gbsserver.GBS.local> I need some help, I have been over a month trying to log into the IDN Forums (QuickBooks), which I have a community membership for. I can log into my IDN account but when I attempt to open the forums I get the message below.. **************************** There was an error trying to login to the forums ERROR: A user already exists matching your E-mail Address. **************************** I have change my account's email, password, you name it, I've tried it. And of course there does not seem to be any webmaster contact for the forum... MY REQUEST. Since I can only view the forums ( can't post questions as it requires logging in ), can someone that has an account post a message to the forum about my problem? I have sent something like 6 e-mail to various accounts at Inuit, with no reply. The error occurs no matter what browser I use, I have deleted all cookies, and such in an attempt to correct the problem. I'm to starting a re-write on the QB project next week, and have some questions that I need answers to before I begin.. Thanks A Million Robert Gracie www.gbsysnow.com From pedro at plex.nl Wed Nov 23 10:45:32 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 17:45:32 +0100 Subject: [AccessD] error & structure: Please Help!! References: <003401c5eed1$1ea1e870$4001a8c0@laptop> Message-ID: <003d01c5f04d$51f69630$4001a8c0@laptop> Hi, is there really no one who can help me with this? Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen From robert at servicexp.com Wed Nov 23 11:38:15 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 23 Nov 2005 12:38:15 -0500 Subject: [AccessD] Heeeeelp.. Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> Never Mind........ Finally Some Help.... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Wednesday, November 23, 2005 12:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Heeeeelp.. I need some help, I have been over a month trying to log into the IDN Forums (QuickBooks), which I have a community membership for. I can log into my IDN account but when I attempt to open the forums I get the message below.. **************************** There was an error trying to login to the forums ERROR: A user already exists matching your E-mail Address. **************************** I have change my account's email, password, you name it, I've tried it. And of course there does not seem to be any webmaster contact for the forum... MY REQUEST. Since I can only view the forums ( can't post questions as it requires logging in ), can someone that has an account post a message to the forum about my problem? I have sent something like 6 e-mail to various accounts at Inuit, with no reply. The error occurs no matter what browser I use, I have deleted all cookies, and such in an attempt to correct the problem. I'm to starting a re-write on the QB project next week, and have some questions that I need answers to before I begin.. Thanks A Million Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Wed Nov 23 11:38:45 2005 From: marcus at tsstech.com (Scott Marcus) Date: Wed, 23 Nov 2005 12:38:45 -0500 Subject: [AccessD] error & structure: Please Help!! Message-ID: Pedro, What is the error? Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Wednesday, November 23, 2005 11:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] error & structure: Please Help!! Hi, is there really no one who can help me with this? Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 23 11:45:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 09:45:41 -0800 Subject: [AccessD] Slightly OT - Build My Own Date Control Using VB6 References: Message-ID: <4384AAC5.2030306@shaw.ca> You could look at this Access calendar control from Stephen Lebans. a Class that wraps the Microsoft Month Calendar Common Control http://www.lebans.com/monthcalendar.htm You might also want to hunt through this site for VB control examples http://www.planetsourcecode.com Paul Hartland (ISHARP) wrote: >To all, > >I have a long holiday coming up in December (break up on the 14th and don't >go back to work until 3rd January).....So I am looking for little projects >etc to keep myself occupied, I know that you shouldn't really try to >re-invent the wheel but I have always wanted to build my own controls (date >control etc)....Does anyone know how I would go about this, or has any >sample code that I may look at to possibly get me started. > >Thanks in advance for any help. > >Paul Hartland >Database Developer.. > > > -- Marty Connelly Victoria, B.C. Canada From garykjos at gmail.com Wed Nov 23 12:37:48 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Nov 2005 12:37:48 -0600 Subject: [AccessD] Heeeeelp.. In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> Message-ID: See, posting it here did the trick ;-) On 11/23/05, Robert Gracie wrote: > Never Mind........ Finally Some Help.... :-) > > > Robert Gracie > www.gbsysnow.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie > Sent: Wednesday, November 23, 2005 12:16 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Heeeeelp.. > > > I need some help, I have been over a month trying to log into the IDN > Forums (QuickBooks), which I have a community membership for. > I can log into my IDN account but when I attempt to open the forums I > get the message below.. > > **************************** > There was an error trying to login to the forums > > ERROR: A user already exists matching your E-mail Address. > **************************** > > I have change my account's email, password, you name it, I've tried it. > And of course there does not seem to be any webmaster contact for the > forum... > > MY REQUEST. > Since I can only view the forums ( can't post questions as it requires > logging in ), can someone that has an account post a message to the > forum about my problem? I have sent something like 6 e-mail to various > accounts at Inuit, with no reply. > > The error occurs no matter what browser I use, I have deleted all > cookies, and such in an attempt to correct the problem. > > I'm to starting a re-write on the QB project next week, and have some > questions that I need answers to before I begin.. > > > Thanks A Million > > > Robert Gracie > www.gbsysnow.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Donald.A.McGillivray at sprint.com Wed Nov 23 12:41:09 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Wed, 23 Nov 2005 12:41:09 -0600 Subject: [AccessD] OT: Mapping and disconnecting network drives Message-ID: Hello All, I have an Access DB that, among other things, monitors folders on various network drives and moves files between them depending on certain conditions. The system runs 24x7 on a terminal server session. As part of the code that manages all of this, I check for the existence of the attached drives before attempting to perform any processing with them. The test uses the Dir() function and the UNC path to look for a known test file on the target drive. If the file is not found, the drive is presumed to be AWOL and my code attempts to attach to it (using the NetWork object of the Windows Script Host), returning an error if unable to do so. While testing this "check and attach" procedure, I manually disconnected the target drive, and ran the reconnect procedure. The procedure returned no error code, but Windows explorer displayed no evidence of the drive having been attached and assigned a drive letter. Refreshing and killing and restarting Explorer had no effect either. Nonetheless, when I run a Dir() from the immediate window (using the UNC path), the target test file is found. Likewise, FileCopy works against the UNC path. Both functions fail when using the deleted drive letter instead of the UNC path. Looks to me as if the mapping persists as a UNC resource, despite the drive letter having been killed. If I kill the terminal server session and restart it, the attached drive is unavailable both under its UNC path and the drive letter. I guess this is not really a problem if my program can still communicate with the resource via UNC path. It's just a bit disconcerting to not see it mapped to a drive letter in explorer. Anybody have an explanation, or better yet, a method for *really* killing a mapped drive in a terminal session? Thanks! Don McGillivray From garykjos at gmail.com Wed Nov 23 12:46:04 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Nov 2005 12:46:04 -0600 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: References: Message-ID: Hi Pedro, Do you have other people using this database??? Is it shared over a network?? Do any of the users have any network connectivity issues?? It is my experience that database corruption is almost always caused by a flakey network connection. Fix that and you will fix the real cause of the problem. I don't think you database structure has anything at all to do with the problem. You are welcome to send me your stripped database and I will have a look at it though. You can send it to be at garykjos at gmail.com Gary On 11/23/05, Scott Marcus wrote: > Pedro, > > What is the error? > > Scott Marcus > IT Programmer > TSS Technologies Inc. > www.tss.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 23, 2005 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] error & structure: Please Help!! > > Hi, > > is there really no one who can help me with this? > > > Last week i posted an error message, but became no answer that gave me > an > explanation for the error. > Is there someone who could look at the databasestructure ( i will send > the > stripped database ofline) and see why this error can appear, and give me > > some tips to prevent the error and for improvement of the structure. > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From pedro at plex.nl Wed Nov 23 13:02:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:02:52 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <004e01c5f060$865018d0$4001a8c0@laptop> Hello Scott, this is the error table that i placed in the Backend ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens i don't know when this error occurs. In the table self then one record is corrupt and all kind of weird signs are in the fields, also in the grey square before the tablefields are weird signs. Sometimes after deleting this record and other linked records in linked tables, the database works fine. Sometimes then things are really going wrong and all data has to be imported into a backup database and table that was ok before the error. But this costs very much time. The database in this presents worked for about 9 months without any error. After importing, it worked again for three months, then again three months. The strange thing is that i have no knowledge that i am trying to access a field description, because there is no field description. Pedro Janssen ----- Original Message ----- From: "Scott Marcus" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 6:38 PM Subject: Re: [AccessD] error & structure: Please Help!! > Pedro, > > What is the error? > > Scott Marcus > IT Programmer > TSS Technologies Inc. > www.tss.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 23, 2005 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] error & structure: Please Help!! > > Hi, > > is there really no one who can help me with this? > > > Last week i posted an error message, but became no answer that gave me > an > explanation for the error. > Is there someone who could look at the databasestructure ( i will send > the > stripped database ofline) and see why this error can appear, and give me > > some tips to prevent the error and for improvement of the structure. > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Wed Nov 23 13:09:09 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:09:09 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <004f01c5f061$65807ae0$4001a8c0@laptop> Hellp Gary, the backend of the database is on one server. The frontends are on the C: drive of about 10 pc's. To my knowledge there are no network problems. I always thought that it could be a problem when more then 1 user is working in the same table, but this is just an idea. Gary, i will send you the database of line. The error you can find in the accessd mail i returned to Scott Marcus. Thanks Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 23 13:32:12 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 11:32:12 -0800 Subject: [AccessD] Create Access Reports in PDF format and send as email attachment References: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <4384C3BC.1080009@shaw.ca> You could try this one from Stephen Lebans, it is only a week old. However I am bit confused by the license. Does he mean you have to run everything through the supplied mdb. A97ReportToPDF is an Access 97 database containing a function to convert Reports and Snapshot files to PDF documents. No PDF Printer driver is required. just two dll's to install. This archive contains a new version of the DynaPDF library. http://www.lebans.com/reporttopdf.htm Borge Hansen wrote: >Thanks Gustav, William and others for the pointers re rich text in text >controls. >I am looking at Lebans code.... for A2k and up appears to fill all the >requirements... > >Here's another one: > >We want to create an Access reports in PDF format, save it with a specific name >to a specific folder. Then email the PDF document as an attachment. > >Any one has some code samples of how to achieve this they would like to send me >offline? > >Or pointers to where I may go looking for it? > >/borge > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Nov 23 13:54:38 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:54:38 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <00c901c5f067$bc6e4c50$4001a8c0@laptop> Gary, i have send the database to garykjos at gmail.com , but became a Delivery Status Notification (failed). I have send it agaain. Please let me know if you received the database. Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Wed Nov 23 13:57:48 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:57:48 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <00e401c5f068$2e1fd3f0$4001a8c0@laptop> Gary, i received a second Delivery Status Notification (failure). How is this possible. Does it returns. .zip extensions. I will send it again as an .ok extension. Please change it to .zip Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Nov 23 14:28:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 12:28:46 -0800 Subject: [AccessD] OT MS Explorer In-Reply-To: Message-ID: <001601c5f06c$8148c010$017ba8c0@xpserver> OT: Hi All: I have just installed a Server 2003 OS after a crash. When IE was installed it pre-set its security for 'Restricted Sites' to High. Even as a administrator the 'high' setting could not be adjusted.(??) It was an issue as every intranet and internet site demanded validation and https settings which rendered the product functionally unusable. Tight security is mandatory in network/internet situations but this security level is over the top given all the Firewalls, Virus scanning and Anti-Spy-ware hardware and software already installed. Finally we just switched all the default browsers to Firefox and had to tell the client that IE is broken until further notice. Has anyone run across this issue before? Is there a simple resolution to this problem? MTIA Jim From martyconnelly at shaw.ca Wed Nov 23 14:34:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 12:34:58 -0800 Subject: [AccessD] OT: Mapping and disconnecting network drives References: Message-ID: <4384D272.3070203@shaw.ca> You could try this API method of attaching and detaching mapped drives rather than WSH http://vbnet.mvps.org/code/network/netconnect.htm Maybe some other useful stuff on this site I use this one to monitor folder changes Creating a Watched Folder with FindChangeNotification http://vbnet.mvps.org/code/fileapi/watchedfolder.htm Mcgillivray, Don [IT] wrote: >Hello All, > >I have an Access DB that, among other things, monitors folders on >various network drives and moves files between them depending on certain >conditions. The system runs 24x7 on a terminal server session. As part >of the code that manages all of this, I check for the existence of the >attached drives before attempting to perform any processing with them. >The test uses the Dir() function and the UNC path to look for a known >test file on the target drive. If the file is not found, the drive is >presumed to be AWOL and my code attempts to attach to it (using the >NetWork object of the Windows Script Host), returning an error if unable >to do so. While testing this "check and attach" procedure, I manually >disconnected the target drive, and ran the reconnect procedure. The >procedure returned no error code, but Windows explorer displayed no >evidence of the drive having been attached and assigned a drive letter. >Refreshing and killing and restarting Explorer had no effect either. >Nonetheless, when I run a Dir() from the immediate window (using the UNC >path), the target test file is found. Likewise, FileCopy works against >the UNC path. Both functions fail when using the deleted drive letter >instead of the UNC path. > >Looks to me as if the mapping persists as a UNC resource, despite the >drive letter having been killed. If I kill the terminal server session >and restart it, the attached drive is unavailable both under its UNC >path and the drive letter. > >I guess this is not really a problem if my program can still communicate >with the resource via UNC path. It's just a bit disconcerting to not >see it mapped to a drive letter in explorer. Anybody have an >explanation, or better yet, a method for *really* killing a mapped drive >in a terminal session? > >Thanks! > >Don McGillivray > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Wed Nov 23 16:03:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 14:03:47 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <004f01c5f061$65807ae0$4001a8c0@laptop> Message-ID: <001a01c5f079$c7774a40$017ba8c0@xpserver> Hi Pedro: I have run across similar situations before. Everything will remain sable until a station or the server goes down in the middle of a data operation between the FE and BE. If this happens often enough, the databases will be corrupted. In most cases this database will have to be brought back from the last night's backup. The last time this situation happened on a client's site they ended up losing two weeks worth of work. From then on I have never used the bound database model except for small sites. You should be able to restore the data, by creating a blank BE and exporting one table at a time from the old to new. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 23, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hellp Gary, the backend of the database is on one server. The frontends are on the C: drive of about 10 pc's. To my knowledge there are no network problems. I always thought that it could be a problem when more then 1 user is working in the same table, but this is just an idea. Gary, i will send you the database of line. The error you can find in the accessd mail i returned to Scott Marcus. Thanks Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Nov 23 16:23:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 23:23:52 +0100 Subject: [AccessD] error & structure: Please Help!! References: <001a01c5f079$c7774a40$017ba8c0@xpserver> Message-ID: <001401c5f07c$9a91bb20$4001a8c0@laptop> Hi Jim, even exporting the tables in a blanc database sometimes didn't work. In two cases i had to copy and past al the data in tables from backup's. This is a lot of work. Last time it took me about 5 hours to restore al the data. Pedro Janssen ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:03 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro: > > I have run across similar situations before. Everything will remain sable > until a station or the server goes down in the middle of a data operation > between the FE and BE. If this happens often enough, the databases will be > corrupted. In most cases this database will have to be brought back from > the > last night's backup. > > The last time this situation happened on a client's site they ended up > losing two weeks worth of work. From then on I have never used the bound > database model except for small sites. > > You should be able to restore the data, by creating a blank BE and > exporting > one table at a time from the old to new. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: November 23, 2005 11:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] error & structure: Please Help!! > > Hellp Gary, > > the backend of the database is on one server. > The frontends are on the C: drive of about 10 pc's. > > To my knowledge there are no network problems. > I always thought that it could be a problem when more then 1 user is > working > > in the same table, but this is just an idea. > > Gary, i will send you the database of line. The error you can find in the > accessd mail i returned to Scott Marcus. > > Thanks > > Pedro Janssen > > > ----- Original Message ----- > From: "Gary Kjos" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 23, 2005 7:46 PM > Subject: Re: [AccessD] error & structure: Please Help!! > > >> Hi Pedro, >> >> Do you have other people using this database??? Is it shared over a >> network?? Do any of the users have any network connectivity issues?? >> It is my experience that database corruption is almost always caused >> by a flakey network connection. Fix that and you will fix the real >> cause of the problem. I don't think you database structure has >> anything at all to do with the problem. >> >> You are welcome to send me your stripped database and I will have a >> look at it though. You can send it to be at garykjos at gmail.com >> >> Gary >> >> On 11/23/05, Scott Marcus wrote: >>> Pedro, >>> >>> What is the error? >>> >>> Scott Marcus >>> IT Programmer >>> TSS Technologies Inc. >>> www.tss.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Wednesday, November 23, 2005 11:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] error & structure: Please Help!! >>> >>> Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>> Last week i posted an error message, but became no answer that gave me >>> an >>> explanation for the error. >>> Is there someone who could look at the databasestructure ( i will send >>> the >>> stripped database ofline) and see why this error can appear, and give me >>> >>> some tips to prevent the error and for improvement of the structure. >>> >>> >>> Pedro Janssen >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 23 17:55:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 15:55:13 -0800 Subject: [AccessD] error & structure: Please Help!! References: <00e401c5f068$2e1fd3f0$4001a8c0@laptop> Message-ID: <43850161.2040207@shaw.ca> I just thought, I would let you know that email from my domain shaw.ca is being zombie blocked by your isp plex.nl . I don't know what other isp's it is blocking . This might explain your lack of response to your question Shaw is the second or third biggest ISP in Canada. If you would like your own gmail account to get around this I'll send you an invite. English explanation at bottom http://www.plex.nl/zombie/ It could be just a corrupted mdb. Easy to happen with a power failure, someone turning off the PC abruptly or a bad hub, switch or nic card on the network. People generally don't use field Descriptions unless they heavily document their mdb's If it is user doing it, by accidently powering down the PC. You might be able to find out which terminal caused it with the routine below. The routine looks at the associated ldb file, so don't delete it untill you run this run ADOUserRoster in another mdb against the faulty mdb name ' Constants ' 'The Microsoft Jet Provider defines a number of GUIDs 'and property values that are for provider-specific features 'and properties. Because they are provider-specific values, 'ADO does not expose them in enumeration values or constants ' for further info see: ' http://www.microsoft.com/data/ado/adotechinfo/dao2ado_9.htm ' http://msdn.microsoft.com/library/techart/daotoadoupdate_topic10.htm 'Remember to set reference to MS ADO 2.5 or higher ' Jet OLE DB Provider Defined Schema Rowsets Constants Global Const JET_SCHEMA_USERROSTER = _ "{947bb102-5d43-11d1-bdbf-00c04fb92675}" Global Const JET_SCHEMA_ISAMSTATS = _ "{8703b612-5d43-11d1-bdbf-00c04fb92675}" ' Microsoft Jet OLEDB:Database Locking Mode property values Global Const JET_DATABASELOCKMODE_PAGE = 0 Global Const JET_DATABASELOCKMODE_ROW = 1 'Remember to set reference to MS ADO 2.5 or higher ' sample calls ' 'ADOUserRoster "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb" 'ADOUserStats "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb" Function ADOUserRoster(strAccessMDBName As String) As String Dim cnn As New ADODB.Connection Dim rst As ADODB.Recordset Dim varGetString As Variant ' Use before ADO calls On Error GoTo AdoError ' Open the connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessMDBName & ";" ' Open the user roster schema rowset Set rst = cnn.OpenSchema(adSchemaProviderSpecific, , _ JET_SCHEMA_USERROSTER) ' Print the results to the debug window 'Column Description 'COMPUTER_NAME The name of the workstation as specified using ' the Network icon in Control Panel. 'LOGIN_NAME The name of the user used to log on to the database ' if the database has been secured; otherwise, ' the default value will be Admin. 'CONNECTED True, if there is a corresponding user lock ' in the .ldb file. 'SUSPECTED_STATE True, if the user has left the database ' in a suspect state; otherwise, Null. Debug.Print "Computer Name Login Name" & _ " Connected Suspected State" 'can only grab once 'Use all defaults: get all rows, TAB column delimiter, CARRIAGE RETURN 'row delimiter, empty-string null delimiter varGetString = rst.GetString(adClipString, , ",", ";", "?") 'computer name string has a couple of nulls in so remove Dim ab() As Byte Dim i As Long Dim lstrlen As Long lstrlen = (Len(varGetString) - 1) * 2 ab = varGetString For i = 0 To lstrlen Step 2 Debug.Print Chr(ab(i)); ab(i); i If ab(i) = 0 Then ab(i) = 32 End If Next i ' Format string for text box varGetString = ab varGetString = Replace(varGetString, ",0,", ", False ,") varGetString = Replace(varGetString, ",-1,", ", True ,") varGetString = Replace(varGetString, ",?", ", ?? ,") varGetString = Replace(varGetString, ",", " ") varGetString = Replace(varGetString, ";", vbCrLf) Debug.Print varGetString ADOUserRoster = "Computer Name Login Name" & _ " Connected Suspected State" & vbCrLf & _ varGetString cnn.close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.close Set cnn = Nothing 'where Cnn is Connection Object End Function Function ADOUserStats(strAccessMDBName As String) As String ' Grab Isam Statistics at call time ' Write up in Microsoft Jet Dabase Programmer's Guide ' similar to ISAMStats function ' IsamStats(StatNum as Long,Reset as Boolean) Dim cnn As New ADODB.Connection Dim rst As ADODB.Recordset Dim strLine As String Dim i As Integer Dim strLargeLine As String ' Use before ADO calls On Error GoTo AdoError ' Open the connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessMDBName & ";" ' Open the user roster schema rowset Set rst = cnn.OpenSchema(adSchemaProviderSpecific, , _ JET_SCHEMA_ISAMSTATS) ' Print the ISAM Stats results to the debug window Debug.Print "ISAM Stats" strLargeLine = "ISAM Stats" & vbCrLf Debug.Print rst.GetString With rst .MoveFirst Do While Not .EOF strLine = "" With .Fields Debug.Print "Count=" & .Count For i = 0 To .Count - 1 strLine = strLine & .Item(i).Name & ":" & _ .Item(i).Value & vbCrLf Next Debug.Print strLine strLargeLine = strLargeLine & strLine & vbCrLf End With .MoveNext Loop End With ADOUserStats = strLargeLine cnn.close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.close 'where Cnn is Connection Object End Function Sub AdoErrorExpanded(Conn1 As ADODB.Connection) ' ADO Error/Exception Handler Expanded Dim Errs1 As ADODB.Errors Dim errLoop As ADODB.Error Dim i As Long Dim strMsgErr As String i = 1 On Error Resume Next ' For any error condition, show results in debug ' Enumerate Errors collection and display properties ' of each Error object. Set Errs1 = Conn1.Errors For Each errLoop In Errs1 With errLoop Debug.Print " Error #" & i & ":" Debug.Print " ADO Error #" & .Number Debug.Print " Description " & .Description Debug.Print " Source " & .Source Debug.Print " HelpFile " & .HelpFile Debug.Print " HelpContext " & .HelpContext Debug.Print " NativeError " & .NativeError Debug.Print " SQLState " & .SQLState strMsgErr = " Error #" & i & ":" strMsgErr = strMsgErr & vbCrLf & " ADO Error #" & .Number strMsgErr = strMsgErr & vbCrLf & " Description " & .Description strMsgErr = strMsgErr & vbCrLf & " Source " & .Source strMsgErr = strMsgErr & vbCrLf & " HelpFile " & .HelpFile strMsgErr = strMsgErr & vbCrLf & " HelpContext " & .HelpContext strMsgErr = strMsgErr & vbCrLf & " NativeError " & .NativeError strMsgErr = strMsgErr & vbCrLf & " SQLState " & .SQLState MsgBox strMsgErr i = i + 1 End With Next With Conn1 Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf & _ "Driver Name: " & .Properties("Driver Name") & vbCrLf & _ "Driver Version: " & .Properties("Driver Version") & vbCrLf & _ "Driver ODBC Version: " & .Properties("Driver ODBC Version") End With End Sub Pedro Janssen wrote: >Gary, > >i received a second Delivery Status Notification (failure). How is this >possible. >Does it returns. .zip extensions. I will send it again as an .ok extension. >Please change it to .zip > >Pedro Janssen > > >----- Original Message ----- >From: "Gary Kjos" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, November 23, 2005 7:46 PM >Subject: Re: [AccessD] error & structure: Please Help!! > > > > >>Hi Pedro, >> >>Do you have other people using this database??? Is it shared over a >>network?? Do any of the users have any network connectivity issues?? >>It is my experience that database corruption is almost always caused >>by a flakey network connection. Fix that and you will fix the real >>cause of the problem. I don't think you database structure has >>anything at all to do with the problem. >> >>You are welcome to send me your stripped database and I will have a >>look at it though. You can send it to be at garykjos at gmail.com >> >>Gary >> >>On 11/23/05, Scott Marcus wrote: >> >> >>>Pedro, >>> >>>What is the error? >>> >>>Scott Marcus >>>IT Programmer >>>TSS Technologies Inc. >>>www.tss.com >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>>Sent: Wednesday, November 23, 2005 11:46 AM >>>To: Access Developers discussion and problem solving >>>Subject: [AccessD] error & structure: Please Help!! >>> >>>Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>>Last week i posted an error message, but became no answer that gave me >>>an >>>explanation for the error. >>>Is there someone who could look at the databasestructure ( i will send >>>the >>>stripped database ofline) and see why this error can appear, and give me >>> >>>some tips to prevent the error and for improvement of the structure. >>> >>> >>>Pedro Janssen >>> >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>Gary Kjos >>garykjos at gmail.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 accessd at shaw.ca Wed Nov 23 18:50:40 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 16:50:40 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <001401c5f07c$9a91bb20$4001a8c0@laptop> Message-ID: <002101c5f091$17e98030$017ba8c0@xpserver> Hi Pedro: One thing you can do is when you get the BE recovered. Check to see how database is being used. Some of the problems that I had were: 1. Some users never logged off and just left everything running.... result in extra exposure and halted backups. 2. One user simply used the off and on button when ending for the day. 3. One of the local IT guys would re-boot the server without getting everyone logged off. I am not suggesting that these are the issues at your site but a similar set of problems that that physically affect database I/O would continuously corrupt your BE. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 23, 2005 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hi Jim, even exporting the tables in a blanc database sometimes didn't work. In two cases i had to copy and past al the data in tables from backup's. This is a lot of work. Last time it took me about 5 hours to restore al the data. Pedro Janssen ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:03 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro: > > I have run across similar situations before. Everything will remain sable > until a station or the server goes down in the middle of a data operation > between the FE and BE. If this happens often enough, the databases will be > corrupted. In most cases this database will have to be brought back from > the > last night's backup. > > The last time this situation happened on a client's site they ended up > losing two weeks worth of work. From then on I have never used the bound > database model except for small sites. > > You should be able to restore the data, by creating a blank BE and > exporting > one table at a time from the old to new. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: November 23, 2005 11:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] error & structure: Please Help!! > > Hellp Gary, > > the backend of the database is on one server. > The frontends are on the C: drive of about 10 pc's. > > To my knowledge there are no network problems. > I always thought that it could be a problem when more then 1 user is > working > > in the same table, but this is just an idea. > > Gary, i will send you the database of line. The error you can find in the > accessd mail i returned to Scott Marcus. > > Thanks > > Pedro Janssen > > > ----- Original Message ----- > From: "Gary Kjos" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 23, 2005 7:46 PM > Subject: Re: [AccessD] error & structure: Please Help!! > > >> Hi Pedro, >> >> Do you have other people using this database??? Is it shared over a >> network?? Do any of the users have any network connectivity issues?? >> It is my experience that database corruption is almost always caused >> by a flakey network connection. Fix that and you will fix the real >> cause of the problem. I don't think you database structure has >> anything at all to do with the problem. >> >> You are welcome to send me your stripped database and I will have a >> look at it though. You can send it to be at garykjos at gmail.com >> >> Gary >> >> On 11/23/05, Scott Marcus wrote: >>> Pedro, >>> >>> What is the error? >>> >>> Scott Marcus >>> IT Programmer >>> TSS Technologies Inc. >>> www.tss.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Wednesday, November 23, 2005 11:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] error & structure: Please Help!! >>> >>> Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>> Last week i posted an error message, but became no answer that gave me >>> an >>> explanation for the error. >>> Is there someone who could look at the databasestructure ( i will send >>> the >>> stripped database ofline) and see why this error can appear, and give me >>> >>> some tips to prevent the error and for improvement of the structure. >>> >>> >>> Pedro Janssen >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 23 19:43:16 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 17:43:16 -0800 Subject: [AccessD] error & structure: Please Help!! References: <002101c5f091$17e98030$017ba8c0@xpserver> Message-ID: <43851AB4.9000109@shaw.ca> You can force out Idle Users and also a similar method with a timer and hidden form and a small field in a table can be used to force everyone out with a 5 minute warning Candace Tripp has an example mdb "Detect and Logoff Idle Users" http://www.candace-tripp.com/pages/access_downloads.aspx HOW TO: Detect User Idle Time or Inactivity in Access 2000 http://support.microsoft.com/?id=210297 use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the Knowledge Base article), and do not display a message box as shown in the article, since message boxes are modal and this would defeat any attempt to close: Sub IdleTimeDetected(sngExpiredMinutes) 'Dim strMessage As String 'strMessage = "No user activity detected in the last" & vbCrLf 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" 'MsgBox strMessage, vbInformation, "No Sign of Activity!" Application.Quit acSaveYes End Sub Jim Lawrence wrote: >Hi Pedro: > >One thing you can do is when you get the BE recovered. Check to see how >database is being used. Some of the problems that I had were: > >1. Some users never logged off and just left everything running.... result >in extra exposure and halted backups. >2. One user simply used the off and on button when ending for the day. >3. One of the local IT guys would re-boot the server without getting >everyone logged off. > >I am not suggesting that these are the issues at your site but a similar set >of problems that that physically affect database I/O would continuously >corrupt your BE. > >HTH >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >Sent: November 23, 2005 2:24 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] error & structure: Please Help!! > >Hi Jim, > >even exporting the tables in a blanc database sometimes didn't work. >In two cases i had to copy and past al the data in tables from backup's. >This is a lot of work. Last time it took me about 5 hours to restore al the >data. > >Pedro Janssen > > > >----- Original Message ----- >From: "Jim Lawrence" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:03 PM >Subject: Re: [AccessD] error & structure: Please Help!! > > > > >>Hi Pedro: >> >>I have run across similar situations before. Everything will remain sable >>until a station or the server goes down in the middle of a data operation >>between the FE and BE. If this happens often enough, the databases will be >>corrupted. In most cases this database will have to be brought back from >>the >>last night's backup. >> >>The last time this situation happened on a client's site they ended up >>losing two weeks worth of work. From then on I have never used the bound >>database model except for small sites. >> >>You should be able to restore the data, by creating a blank BE and >>exporting >>one table at a time from the old to new. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>Sent: November 23, 2005 11:09 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] error & structure: Please Help!! >> >>Hellp Gary, >> >>the backend of the database is on one server. >>The frontends are on the C: drive of about 10 pc's. >> >>To my knowledge there are no network problems. >>I always thought that it could be a problem when more then 1 user is >>working >> >>in the same table, but this is just an idea. >> >>Gary, i will send you the database of line. The error you can find in the >>accessd mail i returned to Scott Marcus. >> >>Thanks >> >>Pedro Janssen >> >> >>----- Original Message ----- >>From: "Gary Kjos" >>To: "Access Developers discussion and problem solving" >> >>Sent: Wednesday, November 23, 2005 7:46 PM >>Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> >> >>>Hi Pedro, >>> >>>Do you have other people using this database??? Is it shared over a >>>network?? Do any of the users have any network connectivity issues?? >>>It is my experience that database corruption is almost always caused >>>by a flakey network connection. Fix that and you will fix the real >>>cause of the problem. I don't think you database structure has >>>anything at all to do with the problem. >>> >>>You are welcome to send me your stripped database and I will have a >>>look at it though. You can send it to be at garykjos at gmail.com >>> >>>Gary >>> >>>On 11/23/05, Scott Marcus wrote: >>> >>> >>>>Pedro, >>>> >>>>What is the error? >>>> >>>>Scott Marcus >>>>IT Programmer >>>>TSS Technologies Inc. >>>>www.tss.com >>>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>>>Sent: Wednesday, November 23, 2005 11:46 AM >>>>To: Access Developers discussion and problem solving >>>>Subject: [AccessD] error & structure: Please Help!! >>>> >>>>Hi, >>>> >>>> is there really no one who can help me with this? >>>> >>>> >>>>Last week i posted an error message, but became no answer that gave me >>>>an >>>>explanation for the error. >>>>Is there someone who could look at the databasestructure ( i will send >>>>the >>>>stripped database ofline) and see why this error can appear, and give me >>>> >>>>some tips to prevent the error and for improvement of the structure. >>>> >>>> >>>>Pedro Janssen >>>> >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>-- >>>Gary Kjos >>>garykjos at gmail.com >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/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 DorisH3 at aol.com Wed Nov 23 20:59:16 2005 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Wed, 23 Nov 2005 21:59:16 EST Subject: [AccessD] Need help Message-ID: I am fairly new to Access, so I apologize ahead of time for my incompetence. I have a report that I need to put together which shows the First and Last Names of Volunteers and their qualifications...I need to show as an example: Last Name First Name Qualifications Smith Ann BB, CC, MF, Jones Richard CF, CT I have 2 tables....one for the volunteers which contains VolNum, FirstNm, LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum and QualificationCode. Because the volunteers are qualified in more than one area their could be several records for one volunteer in the Qualifications table. My problem is how do I show the last column of the report with commas after each record from the Qualifications table vs listing each qualification on a seperate line for the volunteer. Thanks ahead of time for the assistance. Doris From jmhecht at earthlink.net Wed Nov 23 22:36:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 23 Nov 2005 20:36:45 -0800 Subject: [AccessD] Installing a retail Access app Message-ID: <000001c5f0b0$ad8d5c00$6701a8c0@Hewlett> My client may want to sell the application I am working on for him. It would be split and an .mde. I admit I will likely be stealing ( ummmm borrowing from JC). Some questions: 1. How do you design for an installation where you do not know the target network? 2. Currently I am working with A2K3. No VS. How do I select an install package? 3. What other design things should I be waiting to bite me? Thanks, Joe Hecht jmhecht at earthlink.net From wdhindman at bellsouth.net Wed Nov 23 22:50:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 23 Nov 2005 23:50:20 -0500 Subject: [AccessD] Need help References: Message-ID: <000301c5f0b2$93389110$6101a8c0@JISREGISTRATION.local> ...this is a sample module which does what you want to do ...you'll have to rewrite the code to address your tables, fields, and relationships but the functionality you need is all there. http://www.mvps.org/access/modules/mdl0004.htm William ----- Original Message ----- From: To: Sent: Wednesday, November 23, 2005 9:59 PM Subject: [AccessD] Need help >I am fairly new to Access, so I apologize ahead of time for my >incompetence. > > I have a report that I need to put together which shows the First and Last > Names of Volunteers and their qualifications...I need to show as an > example: > > Last Name First Name Qualifications > Smith Ann BB, CC, MF, > Jones Richard CF, CT > > I have 2 tables....one for the volunteers which contains VolNum, FirstNm, > LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum > and > QualificationCode. Because the volunteers are qualified in more than one > area > their could be several records for one volunteer in the Qualifications > table. > > > My problem is how do I show the last column of the report with commas > after > each record from the Qualifications table vs listing each qualification on > a > seperate line for the volunteer. > > Thanks ahead of time for the assistance. > > Doris > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 23 22:58:44 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 23 Nov 2005 23:58:44 -0500 Subject: [AccessD] Installing a retail Access app References: <000001c5f0b0$ad8d5c00$6701a8c0@Hewlett> Message-ID: <000701c5f0b3$c03750b0$6101a8c0@JISREGISTRATION.local> ...I believe you will need the runtime distribution licensing that comes with the VS Tools for Office for the common case where the customer does not have Access pre-installed. ...the install packager that comes with the VSTFO is adequate only for controlled local installs ...for the siuation you describe you will need the Wise/Sage combo. ...if you are talking about installing on a non-Win network like Novell or Unix then there a number of posts in the archives, particularly from Gustav, that will be of considerable help. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:36 PM Subject: [AccessD] Installing a retail Access app > My client may want to sell the application I am working on > for him. > > > > It would be split and an .mde. I admit I will likely be > stealing ( ummmm borrowing from JC). > > > > Some questions: > > 1. How do you design for an installation where you do > not know the target network? > 2. Currently I am working with A2K3. No VS. How do I > select an install package? > 3. What other design things should I be waiting to bite > me? > > > > Thanks, > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Wed Nov 23 23:03:26 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 23 Nov 2005 21:03:26 -0800 Subject: [AccessD] Installing a retail Access app In-Reply-To: <000701c5f0b3$c03750b0$6101a8c0@JISREGISTRATION.local> Message-ID: <000001c5f0b4$67f18c30$6701a8c0@Hewlett> Thanks William, Guess I will spend Thanksgiving in the archives. Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, November 23, 2005 8:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app ...I believe you will need the runtime distribution licensing that comes with the VS Tools for Office for the common case where the customer does not have Access pre-installed. ...the install packager that comes with the VSTFO is adequate only for controlled local installs ...for the siuation you describe you will need the Wise/Sage combo. ...if you are talking about installing on a non-Win network like Novell or Unix then there a number of posts in the archives, particularly from Gustav, that will be of considerable help. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:36 PM Subject: [AccessD] Installing a retail Access app > My client may want to sell the application I am working on > for him. > > > > It would be split and an .mde. I admit I will likely be > stealing ( ummmm borrowing from JC). > > > > Some questions: > > 1. How do you design for an installation where you do > not know the target network? > 2. Currently I am working with A2K3. No VS. How do I > select an install package? > 3. What other design things should I be waiting to bite > me? > > > > Thanks, > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 24 03:57:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 10:57:02 +0100 Subject: [AccessD] Need help Message-ID: Hi Doris Here's a variation where you save the SQL to look up the Qualifications in a separate query assuming that your primary key, VolNum, is a number: PARAMETERS lngKey Long; SELECT QualificationCode FROM tblQualifications WHERE VolNum = lngKey ORDER BY QualificationCode; Save this as, say, qdyQualifications. Now, adjust you main query to include the function below to look something like this: SELECT *, ConcatenateRecords('qdyQualifications',[VolNum],'QualificationCode',', ') FROM tblVolunteers; /gustav Public Function ConcatenateRecords( _ ByVal strSource As String, _ ByVal lngKey As Long, _ ByVal strField As String, _ Optional ByVal strSeparator As String = ";") _ As String ' Concatenates values from one field (strField) from all ' records in query strSource using parameter value lngKey. ' Values are separated by strSeparator. ' Default output like: ' 34;56;34;67;234 ' ' 1999-10-12. Cactus Data ApS, CPH Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim rst As DAO.Recordset Dim fld As DAO.Field Dim booPluralis As Boolean Dim strFields As String On Error GoTo Err_ConcatenateRecords Set dbs = CurrentDb() If Len(strSource) > 0 And Len(strField) > 0 Then Set qdf = dbs.QueryDefs(strSource) qdf.Parameters(0) = lngKey Set rst = qdf.OpenRecordset() Set fld = rst.Fields(strField) With rst While Not .EOF If booPluralis = True Then ' There is more than one record. ' Add separator. strFields = strFields & strSeparator End If strFields = strFields & Trim(fld.value) booPluralis = True .MoveNext Wend .Close End With Set fld = Nothing Set rst = Nothing Set qdf = Nothing End If Set dbs = Nothing ConcatenateRecords = strFields Exit_ConcatenateRecords: Exit Function Err_ConcatenateRecords: MsgBox "Error " & Err.Number & ". " & Err.Description Resume Exit_ConcatenateRecords End Function >>> DorisH3 at aol.com 24-11-2005 03:59 >>> I am fairly new to Access, so I apologize ahead of time for my incompetence. I have a report that I need to put together which shows the First and Last Names of Volunteers and their qualifications...I need to show as an example: Last Name First Name Qualifications Smith Ann BB, CC, MF, Jones Richard CF, CT I have 2 tables....one for the volunteers which contains VolNum, FirstNm, LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum and QualificationCode. Because the volunteers are qualified in more than one area their could be several records for one volunteer in the Qualifications table. My problem is how do I show the last column of the report with commas after each record from the Qualifications table vs listing each qualification on a seperate line for the volunteer. Thanks ahead of time for the assistance. Doris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This mail is marked as non spam by Pinjo revealer, spamfilter technology. ( http://www.pinjo.nl ) From Pedro at plex.nl Thu Nov 24 11:32:51 2005 From: Pedro at plex.nl (Pedro at plex.nl) Date: Thu, 24 Nov 2005 11:32:51 (MET) Subject: [AccessD] error & structure: Please Help!! Message-ID: <200511241032.jAOAWpUh011022@mailhostC.plex.net> Hello Marty, because the response on my question is send by accessd, i presume that this isn't blocked by my provider?? Pedro In antwoord op: > From: MartyConnelly > To: Access Developers discussion and problem solving > Date: Wed, 23 Nov 2005 15:55:13 -0800 > Subject: Re: [AccessD] error & structure: Please Help!! > > > I just thought, I would let you know that email from my domain shaw.ca > is being zombie blocked > by your isp plex.nl . I don't know what other isp's it is blocking . > This might explain your lack of response to your question > Shaw is the second or third biggest ISP in Canada. If you would like > your own gmail account to get around this > I'll send you an invite. > > English explanation at bottom > http://www.plex.nl/zombie/ > > From Pedro at plex.nl Thu Nov 24 11:36:47 2005 From: Pedro at plex.nl (Pedro at plex.nl) Date: Thu, 24 Nov 2005 11:36:47 (MET) Subject: [AccessD] error & structure: Please Help!! Message-ID: <200511241036.jAOAalx1011136@mailhostC.plex.net> Hello Jim And Marty, thanks for the tips. I will check this out. Pedro Janssen In antwoord op: > From: MartyConnelly > To: Access Developers discussion and problem solving > Date: Wed, 23 Nov 2005 17:43:16 -0800 > Subject: Re: [AccessD] error & structure: Please Help!! > > > You can force out Idle Users and also a similar method with a timer and > hidden form and a small field in a table > can be used to force everyone out with a 5 minute warning > > Candace Tripp has an example mdb "Detect and Logoff Idle Users" > http://www.candace-tripp.com/pages/access_downloads.aspx > > > HOW TO: Detect User Idle Time or Inactivity in Access 2000 > http://support.microsoft.com/?id=210297 > > use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the > Knowledge Base article), > and do not display a message box as shown in the article, since > message boxes are modal and this would defeat any attempt to close: > > Sub IdleTimeDetected(sngExpiredMinutes) > 'Dim strMessage As String > 'strMessage = "No user activity detected in the last" & vbCrLf > 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" > 'MsgBox strMessage, vbInformation, "No Sign of Activity!" > Application.Quit acSaveYes > End Sub > > > Jim Lawrence wrote: > > >Hi Pedro: > > > >One thing you can do is when you get the BE recovered. Check to see how > >database is being used. Some of the problems that I had were: > > > >1. Some users never logged off and just left everything running.... result > >in extra exposure and halted backups. > >2. One user simply used the off and on button when ending for the day. > >3. One of the local IT guys would re-boot the server without getting > >everyone logged off. > > > >I am not suggesting that these are the issues at your site but a similar set > >of problems that that physically affect database I/O would continuously > >corrupt your BE. > > > >HTH > >Jim > > From Gustav at cactus.dk Thu Nov 24 08:51:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 15:51:49 +0100 Subject: [AccessD] OT: Sum in MySQL Message-ID: Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav From paul.hartland at isharp.co.uk Thu Nov 24 09:07:47 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 24 Nov 2005 15:07:47 -0000 Subject: [AccessD] OT: Sum in MySQL In-Reply-To: Message-ID: Not sure about MYSQL, but off the top of my head I think I would use something like the following in SQL Server SELECT SUM(CAST([FieldInteger] AS Float)) FROM tblTable Or possibly SELECT SUM(CONVERT(Float, [FieldInteger])) FROM tblTable If it works, let me know as I want to start getting into MYSQL....In fact if anyone knows if and where a good front-end for MYSQL exists (hopefully similar to Enterprise Manager) then could you let me know. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 24 November 2005 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT: Sum in MySQL Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 24 10:56:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 24 Nov 2005 08:56:35 -0800 Subject: [AccessD] error & structure: Please Help!! References: <200511241032.jAOAWpUh011022@mailhostC.plex.net> Message-ID: <4385F0C3.3000901@shaw.ca> No your ISP is using a database from the SORBS organization Spam and Open Relay Blocking System to block email from certain ISP's if mail is sent from my ISP shaw.ca directly to plex.nl it is bounced. There are certain levels of blocking maybe your ISP is being very aggressive. For example my ISP lets some SPAM through but flags it so you can dump into a seperate folder and lets you decide what to do with it.. However my isp is on the list because of suspicions of running open relay mail servers more serious than just ordinary SPAM http://www.us.sorbs.net/ Pedro at plex.nl wrote: >Hello Marty, > >because the response on my question is send by accessd, i presume that this isn't blocked by my provider?? > >Pedro > > >In antwoord op: > > > >>From: MartyConnelly >>To: Access Developers discussion and problem solving >>Date: Wed, 23 Nov 2005 15:55:13 -0800 >>Subject: Re: [AccessD] error & structure: Please Help!! >> >> >>I just thought, I would let you know that email from my domain shaw.ca >>is being zombie blocked >>by your isp plex.nl . I don't know what other isp's it is blocking . >>This might explain your lack of response to your question >>Shaw is the second or third biggest ISP in Canada. If you would like >>your own gmail account to get around this >>I'll send you an invite. >> >>English explanation at bottom >>http://www.plex.nl/zombie/ >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 24 10:59:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 24 Nov 2005 08:59:04 -0800 Subject: [AccessD] Installing a retail Access app References: <000001c5f0b4$67f18c30$6701a8c0@Hewlett> Message-ID: <4385F158.3030808@shaw.ca> There are some articles at http://www.sagekey.com Joe Hecht wrote: >Thanks William, > >Guess I will spend Thanksgiving in the archives. > >Joe Hecht >jmhecht at earthlink.net >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >William Hindman >Sent: Wednesday, November 23, 2005 8:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Installing a retail Access app > >...I believe you will need the runtime distribution >licensing that comes >with the VS Tools for Office for the common case where the >customer does not >have Access pre-installed. > >...the install packager that comes with the VSTFO is >adequate only for >controlled local installs ...for the siuation you describe >you will need the >Wise/Sage combo. > >...if you are talking about installing on a non-Win network >like Novell or >Unix then there a number of posts in the archives, >particularly from Gustav, >that will be of considerable help. > >William > >----- Original Message ----- >From: "Joe Hecht" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:36 PM >Subject: [AccessD] Installing a retail Access app > > > > >>My client may want to sell the application I am working on >>for him. >> >> >> >>It would be split and an .mde. I admit I will likely be >>stealing ( ummmm borrowing from JC). >> >> >> >>Some questions: >> >>1. How do you design for an installation where you do >>not know the target network? >>2. Currently I am working with A2K3. No VS. How do I >>select an install package? >>3. What other design things should I be waiting to bite >>me? >> >> >> >>Thanks, >> >> >> >>Joe Hecht >> >>jmhecht at earthlink.net >> >> >> >>-- >>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 Gustav at cactus.dk Thu Nov 24 11:13:58 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 18:13:58 +0100 Subject: [AccessD] OT: Sum in MySQL Message-ID: Hi Paul None of those work for me. Several admin tools are available. I use "MySQL Control Center" by "MySQL & Jorge del Conde". Should be a free download. /gustav >>> paul.hartland at isharp.co.uk 24-11-2005 16:07 >>> Not sure about MYSQL, but off the top of my head I think I would use something like the following in SQL Server SELECT SUM(CAST([FieldInteger] AS Float)) FROM tblTable Or possibly SELECT SUM(CONVERT(Float, [FieldInteger])) FROM tblTable If it works, let me know as I want to start getting into MYSQL....In fact if anyone knows if and where a good front-end for MYSQL exists (hopefully similar to Enterprise Manager) then could you let me know. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 24 November 2005 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT: Sum in MySQL Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav From john at winhaven.net Thu Nov 24 12:28:18 2005 From: john at winhaven.net (John Bartow) Date: Thu, 24 Nov 2005 12:28:18 -0600 Subject: [AccessD] Installing a retail Access app In-Reply-To: <4385F158.3030808@shaw.ca> Message-ID: <014201c5f124$d7ca4040$7301a8c0@ScuzzPaq> IMO the best source for distributing stand alone Access apps. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 24, 2005 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app There are some articles at http://www.sagekey.com Joe Hecht wrote: >Thanks William, > >Guess I will spend Thanksgiving in the archives. > >Joe Hecht >jmhecht at earthlink.net >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >Hindman >Sent: Wednesday, November 23, 2005 8:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Installing a retail Access app > >...I believe you will need the runtime distribution licensing that >comes with the VS Tools for Office for the common case where the >customer does not have Access pre-installed. > >...the install packager that comes with the VSTFO is adequate only for >controlled local installs ...for the siuation you describe you will >need the Wise/Sage combo. > >...if you are talking about installing on a non-Win network like Novell >or Unix then there a number of posts in the archives, particularly from >Gustav, that will be of considerable help. > >William > >----- Original Message ----- >From: "Joe Hecht" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:36 PM >Subject: [AccessD] Installing a retail Access app > > > > >>My client may want to sell the application I am working on for him. >> >> >> >>It would be split and an .mde. I admit I will likely be stealing ( >>ummmm borrowing from JC). >> >> >> >>Some questions: >> >>1. How do you design for an installation where you do not know the >>target network? >>2. Currently I am working with A2K3. No VS. How do I select an install >>package? >>3. What other design things should I be waiting to bite me? >> >> >> >>Thanks, >> >> >> >>Joe Hecht >> >>jmhecht at earthlink.net >> >> >> >>-- >>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 jmhecht at earthlink.net Thu Nov 24 14:59:19 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 24 Nov 2005 12:59:19 -0800 Subject: [AccessD] Installing a retail Access app In-Reply-To: <4385F158.3030808@shaw.ca> Message-ID: <000f01c5f139$f10147b0$6701a8c0@Hewlett> Marty, Any idea how to get at the knowledgebase if you do not own the product. Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 24, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app There are some articles at http://www.sagekey.com From pedro at plex.nl Thu Nov 24 16:25:42 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 24 Nov 2005 23:25:42 +0100 Subject: [AccessD] error & structure: Please Help!! References: <200511241032.jAOAWpUh011022@mailhostC.plex.net> <4385F0C3.3000901@shaw.ca> Message-ID: <002401c5f146$06980d00$4001a8c0@laptop> Hello Marty, Ok when it is directly send to plex, then the messages can be blocked, but i presume that most of the messages on that question wouls arrive through accessd. Pedro ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, November 24, 2005 5:56 PM Subject: Re: [AccessD] error & structure: Please Help!! > No your ISP is using a database from the SORBS organization > Spam and Open Relay Blocking System to block email from certain ISP's > if mail is sent from my ISP shaw.ca directly to plex.nl it is bounced. > There are certain levels of blocking maybe your ISP is being very > aggressive. > For example my ISP lets some SPAM through but flags it so you can dump > into > a seperate folder and lets you decide what to do with it.. > However my isp is on the list because of suspicions of running open > relay mail servers > more serious than just ordinary SPAM > > http://www.us.sorbs.net/ > > Pedro at plex.nl wrote: > >>Hello Marty, >> >>because the response on my question is send by accessd, i presume that >>this isn't blocked by my provider?? >> >>Pedro >> >> >>In antwoord op: >> >> >> >>>From: MartyConnelly >>>To: Access Developers discussion and problem solving >>>Date: Wed, 23 Nov 2005 15:55:13 -0800 >>>Subject: Re: [AccessD] error & structure: Please Help!! >>> >>> >>>I just thought, I would let you know that email from my domain shaw.ca >>>is being zombie blocked >>>by your isp plex.nl . I don't know what other isp's it is blocking . >>>This might explain your lack of response to your question >>>Shaw is the second or third biggest ISP in Canada. If you would like >>>your own gmail account to get around this >>>I'll send you an invite. >>> >>>English explanation at bottom >>>http://www.plex.nl/zombie/ >>> >>> >>> >>> >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Nov 24 16:29:55 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 24 Nov 2005 23:29:55 +0100 Subject: [AccessD] error & structure: Please Help!! References: <200511241036.jAOAalx1011136@mailhostC.plex.net> Message-ID: <002f01c5f146$9b347c00$4001a8c0@laptop> Hello Jim and Marty, i have forgotten to tell something. You both think that this error occurs by network or closing problems. Why do we never have problems with other databases, who share the same network. I still think that it lies in the database structure. Pedro Janssen ----- Original Message ----- From: To: Sent: Thursday, November 24, 2005 11:36 AM Subject: Re: [AccessD] error & structure: Please Help!! > Hello Jim And Marty, > > thanks for the tips. > > I will check this out. > > Pedro Janssen > > > > In antwoord op: > >> From: MartyConnelly >> To: Access Developers discussion and problem solving >> Date: Wed, 23 Nov 2005 17:43:16 -0800 >> Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> You can force out Idle Users and also a similar method with a timer and >> hidden form and a small field in a table >> can be used to force everyone out with a 5 minute warning >> >> Candace Tripp has an example mdb "Detect and Logoff Idle Users" >> http://www.candace-tripp.com/pages/access_downloads.aspx >> >> >> HOW TO: Detect User Idle Time or Inactivity in Access 2000 >> http://support.microsoft.com/?id=210297 >> >> use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the >> Knowledge Base article), >> and do not display a message box as shown in the article, since >> message boxes are modal and this would defeat any attempt to close: >> >> Sub IdleTimeDetected(sngExpiredMinutes) >> 'Dim strMessage As String >> 'strMessage = "No user activity detected in the last" & vbCrLf >> 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" >> 'MsgBox strMessage, vbInformation, "No Sign of Activity!" >> Application.Quit acSaveYes >> End Sub >> >> >> Jim Lawrence wrote: >> >> >Hi Pedro: >> > >> >One thing you can do is when you get the BE recovered. Check to see how >> >database is being used. Some of the problems that I had were: >> > >> >1. Some users never logged off and just left everything running.... >> >result >> >in extra exposure and halted backups. >> >2. One user simply used the off and on button when ending for the day. >> >3. One of the local IT guys would re-boot the server without getting >> >everyone logged off. >> > >> >I am not suggesting that these are the issues at your site but a similar >> >set >> >of problems that that physically affect database I/O would continuously >> >corrupt your BE. >> > >> >HTH >> >Jim >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Thu Nov 24 16:37:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 24 Nov 2005 14:37:38 -0800 Subject: [AccessD] VS for Office and Access Extensions Message-ID: <001501c5f147$ac9ba260$6701a8c0@Hewlett> I am looking at selling an application I am working on. Been poking around the Microsoft site. What does VS office offer vs. Access extensions. Thanks Joe Hecht jmhecht at earthlink.net From accessd at shaw.ca Thu Nov 24 17:33:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 24 Nov 2005 15:33:58 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <002f01c5f146$9b347c00$4001a8c0@laptop> Message-ID: <002b01c5f14f$8b32cd80$017ba8c0@xpserver> ...or who is using it, Pedro. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 24, 2005 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hello Jim and Marty, i have forgotten to tell something. You both think that this error occurs by network or closing problems. Why do we never have problems with other databases, who share the same network. I still think that it lies in the database structure. Pedro Janssen ----- Original Message ----- From: To: Sent: Thursday, November 24, 2005 11:36 AM Subject: Re: [AccessD] error & structure: Please Help!! > Hello Jim And Marty, > > thanks for the tips. > > I will check this out. > > Pedro Janssen > > > > In antwoord op: > >> From: MartyConnelly >> To: Access Developers discussion and problem solving >> Date: Wed, 23 Nov 2005 17:43:16 -0800 >> Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> You can force out Idle Users and also a similar method with a timer and >> hidden form and a small field in a table >> can be used to force everyone out with a 5 minute warning >> >> Candace Tripp has an example mdb "Detect and Logoff Idle Users" >> http://www.candace-tripp.com/pages/access_downloads.aspx >> >> >> HOW TO: Detect User Idle Time or Inactivity in Access 2000 >> http://support.microsoft.com/?id=210297 >> >> use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the >> Knowledge Base article), >> and do not display a message box as shown in the article, since >> message boxes are modal and this would defeat any attempt to close: >> >> Sub IdleTimeDetected(sngExpiredMinutes) >> 'Dim strMessage As String >> 'strMessage = "No user activity detected in the last" & vbCrLf >> 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" >> 'MsgBox strMessage, vbInformation, "No Sign of Activity!" >> Application.Quit acSaveYes >> End Sub >> >> >> Jim Lawrence wrote: >> >> >Hi Pedro: >> > >> >One thing you can do is when you get the BE recovered. Check to see how >> >database is being used. Some of the problems that I had were: >> > >> >1. Some users never logged off and just left everything running.... >> >result >> >in extra exposure and halted backups. >> >2. One user simply used the off and on button when ending for the day. >> >3. One of the local IT guys would re-boot the server without getting >> >everyone logged off. >> > >> >I am not suggesting that these are the issues at your site but a similar >> >set >> >of problems that that physically affect database I/O would continuously >> >corrupt your BE. >> > >> >HTH >> >Jim >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Thu Nov 24 21:30:27 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 13:30:27 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <002b01c5f14f$8b32cd80$017ba8c0@xpserver> Message-ID: <000d01c5f170$9462c7e0$fa10a8c0@Albatross> Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge From Bruce.Bruen at railcorp.nsw.gov.au Thu Nov 24 21:37:42 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 25 Nov 2005 14:37:42 +1100 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> If you declare it in both modules then you will have two variables! Decalre it in the main and reference it in the sub --- without thinking me.parent.report.somethingorother.pbooletc Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Friday, 25 November 2005 2:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Public Variables - Scope and Lifetime Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From pcs at azizaz.com Thu Nov 24 22:01:12 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 14:01:12 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> Message-ID: <001b01c5f174$e06d7fa0$fa10a8c0@Albatross> I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Nov 24 23:53:05 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 25 Nov 2005 00:53:05 -0500 Subject: [AccessD] VS for Office and Access Extensions References: <001501c5f147$ac9ba260$6701a8c0@Hewlett> Message-ID: <000401c5f184$817b3680$6101a8c0@JISREGISTRATION.local> ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 24, 2005 5:37 PM Subject: [AccessD] VS for Office and Access Extensions >I am looking at selling an application I am working on. > > > > Been poking around the Microsoft site. What does VS office > offer vs. Access extensions. > > > > Thanks > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs at azizaz.com Fri Nov 25 00:30:39 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 16:30:39 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> Message-ID: <002b01c5f189$c1230b00$fa10a8c0@Albatross> Finally reverted to the old, tried and tested frmSystem hidden form! As I walk the formatting of the main form and the two major subforms each having three subforms, by referencing / setting value of a 'flag' text control on the hidden frmSystem I can control the formatting and printing of the pageheader. (final output of report is saved as RTF file and further formatted in Word; found that a repeating groupheader label totally messes up the RTF file format, sometimes the groupheader appears in the middle of the page in between the rows of data, whereas according to the 'book' a repeating groupheader label should appear on top of the page.... not so; hence the need for formatting and controlling the printing of the pageheader depending on where in the report we are....) But, what am I missing for achieving the same using a global/public variable? ...hmmm maybe it's not a public variable that is needed but an object type of thing? ... perhaps a framework? ;) /borge ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 25 10:16:58 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Nov 2005 10:16:58 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <19551780.1132900530264.JavaMail.root@sniper22> Message-ID: <000801c5f1db$a970c900$0200a8c0@danwaters> Borge, Have you tried declaring a Public variable at the top of a standard module? With this type of variable, it is always in scope and it always keeps its value. However, be very careful with this if you use that variable in multiple places in your database. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Friday, November 25, 2005 12:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime Finally reverted to the old, tried and tested frmSystem hidden form! As I walk the formatting of the main form and the two major subforms each having three subforms, by referencing / setting value of a 'flag' text control on the hidden frmSystem I can control the formatting and printing of the pageheader. (final output of report is saved as RTF file and further formatted in Word; found that a repeating groupheader label totally messes up the RTF file format, sometimes the groupheader appears in the middle of the page in between the rows of data, whereas according to the 'book' a repeating groupheader label should appear on top of the page.... not so; hence the need for formatting and controlling the printing of the pageheader depending on where in the report we are....) But, what am I missing for achieving the same using a global/public variable? ...hmmm maybe it's not a public variable that is needed but an object type of thing? ... perhaps a framework? ;) /borge ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 25 11:27:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 25 Nov 2005 11:27:40 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A2@main2.marlow.com> The code page behind a form or a report is a class module, not a standard module. The Public statement in a class module creates a property for that class. (instant Get and Let basically). The reason the 'value' isn't going to be shared between the two, is because the property is unique on the Report, and the sub report, so changing or setting it in one doesn't affect the other. What you need is to put your Global variables into a standard module. If I am going to use Global Variables in a project, I will create a module called modGlobalVariables, and declare all of my Global variables in there. Drew -----Original Message----- From: Borge Hansen [SMTP:pcs at azizaz.com] Sent: Thursday, November 24, 2005 9:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Public Variables - Scope and Lifetime Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Nov 25 12:29:37 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 25 Nov 2005 13:29:37 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F8E@gbsserver.GBS.local> This is how I do it on forms.... create Properties Main form Module Level Variable (Top of form) Private m_bPrintPageHeader As Boolean Create Properties Public Property Get PrintPageHeader() As Boolean PrintPageHeader= m_bPrintPageHeader End Property Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property You can then access this information from the subform as such With Me.Parent If .PrintPageHeader = true then 'Do something End If Keep in mind the order in which the forms load... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, November 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) SNIP From iggy at nanaimo.ark.com Fri Nov 25 12:43:46 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Fri, 25 Nov 2005 10:43:46 -0800 Subject: [AccessD] Converting Access97 to 2000 to XP Message-ID: <43875B62.1050608@nanaimo.ark.com> Hey All Just a quick, probably dumb question. Are there major differences between Access2000 and AccessXP. I have converted an Access97.mdb application to Access2000 and everything runs/works fine. Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. My other option at this time is just to create a standalone self installing version of the Access97 program. Thanks From artful at rogers.com Fri Nov 25 13:47:18 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 25 Nov 2005 14:47:18 -0500 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: Message-ID: <200511251947.jAPJlLJ16009@databaseadvisors.com> I have scouted the archives and didn't find what I need, so I will risk your accusations that I don't know how to search efficiently, and ask the question.... I am working on an inherited app one of whose tables contains StartTime, StopTime and TravelTime, all of which are defined as datetime fields. The first two definitions I can live with; the last I deem idiotic. Q1: It has so far never occurred that StopTime occurs on the day following StartTime, so given the current data this is a mere subtraction. But I am unsure how to do it. What I wish to store is the number of minutes between StartTime and StopTime (and even better if the formula can anticipate that StopDay is > StartDay -- even though this has never happened). It seems to me that TravelTime should not be a DateTime field but rather an integer equivalent to the number of minutes. Thus, SubTotal on the given line equals StopTime - StartTime (expressed as minutes) + TravelTime (integer). So SubTotal (a concept if not an actual field) is expressed in minutes, which in turn are divided by BillingRate (expressed in hours, with a floor; i.e. minimum time = x hours, anything less gets bumped up to x; IOW, client bills for 4 hours (half a day) minimum. I can figure out these details once I have an accurate method of determining the number of minutes between Start and Stop. (There may be additional wrinkles, such as those imposed by cell-phone companies wherein the charge is per minute not per second, but that is trivial once I have the basics in place.) Q2: In the inherited app, travel time is recorded as a DateTime field. Bummer! Yeah, well, that is one reason among several why they called me in. So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes of travel time are to be added to the Subtotal. Thus another question: how to efficiently derive an integer of 30 from the datetime value 12:30am. I suppose I can grab the minutes portion; I am just asking if anyone can see any glaring errors in this assumption. (I know how to do this in SQL but I don't know how to do it in Access.) TIA, Arthur From robert at servicexp.com Fri Nov 25 14:22:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 25 Nov 2005 15:22:25 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F8F@gbsserver.GBS.local> Oops, you would need to of course close the property let ..... Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property End Property Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Friday, November 25, 2005 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime This is how I do it on forms.... create Properties Main form Module Level Variable (Top of form) Private m_bPrintPageHeader As Boolean Create Properties Public Property Get PrintPageHeader() As Boolean PrintPageHeader= m_bPrintPageHeader End Property Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property You can then access this information from the subform as such With Me.Parent If .PrintPageHeader = true then 'Do something End If Keep in mind the order in which the forms load... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, November 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) SNIP -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Nov 25 14:58:33 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 25 Nov 2005 14:58:33 -0600 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: <200511251947.jAPJlLJ16009@databaseadvisors.com> References: <200511251947.jAPJlLJ16009@databaseadvisors.com> Message-ID: Hi Arthur, I agree with your position on the use of a date/time field for the travel time. Date/time fields are made for points in time, not quantities of time. The statement to use to determine the difference between two date time fields is DATEDIFF. Unfortunately it doesn't seem to be in the HELP files anymore, but it still seems to work. You can get info on it here; http://www.techonthenet.com/access/functions/date/datediff.php Basically you would have a statement like this in a query.... TravelTime: DateDiff("n",[EndTime],[StartTime]) The "n" there means to return Minutes from the function. (M means MONTHS. See the list in that link for all the different operators you could use. You could also use the datediff function to solve your second question by calculating the difference in minutes between the old date/time based travel time field and the date stored in that field without the time which you can get with the DATEVALUE statement. So something like datediff("n",[TravelTime],datevalue([TravelTime]) would give you the number of minutes in travel time. Assuming I don't have the operands reversed which I have been known to do. DateValue used to be included in the help files too but I cannot find it now. Why I keep the A97 help files on my work system. Good luck straightening it out. Gary On 11/25/05, Arthur Fuller wrote: > I have scouted the archives and didn't find what I need, so I will risk your > accusations that I don't know how to search efficiently, and ask the > question.... > I am working on an inherited app one of whose tables contains StartTime, > StopTime and TravelTime, all of which are defined as datetime fields. The > first two definitions I can live with; the last I deem idiotic. > Q1: It has so far never occurred that StopTime occurs on the day following > StartTime, so given the current data this is a mere subtraction. But I am > unsure how to do it. What I wish to store is the number of minutes between > StartTime and StopTime (and even better if the formula can anticipate that > StopDay is > StartDay -- even though this has never happened). > It seems to me that TravelTime should not be a DateTime field but rather an > integer equivalent to the number of minutes. Thus, SubTotal on the given > line equals StopTime - StartTime (expressed as minutes) + TravelTime > (integer). So SubTotal (a concept if not an actual field) is expressed in > minutes, which in turn are divided by BillingRate (expressed in hours, with > a floor; i.e. minimum time = x hours, anything less gets bumped up to x; > IOW, client bills for 4 hours (half a day) minimum. > I can figure out these details once I have an accurate method of determining > the number of minutes between Start and Stop. (There may be additional > wrinkles, such as those imposed by cell-phone companies wherein the charge > is per minute not per second, but that is trivial once I have the basics in > place.) > Q2: In the inherited app, travel time is recorded as a DateTime field. > Bummer! Yeah, well, that is one reason among several why they called me in. > So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes > of travel time are to be added to the Subtotal. > Thus another question: how to efficiently derive an integer of 30 from the > datetime value 12:30am. I suppose I can grab the minutes portion; I am just > asking if anyone can see any glaring errors in this assumption. (I know how > to do this in SQL but I don't know how to do it in Access.) > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Fri Nov 25 15:04:53 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 25 Nov 2005 15:04:53 -0600 Subject: [AccessD] Converting Access97 to 2000 to XP In-Reply-To: <43875B62.1050608@nanaimo.ark.com> References: <43875B62.1050608@nanaimo.ark.com> Message-ID: Hi Tony, I don't think there are any stop the presses differences. I'd guess he is having issues with references for DAO. Does the application do anything with recordsets in code?? The references for DAO need to be put above the ones for ADO or the recordset references need be explicitly made for DAO or anything with recordsets will not work. I have users using the same databases without conversion on Access 2000, Acess XP and Access 2003. In fact on my work system where I have Access 2000 I develop applications that the A2003 users use without issues. Check for missing references first. GK On 11/25/05, Tony Septav wrote: > Hey All > Just a quick, probably dumb question. > Are there major differences between Access2000 and AccessXP. > I have converted an Access97.mdb application to Access2000 and > everything runs/works fine. > Sent the Access97.mdb to a friend (not a programmer or developer) to > convert to AccessXP and he is getting major errors when trying to run > the program. > My other option at this time is just to create a standalone self > installing version of the Access97 program. > > Thanks > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jmhecht at earthlink.net Fri Nov 25 15:07:04 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Fri, 25 Nov 2005 13:07:04 -0800 Subject: [AccessD] VS for Office and Access Extensions In-Reply-To: <000401c5f184$817b3680$6101a8c0@JISREGISTRATION.local> Message-ID: <001201c5f204$3096b020$6701a8c0@Hewlett> William, What are the developer extensions and how should I plan to work them into my database as I do not currently own VS for Office? Thanks Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 24, 2005 9:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VS for Office and Access Extensions ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William From wdhindman at bellsouth.net Fri Nov 25 15:59:11 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 25 Nov 2005 16:59:11 -0500 Subject: [AccessD] VS for Office and Access Extensions References: <001201c5f204$3096b020$6701a8c0@Hewlett> Message-ID: <000701c5f20b$7811c640$6101a8c0@JISREGISTRATION.local> ...they're just the packager and a couple of developer wizards that I've never used ...I bought it for the runtime licence but the VB.NET is proving interesting ...but that's another list, eh. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 25, 2005 4:07 PM Subject: Re: [AccessD] VS for Office and Access Extensions > William, > > What are the developer extensions and how should I plan to > work them into my database as I do not currently own VS for > Office? > > Thanks > > Joe Hecht > jmhecht at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Thursday, November 24, 2005 9:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VS for Office and Access Extensions > > ...hhhmmm ...the Visual Studio Tools for the Microsoft > Office System > includes the Access 2003 Developer Extentions ...I don't > believe they are > available otherwise ...besides the packager, runtime > license, and a couple > of wizards, you get a copy of VB.NET and SQL Server 2000 > Developer Edition. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Nov 25 16:19:04 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Nov 2005 16:19:04 -0600 Subject: [AccessD] VS for Office and Access Extensions In-Reply-To: <12652055.1132953038024.JavaMail.root@sniper15> Message-ID: <000201c5f20e$3f1e4720$0200a8c0@danwaters> Joe, You can purchase Visual Studio Tools for Office separately. Go to: http://shopper.cnet.com/Microsoft_Visual_Studio_Tools_for_Office_2003_comple te_package/4014-8029_9-30599574.html It's about $290. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Friday, November 25, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VS for Office and Access Extensions William, What are the developer extensions and how should I plan to work them into my database as I do not currently own VS for Office? Thanks Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 24, 2005 9:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VS for Office and Access Extensions ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Nov 25 17:32:34 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 25 Nov 2005 18:32:34 -0500 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: Message-ID: <200511252332.jAPNWZJ11217@databaseadvisors.com> Thanks a million pesetas! I think your arguments were reversed, but one quick query that returned minus integers clarified that so I reversed them to: DateDiff("n",[StartTime],[StopTime]) Which produced the desired result -- the number of minutes between start and stop, expressed as a positive. A. P.S. It appears that this formula can also deal with StopTime.Date > StartTime.Date (loose syntax but I hope you get what I mean). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: November 25, 2005 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date-Time Durations yet again Hi Arthur, I agree with your position on the use of a date/time field for the travel time. Date/time fields are made for points in time, not quantities of time. The statement to use to determine the difference between two date time fields is DATEDIFF. Unfortunately it doesn't seem to be in the HELP files anymore, but it still seems to work. You can get info on it here; http://www.techonthenet.com/access/functions/date/datediff.php Basically you would have a statement like this in a query.... TravelTime: DateDiff("n",[EndTime],[StartTime]) The "n" there means to return Minutes from the function. (M means MONTHS. See the list in that link for all the different operators you could use. You could also use the datediff function to solve your second question by calculating the difference in minutes between the old date/time based travel time field and the date stored in that field without the time which you can get with the DATEVALUE statement. So something like datediff("n",[TravelTime],datevalue([TravelTime]) would give you the number of minutes in travel time. Assuming I don't have the operands reversed which I have been known to do. DateValue used to be included in the help files too but I cannot find it now. Why I keep the A97 help files on my work system. Good luck straightening it out. Gary On 11/25/05, Arthur Fuller wrote: > I have scouted the archives and didn't find what I need, so I will risk your > accusations that I don't know how to search efficiently, and ask the > question.... > I am working on an inherited app one of whose tables contains StartTime, > StopTime and TravelTime, all of which are defined as datetime fields. The > first two definitions I can live with; the last I deem idiotic. > Q1: It has so far never occurred that StopTime occurs on the day following > StartTime, so given the current data this is a mere subtraction. But I am > unsure how to do it. What I wish to store is the number of minutes between > StartTime and StopTime (and even better if the formula can anticipate that > StopDay is > StartDay -- even though this has never happened). > It seems to me that TravelTime should not be a DateTime field but rather an > integer equivalent to the number of minutes. Thus, SubTotal on the given > line equals StopTime - StartTime (expressed as minutes) + TravelTime > (integer). So SubTotal (a concept if not an actual field) is expressed in > minutes, which in turn are divided by BillingRate (expressed in hours, with > a floor; i.e. minimum time = x hours, anything less gets bumped up to x; > IOW, client bills for 4 hours (half a day) minimum. > I can figure out these details once I have an accurate method of determining > the number of minutes between Start and Stop. (There may be additional > wrinkles, such as those imposed by cell-phone companies wherein the charge > is per minute not per second, but that is trivial once I have the basics in > place.) > Q2: In the inherited app, travel time is recorded as a DateTime field. > Bummer! Yeah, well, that is one reason among several why they called me in. > So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes > of travel time are to be added to the Subtotal. > Thus another question: how to efficiently derive an integer of 30 from the > datetime value 12:30am. I suppose I can grab the minutes portion; I am just > asking if anyone can see any glaring errors in this assumption. (I know how > to do this in SQL but I don't know how to do it in Access.) > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Nov 26 03:38:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 10:38:28 +0100 Subject: [AccessD] Converting Access97 to 2000 to XP Message-ID: Hi Tony Why not send him your A2000 version? Should run as is. /gustav >>> iggy at nanaimo.ark.com 25-11-2005 19:43:46 >>> Hey All Just a quick, probably dumb question. Are there major differences between Access2000 and AccessXP. I have converted an Access97.mdb application to Access2000 and everything runs/works fine. Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. My other option at this time is just to create a standalone self installing version of the Access97 program. Thanks From artful at rogers.com Sat Nov 26 08:51:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 09:51:57 -0500 Subject: [AccessD] Column Formulae In-Reply-To: <001201c5f204$3096b020$6701a8c0@Hewlett> Message-ID: <200511261452.jAQEq4J02609@databaseadvisors.com> In SQL, I can create a calculated column; i.e. ExtendedAmount = 1 + TaxRate * (Quantity * Price). Can I store said result in an actual column in Access (MDB)? Aside from the fact that it's not a good idea to store calculations in columns, I am retrofitting an existing db so I have limited choices here. I have toyed with the default value attribute but so far have not had success when attempting to reference other columns in the table. So let me pose the question as simply as I can. Given these columns: Quantity int Price currency Extended currency Is there a way to make the value of Extended = Quantity * Price? I do not want to do this in the front end. I want to do this in the table definition. TIA, Arthur From artful at rogers.com Sat Nov 26 09:06:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 10:06:52 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <002b01c5f189$c1230b00$fa10a8c0@Albatross> Message-ID: <200511261506.jAQF6xJ06504@databaseadvisors.com> You could also try the static function approach. For simple things like preservation of a variable, I tend to prefer this over a class declaration, but I don't want to start a war on this subject. A static function is also known as a get/set function, which means that you can either set the value or obtain it. If you pass a value in, that sets it; if you don't, that obtains it. For example: '--------------------------------------------------------------------------- ------------ ' Procedure : CurrentX ' DateTime : 04/09/2003 ' Author : Arthur Fuller ' Purpose : ' : Copy this template each time you need a new set/get function ' : Then Replace "X" with the name of your object, i.e.,"Employee" ' : Replace all in current proc and you're done. '--------------------------------------------------------------------------- ------------ ' Static Function CurrentX(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentTimeBilledID_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If On Error GoTo 0 Exit Function CurrentTimeBilledID_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentX of Module CurrentValues" End Function Given this template, you call the function in two ways: 1. SET: CurrentX( 123 ) 2. GET: CurrentX() 'returns 123 -------------------------------- Others do things in other ways. I often see apps that reference a specific form's controls in their queries, record sources and report arguments. I never do this. Instead I write a query such as: SELECT * FROM Orders WHERE CustomerID = CurrentCustomerID() Then I use that query in the report or form in question. The function CurrentCustomerID() is a clone of the code above, with CustomerID substituting for X. Suppose I have a button on a Customer form that should display the current orders for the selected Customer. I create the query as above, then build the report on it. In the OnCurrent event of said Customer form, I write: CurrentCustomerID( Me.CustomerID ) I do it this way so that any button that invokes any process (related form, report, query, whatever) knows the value of CurrentCustomerID(). An additional benefit of this approach is that all these components do not depend on some form being open and its values set. Instead I can go into the debug window, for example, set the value of CurrentCustomerID() and then run any query or report I want. This appeals to me. HTH, Arthur From Gustav at cactus.dk Sat Nov 26 09:11:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 16:11:19 +0100 Subject: [AccessD] Column Formulae Message-ID: Hi Arthur I don't think you have any other option than using a query which includes your calculated field. Whenever you need data from that table use the query as source. /gustav >>> artful at rogers.com 26-11-2005 15:51:57 >>> In SQL, I can create a calculated column; i.e. ExtendedAmount = 1 + TaxRate * (Quantity * Price). Can I store said result in an actual column in Access (MDB)? Aside from the fact that it's not a good idea to store calculations in columns, I am retrofitting an existing db so I have limited choices here. I have toyed with the default value attribute but so far have not had success when attempting to reference other columns in the table. So let me pose the question as simply as I can. Given these columns: Quantity int Price currency Extended currency Is there a way to make the value of Extended = Quantity * Price? I do not want to do this in the front end. I want to do this in the table definition. TIA, Arthur From martyconnelly at shaw.ca Sat Nov 26 10:45:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 26 Nov 2005 08:45:23 -0800 Subject: [AccessD] Converting Access97 to 2000 to XP References: Message-ID: <43889123.9040708@shaw.ca> You may still have a reference pointing to DAO 3.51 from 97 whereas his machine only has DAO 3.6 Sending him the working 2000 program after checking this reference in 2000 should get around any problems like this He should be able to run the 2000 program without any conversion unless he wants to take advantage of new methods added in XP like the printer object. Gustav Brock wrote: >Hi Tony > >Why not send him your A2000 version? Should run as is. > >/gustav > > > >>>>iggy at nanaimo.ark.com 25-11-2005 19:43:46 >>> >>>> >>>> >Hey All >Just a quick, probably dumb question. >Are there major differences between Access2000 and AccessXP. >I have converted an Access97.mdb application to Access2000 and everything runs/works fine. >Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. >My other option at this time is just to create a standalone self installing version of the Access97 program. > >Thanks > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Nov 26 10:50:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 26 Nov 2005 08:50:53 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime References: <000801c5f1db$a970c900$0200a8c0@danwaters> Message-ID: <4388926D.5030804@shaw.ca> If you go into Debug mode with global variables. They maybe reset or lose their values.. Dan Waters wrote: >Borge, > >Have you tried declaring a Public variable at the top of a standard module? > > >With this type of variable, it is always in scope and it always keeps its >value. > >However, be very careful with this if you use that variable in multiple >places in your database. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >Sent: Friday, November 25, 2005 12:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > >Finally reverted to the old, tried and tested frmSystem hidden form! >As I walk the formatting of the main form and the two major subforms each >having >three subforms, by referencing / setting value of a 'flag' text control on >the >hidden frmSystem I can control the formatting and printing of the >pageheader. >(final output of report is saved as RTF file and further formatted in Word; >found that a repeating groupheader label totally messes up the RTF file >format, >sometimes the groupheader appears in the middle of the page in between the >rows >of data, whereas according to the 'book' a repeating groupheader label >should >appear on top of the page.... not so; hence the need for formatting and >controlling the printing of the pageheader depending on where in the report >we >are....) > >But, what am I missing for achieving the same using a global/public >variable? > >...hmmm maybe it's not a public variable that is needed but an object type >of >thing? > >... perhaps a framework? > >;) > >/borge > >----- Original Message ----- >From: "Bruen, Bruce" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 25, 2005 1:37 PM >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > > > >>If you declare it in both modules then you will have two variables! >> >>Decalre it in the main and reference it in the sub --- without thinking >>me.parent.report.somethingorother.pbooletc >> >>Hth >>bruce >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >>Sent: Friday, 25 November 2005 2:30 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Public Variables - Scope and Lifetime >> >>Hi all, >>Please help me here, I am going nuts! >> >>How do I keep the value of a public variable between a Main Report class >>module and Sub Report class module >> >>In the main report class module I have declared the variable: >> >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >>And Similar in the sub report class module: >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >> >>I just want a variable I can control the value of. When running the >>report it switches between the subreport and the mainreport..... >> >>regards >>/borge >> >> >>-- >> -- Marty Connelly Victoria, B.C. Canada From iggy at nanaimo.ark.com Sat Nov 26 11:23:15 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Nov 2005 09:23:15 -0800 Subject: [AccessD] Converting Message-ID: <43889A03.4040008@nanaimo.ark.com> Hey Gary, Gustav and Marty Thank you for your responses. I used the converted Access2000 version and made sure all the Database and Recordet references were prefixed with DAO and sent him both an mdb and mde version and everything seems to be working fine. I am correct in my assumption that with Access versions later than 97, one would use DAO on a small applications (a few users) or when speed is required and ADO for server systems and SQL backends. From DWUTKA at marlow.com Sat Nov 26 12:42:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 12:42:23 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. Dan Waters wrote: >Borge, > >Have you tried declaring a Public variable at the top of a standard module? > > >With this type of variable, it is always in scope and it always keeps its >value. > >However, be very careful with this if you use that variable in multiple >places in your database. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >Sent: Friday, November 25, 2005 12:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > >Finally reverted to the old, tried and tested frmSystem hidden form! >As I walk the formatting of the main form and the two major subforms each >having >three subforms, by referencing / setting value of a 'flag' text control on >the >hidden frmSystem I can control the formatting and printing of the >pageheader. >(final output of report is saved as RTF file and further formatted in Word; >found that a repeating groupheader label totally messes up the RTF file >format, >sometimes the groupheader appears in the middle of the page in between the >rows >of data, whereas according to the 'book' a repeating groupheader label >should >appear on top of the page.... not so; hence the need for formatting and >controlling the printing of the pageheader depending on where in the report >we >are....) > >But, what am I missing for achieving the same using a global/public >variable? > >...hmmm maybe it's not a public variable that is needed but an object type >of >thing? > >... perhaps a framework? > >;) > >/borge > >----- Original Message ----- >From: "Bruen, Bruce" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 25, 2005 1:37 PM >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > > > >>If you declare it in both modules then you will have two variables! >> >>Decalre it in the main and reference it in the sub --- without thinking >>me.parent.report.somethingorother.pbooletc >> >>Hth >>bruce >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >>Sent: Friday, 25 November 2005 2:30 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Public Variables - Scope and Lifetime >> >>Hi all, >>Please help me here, I am going nuts! >> >>How do I keep the value of a public variable between a Main Report class >>module and Sub Report class module >> >>In the main report class module I have declared the variable: >> >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >>And Similar in the sub report class module: >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >> >>I just want a variable I can control the value of. When running the >>report it switches between the subreport and the mainreport..... >> >>regards >>/borge >> >> >>-- >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Nov 26 13:00:47 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 20:00:47 +0100 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: Hi Drew That's right, but perhaps you should mention that you _stop_ the code by the command END. Command STOP only pauses it ... /gustav >>> DWUTKA at marlow.com 26-11-2005 19:42:23 >>> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. From artful at rogers.com Sat Nov 26 15:46:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 16:46:24 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Message-ID: <200511262146.jAQLkQJ01968@databaseadvisors.com> Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew From stuart at lexacorp.com.pg Sat Nov 26 18:47:58 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 27 Nov 2005 10:47:58 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <200511262146.jAQLkQJ01968@databaseadvisors.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Message-ID: <43898EDE.16841.17929AD3@stuart.lexacorp.com.pg> On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest End Function -- Stuart From artful at rogers.com Sat Nov 26 21:41:26 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 22:41:26 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <43898EDE.16841.17929AD3@stuart.lexacorp.com.pg> Message-ID: <200511270341.jAR3fOJ05680@databaseadvisors.com> Okay... Since I never use globals, I decided to write a tester to verify your assertion. Option Compare Database Option Explicit Global gstrTest As String Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop Call Proc1 MsgBox gstrTest Call Proc2 End Function Private Sub Proc1() MsgBox gstrTest, vbOKOnly, "Proc1" Stop End Sub Private Sub Proc2() MsgBox gstrTest, vbOKOnly, "Proc2" Stop End Sub Which leads me to wonder what Drew meant in the foregoing message: "Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared." Just to make sure, at each STOP statement, I went into the Debug window and entered "Debug.Print gstrTest" and obtained the expected result. So in this respect, it would appear that globals and statics are equivalent. So then what was Drew getting at? I could easily be missing the point; it certainly wouldn't be the first time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: November 26, 2005 7:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest End Function -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:27:19 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:27:19 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A5@main2.marlow.com> Or pressing the stop button. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Saturday, November 26, 2005 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Hi Drew That's right, but perhaps you should mention that you _stop_ the code by the command END. Command STOP only pauses it ... /gustav >>> DWUTKA at marlow.com 26-11-2005 19:42:23 >>> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:32:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:32:18 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A6@main2.marlow.com> Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:36:49 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:36:49 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A7@main2.marlow.com> End. I wasn't referring to the stop statement, but actually stopping the execution of your code. When Access is running, your code is 'running'. The best way to give an example of this, is if you run VB 6. Pressing the 'play' button in VB6, runs your code in debug mode. Startup processes run (first form loads, or Sub Main() runs). If you press the stop button (the square button), or run into an END statement, your entire project unloads. Forms close/shutdown, variables clear, memory is returned to the system, etc. Access doesn't close your forms. It doesn't do this, because with Access you are running two processes, one is the code, one is the .mdb in the Access window. If the code is stopped (execution ended), all variables are reset, and memory is returned to the system. However, the Access project is not unloaded. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 9:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Okay... Since I never use globals, I decided to write a tester to verify your assertion. Option Compare Database Option Explicit Global gstrTest As String Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop Call Proc1 MsgBox gstrTest Call Proc2 End Function Private Sub Proc1() MsgBox gstrTest, vbOKOnly, "Proc1" Stop End Sub Private Sub Proc2() MsgBox gstrTest, vbOKOnly, "Proc2" Stop End Sub Which leads me to wonder what Drew meant in the foregoing message: "Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared." Just to make sure, at each STOP statement, I went into the Debug window and entered "Debug.Print gstrTest" and obtained the expected result. So in this respect, it would appear that globals and statics are equivalent. So then what was Drew getting at? I could easily be missing the point; it certainly wouldn't be the first time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: November 26, 2005 7:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest 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 martyconnelly at shaw.ca Sun Nov 27 11:38:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 27 Nov 2005 09:38:22 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime References: <17724746D360394AA3BFE5B8D40A9C1BD1A6@main2.marlow.com> Message-ID: <4389EF0E.8070106@shaw.ca> Actually it resets the value of a data type to it's default value A Long would be reset to 0 A Date would be reset to 31/12/1899 12:00:00 AM Try it with an Err.Raise=13 Then after running check global value in debug window DWUTKA at marlow.com wrote: >Change the stop to an End. Stop only 'pauses' the code, it doesn't stop >it's execution. End clears the value, just as it would with a global >variable. > >Drew > > -----Original Message----- > From: Arthur Fuller [SMTP:artful at rogers.com] > Sent: Saturday, November 26, 2005 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > Your reply made me decide to test static functions against a STOP, >which I > have never done before. > Turns out that static values are preserved despite a STOP. Code >follows. > Place this in a new module: > > Static Function CurrentValue(Optional lngNew As Long) As Long > > Dim lngCurrent As Long > On Error GoTo CurrentValue_Error > > If lngNew <> 0 Then lngCurrent = lngNew > CurrentValue = lngCurrent > #If conDebug = 1 Then > Debug.Print "Current Value: ", CurrentValue > #End If > > On Error GoTo 0 > Exit Function > > CurrentValue_Error: > MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & >vbCrLf & _ > "in procedure CurrentValue of Module CurrentValues" > > End Function > Place this in a new module: > > Option Compare Database > Option Explicit > > Sub TestPersistence() > CurrentValue (123) > MsgBox "Current value is: " & CurrentValue(), vbInformation + >vbOKOnly, > "Test Persistence of Static Values" > Stop > MsgBox "Current value is: " & CurrentValue() > End Sub > > Compile, then run the sub above. At the STOP, hit F5 to continue. >The moral > of the story is that if you want values to persist beyond a STOP, >use static > functions. > Arthur > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >DWUTKA at marlow.com > Sent: November 26, 2005 1:42 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > Ugh....not this again! LOL. Marty, that is not what happens. If >you STOP > your code, then everything gets reset. That does include your >global > variables. It's not a maybe, and they don't 'lose' their values, >the code > is stopped. It is just like stopping an .exe, all values in memory >are > cleared. The difference is, with Access, that the Access Shell >didn't stop, > and as soon as you do something requiring code, Access starts it all >up > again, and so your Globals will be reset. > It's not a wishy washy thing, it is just how the code works. > Drew > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Mon Nov 28 08:49:08 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 28 Nov 2005 08:49:08 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD874@corp-es01.fleetpride.com> In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Mon Nov 28 13:05:33 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 13:05:33 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1B5@main2.marlow.com> No. Handled errors do not clear global variables. Unhandled errors where the user clicks 'end' will clear ALL variables. Drew -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Monday, November 28, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 28 13:28:17 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 28 Nov 2005 11:28:17 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1B5@main2.marlow.com> Message-ID: <006301c5f451$e26d7640$017ba8c0@xpserver> Agreed... My two cents worth says every function or class should manage their errors; macros should not be used (very very rarely) then only a hard down can stop the application. At that point the loss of global variables is moot. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 28, 2005 11:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime No. Handled errors do not clear global variables. Unhandled errors where the user clicks 'end' will clear ALL variables. Drew -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Monday, November 28, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathrynatgwens at socal.rr.com Mon Nov 28 14:23:43 2005 From: kathrynatgwens at socal.rr.com (KathrynAtGwens) Date: Mon, 28 Nov 2005 12:23:43 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: Message-ID: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Gwen just got a new laptop and I'm installing all her programs, including MS Office 2003 pro. She has one .mdb that she used all the time and the file itself resides on the server. When accessing from the desktop, it opens just fine. But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? If I click on no, then it says "This file may not be safe if it contains code that was intended tohard your computer. Do you want to open this file or cancel the operation?" So, what option needs to be changed so I don't get that warning. I'm assuming it's something that needs changing since both computers are using same version and opening the same file. -- Kathryn Bassett (at work address) kathrynatgwens at socal.rr.com kathryn at bassett.net (home) From john at winhaven.net Mon Nov 28 14:42:40 2005 From: john at winhaven.net (John Bartow) Date: Mon, 28 Nov 2005 14:42:40 -0600 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Message-ID: <010701c5f45c$46d7e610$7a01a8c0@ScuzzPaq> Hi Kathryn, It's the irritating new security feature MS put in A2k3. Turn it off by clicking: Tools | Macro | Security | set to Low HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of KathrynAtGwens But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? So, what option needs to be changed so I don't get that warning. From papparuff at comcast.net Mon Nov 28 15:00:19 2005 From: papparuff at comcast.net (John Ruff) Date: Mon, 28 Nov 2005 13:00:19 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Message-ID: <002601c5f45e$bf01b330$6501a8c0@DDMJWX41> You need to change the Security Setting for Access (and Word and Excel) if you don't want to get this warning anymore. 1. Open any Access database. 2. From the Top-Line Menu, select Tools > Macro > Security 3. Change the Security Level to Low. That's it. John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of KathrynAtGwens Sent: Monday, November 28, 2005 12:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] What "option" needs fixing? Gwen just got a new laptop and I'm installing all her programs, including MS Office 2003 pro. She has one .mdb that she used all the time and the file itself resides on the server. When accessing from the desktop, it opens just fine. But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? If I click on no, then it says "This file may not be safe if it contains code that was intended tohard your computer. Do you want to open this file or cancel the operation?" So, what option needs to be changed so I don't get that warning. I'm assuming it's something that needs changing since both computers are using same version and opening the same file. -- Kathryn Bassett (at work address) kathrynatgwens at socal.rr.com kathryn at bassett.net (home) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 28 15:13:10 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 28 Nov 2005 13:13:10 -0800 Subject: [AccessD] Access To HTML To PDF II In-Reply-To: Message-ID: just in case this went unnoticed during the holiday, I will post again. Hello to the list, My client wishes me to export some data and graphs to PDF with some menus and buttons to allow the user to navigate within the PDF. His prototype, using HTML with text and graphs pasted in, works just fine when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, take me to the right location in the document. How can I do this automatically from Access? The excel graphs are not so much a problem, it's the navigation buttons. Preferably without the html. Access reports and forms don't seem to allow other than static (no buttons) output to PDF. TIA bob heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tripledee at bigpond.com Mon Nov 28 15:49:40 2005 From: tripledee at bigpond.com (Darren DICK) Date: Tue, 29 Nov 2005 08:49:40 +1100 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: <20051128214635.XOFY18661.omta02sl.mx.bigpond.com@CRHLAPREGAN> Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren From Donald.A.McGillivray at sprint.com Mon Nov 28 16:01:20 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Mon, 28 Nov 2005 16:01:20 -0600 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: Darren, Try using Excel's conditional formatting. It allows only three conditions to be tested, but should work for this. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, November 28, 2005 1:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] WAY OT:Excel Formatting Q Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 28 16:03:27 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 29 Nov 2005 11:03:27 +1300 Subject: [AccessD] Who Has adp/ade open? Message-ID: <7.0.0.16.0.20051129105929.01a41728@dalyn.co.nz> I am trying to identify what users have a database open. adp's don't seem to have an ldb file (presumably because they use SQL and not Jet). Apart from looking at the current activity in SQL management, is there any other way of finding out who has an adp or ade open? Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua New Zealand 6006 Phone 0064 4 235-6782 Fax 0064 4 235-6783 From KIsmert at texassystems.com Mon Nov 28 16:36:32 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 28 Nov 2005 16:36:32 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: Jim, >> In this context what does division by zero do? ... >> on error resume next: x=x/0 >> As I recall ... all globals are cleared with this error. It first depends on whether you have error handling setup in your code. In this case, you do (on error resume next), so your global context is maintained. Of course, it also depends on your Error Handling options. If set to Break on All Errors, you will get an error message regardless of the error handling you have setup, and your global context will be reset. I have mine set to Break on Unhandled Errors, which respects the in-code error handling. -Ken From martyconnelly at shaw.ca Mon Nov 28 16:47:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 28 Nov 2005 14:47:53 -0800 Subject: [AccessD] Access To HTML To PDF II References: Message-ID: <438B8919.7010100@shaw.ca> I haven't got the ADOBE SDK that runs with the full version of ADOBE AcroBAT this includes the api code. It costs an extra $99. Obtain from http://partners.adobe.com/public/developer/acrobat/devcenter.html You can view for free any documentation without the padlock icon Maybe with something like this. You can do what you are looking for http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/VBJavaScript.pdf But with the SDK you can fill PDF form fields from Access with something like Sub simpleactpdf() Dim oTK As Object Dim r As Long Dim sInputFile As String sInputFile = "C:\Access files\PDF Forms\sample.pdf" Set oTK = CreateObject("APToolkit.Object") oTK.OpenOutputFile ("C:\Access files\PDF Forms\myoutsample.pdf") 'If numberOfCharacters <= templateOneMax Then r = oTK.OpenInputFile(sInputFile) r = oTK.SetFormFieldData("First_Name", "Wierddata", 0) r = oTK.CopyForm(0, 0) oTK.CloseOutputFile End Sub Also there is a VB/Forms API that allows button creation if you dont have the SDK, you might find something here in the forums http://www.planetpdf.com/ I have only messed around with bookmarks and opening pdf's from access at a specific bookmark Sub RunAdobe() 'for options see ' http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf Dim intRet As Integer Dim intPage As Integer Dim strPDF As String Dim strCommandLine As String intPage = 1 strPDF = """C:\records management\aircanadacasestudy.pdf""" ' strPDF = """C:\Documents and Settings\marty\My Documents\My Pictures\VS.tif""" ' Adobe will also open a tiff image strCommandLine = """C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe""" & _ " /A " & "page=" & intPage & "&zoom=50,250,100 " & strPDF Debug.Print strCommandLine intRet = Shell(strCommandLine, vbMaximizedFocus) End Sub Bob Heygood wrote: >just in case this went unnoticed during the holiday, I will post again. > > >Hello to the list, > >My client wishes me to export some data and graphs to PDF with some menus >and buttons to allow the user to navigate within the PDF. > >His prototype, using HTML with text and graphs pasted in, works just fine >when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, >take me to the right location in the document. > >How can I do this automatically from Access? The excel graphs are not so >much a problem, it's the navigation buttons. > >Preferably without the html. > >Access reports and forms don't seem to allow other than static (no buttons) >output to PDF. > >TIA > >bob heygood > > > > >-- >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 Jim.Hale at FleetPride.com Mon Nov 28 16:59:20 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 28 Nov 2005 16:59:20 -0600 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> Under format select conditional formatting. The wizard will show you how to do what you want to whatever cells you have highlighted. Jim Hale -----Original Message----- From: Darren DICK [mailto:tripledee at bigpond.com] Sent: Monday, November 28, 2005 3:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] WAY OT:Excel Formatting Q Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From artful at rogers.com Mon Nov 28 19:57:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 28 Nov 2005 20:57:48 -0500 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> Message-ID: <200511290157.jAT1vjJ26046@databaseadvisors.com> 10. Yeah, yeah, yeah, you created the universe, but what have you done for me lately? The other nine invited. A. From kathryn at bassett.net Mon Nov 28 20:05:42 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 28 Nov 2005 18:05:42 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <010701c5f45c$46d7e610$7a01a8c0@ScuzzPaq> Message-ID: <20051128180547.BAD9884B@dm18.mta.everyone.net> Thanks John B and John R. Kathryn From newsgrps at dalyn.co.nz Mon Nov 28 20:17:52 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 29 Nov 2005 15:17:52 +1300 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates In-Reply-To: <200511290157.jAT1vjJ26046@databaseadvisors.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> <200511290157.jAT1vjJ26046@databaseadvisors.com> Message-ID: <7.0.0.16.0.20051129151721.01b4a840@dalyn.co.nz> 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done for >me lately? >The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 28 20:35:59 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 20:35:59 -0600 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1BE@main2.marlow.com> 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done for >me lately? >The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 28 20:44:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 28 Nov 2005 21:44:23 -0500 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1BE@main2.marlow.com> Message-ID: <005d01c5f48e$cf1747f0$667aa8c0@ColbyM6805> 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 20:48:58 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 20:48:58 -0600 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa y When YouArrive at the Pearly Gates Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1BF@main2.marlow.com> 6. What does the down arrow mean under the sign 'For Bounders and Natural Key Users'??? Sorry, couldn't resist! Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 28, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 28 22:14:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 28 Nov 2005 20:14:16 -0800 (PST) Subject: [AccessD] Sending Email via Code Message-ID: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From DWUTKA at marlow.com Mon Nov 28 22:16:22 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 22:16:22 -0600 Subject: [AccessD] Sending Email via Code Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1C0@main2.marlow.com> ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 28 23:17:57 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 28 Nov 2005 21:17:57 -0800 (PST) Subject: [AccessD] Sending Email via Code In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1C0@main2.marlow.com> Message-ID: <20051129051757.64120.qmail@web33101.mail.mud.yahoo.com> Thanks a million Drew. DWUTKA at marlow.com wrote: ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Tue Nov 29 00:05:54 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 28 Nov 2005 22:05:54 -0800 Subject: [AccessD] Sending Email via Code References: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Message-ID: <438BEFC2.6080707@shaw.ca> You could try blat from a command line and shell http://www.blat.net/ I use this one has certain restictions see comments 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, and your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Another method http://freevbcode.com/ShowCode.Asp?ID=109 Lonnie Johnson wrote: >Is there a way to send email via code without invoking outlook? > >I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. > > I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Tue Nov 29 01:18:48 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 29 Nov 2005 17:18:48 +1000 Subject: [AccessD] Sending Email via Code In-Reply-To: <438BEFC2.6080707@shaw.ca> Message-ID: <438C8D78.23590.234523E6@stuart.lexacorp.com.pg> On 28 Nov 2005 at 22:05, MartyConnelly wrote: > You could try blat from a command line and shell > http://www.blat.net/ > Or Blat.dll from http://www.geocities.com/toby_korn/blat/ -- Stuart From DWUTKA at marlow.com Tue Nov 29 02:04:28 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 02:04:28 -0600 Subject: [AccessD] Sending Email via Code Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1C2@main2.marlow.com> No problem. Forgot to mention that ASPEmail has two 'versions'. There is a free one, and a 'pro' one. The free one will do almost anything you want to do as far as sending normal email. The pro one has some neat features, but I have never needed them, so I am still using the free one myself. One of the features which may be nice, but not necessary for me is email 'queueing' (SP?), where the code sends the emails to a service which will keep trying to send the email, that's nice if you are doing batch emails, but for one time shots, which aren't happening a hundred times a minute, it works just fine with the free version. Let me know if you need sample code, if I remember right, the instructions actually give you sample VB code. Drew -----Original Message----- From: Lonnie Johnson [SMTP:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 11:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending Email via Code Thanks a million Drew. DWUTKA at marlow.com wrote: ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Tue Nov 29 02:27:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 29 Nov 2005 08:27:15 -0000 Subject: [AccessD] Sending Email via Code In-Reply-To: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Message-ID: Lonnie, You could try using vbSendMail.dll, it's a dll that sends mail only (will need to know the name of your SMTP Server)....but is very simple to use and free. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 29 November 2005 04:14 To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 29 04:54:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Nov 2005 11:54:16 +0100 Subject: [AccessD] Sending Email via Code Message-ID: Hi Lonnie If the machines run WinXP the cdoex.dll is present. That will do: Public Sub SendCdoMsg() Dim msg As New CDO.Message With msg With .Configuration.Fields .Item(cdoSMTPAuthenticate) = cdoAnonymous .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "smtp.yourisp.com" .Item(cdoSMTPConnectionTimeout) = 10 .Item(cdoSMTPServerPort) = 25 .Update End With .Organization = "yourcompany.com" .To = "someone at example.org" .Subject = "Example subject" .TextBody = "Example body" .From = "you at yourcompany.com" .Send End With Set msg = Nothing End Sub /gustav >>> prodevmg at yahoo.com 29-11-2005 05:14:16 >>> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. From Jim.Hale at FleetPride.com Tue Nov 29 08:36:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 29 Nov 2005 08:36:14 -0600 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD878@corp-es01.fleetpride.com> 9. I forgot to bring the Bill Gates autograph you wanted. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, November 28, 2005 7:58 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 10. Yeah, yeah, yeah, you created the universe, but what have you done for me lately? The other nine invited. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darsant at gmail.com Tue Nov 29 09:01:59 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 09:01:59 -0600 Subject: [AccessD] Recreating relational data in code with one-pass readthrough Message-ID: <53c8e05a0511290701h980ec15w8b26b09b178da338@mail.gmail.com> Well, I'm faced with having to input data into a C++ program from one of the Access databases. I've got our database library working, and can run and return recordsets and pull data from them. However, my problem is I can only have one recordset / query open at a time, and so I come to a decision (I'm campaigning for them to get a new database library, but at the moment we're stuck with the single-recordset issues) If I need to recreate objects using relationship data from various tables, anyone have any resources on the best way to do this while only passing through the data once? I've got an idea on where to start but looking to see if anyone else has faced the same issues. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From mboyd at deloitte.com Tue Nov 29 12:02:13 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 29 Nov 2005 13:02:13 -0500 Subject: [AccessD] Cycle thru All Tables in DB Message-ID: I'm sure this is possible, but have never coded it. I have 50 tables, each containing 50 fields. Some of the fields contain empty strings. I need to cycle thru every table, and update all empty strings to null. Is there a way to cycle thru each table, and cycle thru each field record by record, and update to null where necessary? I want to avoid using specific table and field names. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From prodevmg at yahoo.com Tue Nov 29 12:32:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 10:32:16 -0800 (PST) Subject: [AccessD] Sending Email via Code In-Reply-To: Message-ID: <20051129183216.73238.qmail@web33109.mail.mud.yahoo.com> Thanks guys. I actually ended using the sendmail method of the .ActiveWorkbook object. I was able to use this and have the excel sheet send itself to who I wanted to. Gustav Brock wrote: Hi Lonnie If the machines run WinXP the cdoex.dll is present. That will do: Public Sub SendCdoMsg() Dim msg As New CDO.Message With msg With .Configuration.Fields .Item(cdoSMTPAuthenticate) = cdoAnonymous .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "smtp.yourisp.com" .Item(cdoSMTPConnectionTimeout) = 10 .Item(cdoSMTPServerPort) = 25 .Update End With .Organization = "yourcompany.com" .To = "someone at example.org" .Subject = "Example subject" .TextBody = "Example body" .From = "you at yourcompany.com" .Send End With Set msg = Nothing End Sub /gustav >>> prodevmg at yahoo.com 29-11-2005 05:14:16 >>> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less From robert at servicexp.com Tue Nov 29 13:23:16 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 14:23:16 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com From mboyd at deloitte.com Tue Nov 29 13:11:49 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 29 Nov 2005 14:11:49 -0500 Subject: [AccessD] Cycle thru All Tables in DB Message-ID: After playing with the code, I came up with the following, which does exactly what I needed. Public Sub CycleThruTables() Dim td As TableDef Dim fld As Field Dim i As Integer For Each td In CurrentDb.TableDefs If Left(td.Name, 4) <> "MSys" Then 'not a system table i = 0 For Each fld In td.Fields Set fld = td.Fields(i) DoCmd.RunSQL ("UPDATE [" & td.Name & "] SET [" & fld.Name & "] = Null WHERE [" & fld.Name & "] = ''") i = i + 1 Next End If Next Set td = Nothing Set fld = Nothing End Sub Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com ________________________________ From: Boyd, Mark Thomas (US - Philadelphia) Sent: Tuesday, November 29, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Cycle thru All Tables in DB I'm sure this is possible, but have never coded it. I have 50 tables, each containing 50 fields. Some of the fields contain empty strings. I need to cycle thru every table, and update all empty strings to null. Is there a way to cycle thru each table, and cycle thru each field record by record, and update to null where necessary? I want to avoid using specific table and field names. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From darsant at gmail.com Tue Nov 29 13:30:39 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 13:30:39 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Message-ID: <53c8e05a0511291130l776a7193p545ec15a22b9dc1d@mail.gmail.com> On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the same > app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Tue Nov 29 13:42:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 11:42:31 -0800 Subject: [AccessD] Raise Event Across Network Message-ID: What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 14:53:05 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 15:53:05 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> Josh, This is a pretty complex app, so I can't run any timers, or else I have problems, big problems .. :-) Robert Gracie www.bgsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the > same app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 14:53:47 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 15:53:47 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F97@gbsserver.GBS.local> Charlotte, A2K Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 29, 2005 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Tue Nov 29 14:42:13 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 14:42:13 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> Message-ID: <53c8e05a0511291242re145b54pb80b9294234554a4@mail.gmail.com> On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I have > problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From DWUTKA at marlow.com Tue Nov 29 14:40:25 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:40:25 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D2@main2.marlow.com> Yes, I wrote something like that, and posted it to the list a while back. It involved using the Winsock control, and the UDP protocol. Search the archives for UDP. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.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 Nov 29 14:46:15 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:46:15 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> My UDP solution won't use any timers. VERY easy to code and implement, and lightning fast. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Josh, This is a pretty complex app, so I can't run any timers, or else I have problems, big problems .. :-) Robert Gracie www.bgsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the > same app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 14:47:30 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:47:30 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D6@main2.marlow.com> UDP will work just fine with A2k. I think my sample code was for 97 (but will work fine in 2k). If you can't find it in the archives, let me know. I'm going to bed in about 5 minutes, if you can't find it, email me off list, and I'll dig it up for you tonight or tomorrow morning. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Charlotte, A2K Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 29, 2005 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 29 14:59:36 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 29 Nov 2005 12:59:36 -0800 Subject: [AccessD] Raise Event Across Network References: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Message-ID: <438CC138.8010804@shaw.ca> Need to know why? Do you need the program or the user interact with the event? I still think you will need a timer. You could use command line NetSend to send a oneway message to all users or to specific machine names Sending System Messages using NetMessageBufferSend http://vbnet.mvps.org/code/network/netmessagebuffersend.htm If you use the Windows Messenger Service to distribute broadcast messages to users on your network, chances are good that you're doing it the hard way--from the command line via the DOS-based Net Send command. But hidden deep within the Windows XP operating system is the Send Console Message tool, which works just like the old WinPopup utility in Windows 9x. Unfortunately, Microsoft hid it so well that most IT professionals don't know it exists. Here's how to uncover and use the Send Console Message tool. Follow these steps: 1. Go to Start | Control Panel, and double-click Administrative Tools. 2. Double-click Computer Management. 3. Go to Action | All Tasks | Send Console Message. Windows will open the Send Console Message tool, but you need to add computer names to the Recipients list. Follow these steps: 1. Click the Add button. 2. In the Select Computer dialog box, click Advanced. 3. Click Find Now. 4. Select the computers, and click OK to exit both dialog boxes. You can now type messages in the Message text box and click the Send button to broadcast messages to the users on your network. Robert Gracie wrote: > >Hello, > Is it possible to Raise an Event Across A Network In Access of the same >app? > >Sort of like a communication channel between the same app on network... > >Robert Gracie >www.gbsysnow.com > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Tue Nov 29 15:01:01 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 15:01:01 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> Message-ID: <53c8e05a0511291301i7d9ad2d1p2757949492553535@mail.gmail.com> On 11/29/05, DWUTKA at marlow.com wrote: > My UDP solution won't use any timers. VERY easy to code and implement, and > lightning fast. Just be careful you don't saturate the network or you'll start losing your UDP events. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From robert at servicexp.com Tue Nov 29 15:19:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 16:19:25 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F98@gbsserver.GBS.local> My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 15:19:53 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 16:19:53 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F99@gbsserver.GBS.local> Drew, Thank, I'll take a look!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 29, 2005 4:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Yes, I wrote something like that, and posted it to the list a while back. It involved using the Winsock control, and the UDP protocol. Search the archives for UDP. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 29 16:47:04 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 14:47:04 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email Message-ID: <20051129224705.47672.qmail@web33115.mail.mud.yahoo.com> I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Tue Nov 29 17:00:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 15:00:02 -0800 Subject: [AccessD] Embed Query Results in an Email Message-ID: You can embed them by pasting into a RichText or HTML format message, but if the receipient only accepts plain text, it won't do you a lot of good. What are you trying to accomplish and how big would these queries be? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 2:47 PM To: AccessD solving' Subject: [AccessD] Embed Query Results in an Email I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 29 17:07:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 15:07:16 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email In-Reply-To: Message-ID: <20051129230716.83274.qmail@web33104.mail.mud.yahoo.com> The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. Charlotte Foust wrote: You can embed them by pasting into a RichText or HTML format message, but if the receipient only accepts plain text, it won't do you a lot of good. What are you trying to accomplish and how big would these queries be? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 2:47 PM To: AccessD solving' Subject: [AccessD] Embed Query Results in an Email I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Donald.A.McGillivray at sprint.com Tue Nov 29 17:35:32 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Tue, 29 Nov 2005 17:35:32 -0600 Subject: [AccessD] Embed Query Results in an Email Message-ID: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. From joeget at vgernet.net Tue Nov 29 17:44:47 2005 From: joeget at vgernet.net (John Eget) Date: Tue, 29 Nov 2005 18:44:47 -0500 Subject: [AccessD] deletion of record from popup Message-ID: <008301c5f53e$e57f4d70$c9c2f63f@JOHN> I have a displayed record (in edit mode) and display a popup when the delete command button asks the question. Are you sure?. Popup created and code for Yes Command Button is below. But nothing happens. Does anyone have an example or know what I am doing wrong? On Error GoTo Err_Delete_Record_Click DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_SELECTRECORD_V2, , A_MENU_VER20 DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_DELETE_V2, , A_MENU_VER20 Exit_Delete_Record_Click: Exit Sub Err_Delete_Record_Click: MsgBox Error$ Resume Exit_Delete_Record_Click From prodevmg at yahoo.com Tue Nov 29 17:46:48 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 15:46:48 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email In-Reply-To: Message-ID: <20051129234648.31490.qmail@web33102.mail.mud.yahoo.com> How do you go about formatting and doing headers? "Mcgillivray, Don [IT]" wrote: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Tue Nov 29 18:04:19 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 16:04:19 -0800 Subject: [AccessD] deletion of record from popup Message-ID: Surely you aren't still using Access 2?? All that code appears to do is this: DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdDeleteRecord Where is the code? It needs to be on the form that contains the record, since you can't select the current record from another form with that code. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Tuesday, November 29, 2005 3:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] deletion of record from popup I have a displayed record (in edit mode) and display a popup when the delete command button asks the question. Are you sure?. Popup created and code for Yes Command Button is below. But nothing happens. Does anyone have an example or know what I am doing wrong? On Error GoTo Err_Delete_Record_Click DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_SELECTRECORD_V2, , A_MENU_VER20 DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_DELETE_V2, , A_MENU_VER20 Exit_Delete_Record_Click: Exit Sub Err_Delete_Record_Click: MsgBox Error$ Resume Exit_Delete_Record_Click -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Nov 29 18:49:05 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Tue, 29 Nov 2005 18:49:05 -0600 Subject: [AccessD] Embed Query Results in an Email Message-ID: Well, I wrote a little function that accepts a value, converts it to text (if necessary), and pads and justifies it according to the requirements of the layout. I just pass each column's value (or header literal) to the function along with its formatting specs, and concatenate the results together for each row. Terminate each row with a CrLf as you go, and there you have it. Here's my function. It works well in my controlled application, but you might want to modify it to handle values longer than MaxLen. Function PadText(varValue As Variant, strDataType As String, lngMaxLen As Long, strJustify As String) As String '----------------------------------------------------------------------- ---------------- ' Procedure : PadText ' Purpose : builds a string from the passed value per the passed specs ' Arguments : varValue = the value to be processed ' strDataType = the type of data being passed - acceptable values = Text, Num, Date ' lngMaxLen = the maximum number of characters allowed for the resulting string ' strJustify = the justification spec for the resulting string - acceptable values = L, C, or R ' Returns : The input value formatted as desired '----------------------------------------------------------------------- ---------------- ' On Error GoTo ErrorHandle Dim strResult As String, blnError As Boolean If lngMaxLen <> 0 Then Select Case strDataType Case "Text" strResult = varValue Case "Num" strResult = Format(varValue, "#,###") Case "Date" strResult = Format(varValue, "mm/dd/yyyy hh:nn:ss") Case Else blnError = True End Select If blnError = False Then Select Case strJustify Case "L" strResult = strResult & Space(lngMaxLen - Len(strResult)) Case "C" strResult = Space(Int((lngMaxLen - Len(strResult)) / 2)) _ & strResult & Space((lngMaxLen - Len(strResult)) - Int((lngMaxLen - Len(strResult)) / 2)) Case "R" strResult = Space(lngMaxLen - Len(strResult)) & strResult Case Else blnError = True End Select End If Else blnError = True End If If blnError = False Then PadText = strResult Else PadText = "Error" FunctionExit: Exit Function ErrorHandle: Select Case Err.Number Case Else MsgBox Err.Number & " " & Err.Description & vbCrLf & vbCrLf _ & "Error in Function 'PadText' of Module 'basSendCycleConfirmations'." End Select Resume FunctionExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email How do you go about formatting and doing headers? "Mcgillivray, Don [IT]" wrote: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:38:37 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:38:37 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D8@main2.marlow.com> -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:38:59 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:38:59 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D9@main2.marlow.com> Cool, that is what my sample does. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:39:43 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:39:43 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> I know how to handle my UDP! ;) Drew -----Original Message----- From: Josh McFarlane [SMTP:darsant at gmail.com] Sent: Tuesday, November 29, 2005 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, DWUTKA at marlow.com wrote: > My UDP solution won't use any timers. VERY easy to code and implement, and > lightning fast. Just be careful you don't saturate the network or you'll start losing your UDP events. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 09:27:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 10:27:32 -0500 Subject: [AccessD] OT: free Sygate personal Message-ID: <001d01c5f5c2$959ad520$667aa8c0@ColbyM6805> Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Wed Nov 30 09:40:09 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 09:40:09 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <001d01c5f5c2$959ad520$667aa8c0@ColbyM6805> Message-ID: <006401c5f5c4$58e7d270$7b01a8c0@ScuzzPaq> Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. From Erwin.Craps at ithelps.be Wed Nov 30 10:08:36 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 30 Nov 2005 17:08:36 +0100 Subject: [AccessD] OT: free Sygate personal Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 30, 2005 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: free Sygate personal Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 10:16:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 11:16:49 -0500 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> Message-ID: <002501c5f5c9$782b9180$667aa8c0@ColbyM6805> LOL. Yea the personal pro edition. It is all about money after all. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 30, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: free Sygate personal I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 30, 2005 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: free Sygate personal Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 30 10:19:45 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 10:19:45 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> Message-ID: <007601c5f5c9$e0996cb0$7b01a8c0@ScuzzPaq> Erwin, Do you have a link to the article? I suspected this would happen but missed the announcement. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software From john at winhaven.net Wed Nov 30 10:19:45 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 10:19:45 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <006401c5f5c4$58e7d270$7b01a8c0@ScuzzPaq> Message-ID: <007701c5f5c9$e0de8c00$7b01a8c0@ScuzzPaq> Sorry , wrong link, try this one: http://www.simtel.net/product.download.mirrors.php?id=53687 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 10:21:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 11:21:13 -0500 Subject: [AccessD] Virtual PC Message-ID: <002601c5f5ca$1599d850$667aa8c0@ColbyM6805> Is anyone using Virtual PC? I am starting to set it up, using an external Drive on a USB, and I am wondering whether I need to bother putting a firewall on it. The virtual PC instances will be used for development in the new Visual Studio 2005 / SQL Server 2005. It seems like rather a large computing load to impose on a virtual machine, although if there is little traffic to the internet perhaps not. Thoughts? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Wed Nov 30 10:51:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 30 Nov 2005 10:51:33 -0600 Subject: [AccessD] OT: free Sygate personal Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> I just started to use the free version of the Outpost firewall and I have to say I'm very happy with it. http://www.agnitum.com/products/outpostfree/download.php Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: free Sygate personal Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Wed Nov 30 11:13:14 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 30 Nov 2005 11:13:14 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> Message-ID: <53c8e05a0511300913r11feb07bma7a1fead6bc423d4@mail.gmail.com> On 11/29/05, DWUTKA at marlow.com wrote: > I know how to handle my UDP! ;) > > Drew Just checking. =) When I started working at my new job, all of their program communication dealing with large amounts of data transfer was in UDP on a closed network, and they couldn't understand why every now and then the data would end up corrupted! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From jwcolby at ColbyConsulting.com Wed Nov 30 12:22:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 13:22:29 -0500 Subject: [AccessD] Tracing the source data Message-ID: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From martyconnelly at shaw.ca Wed Nov 30 12:38:47 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Nov 2005 10:38:47 -0800 Subject: [AccessD] Tracing the source data References: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> Message-ID: <438DF1B7.6040206@shaw.ca> http://www.fmsinc.com/products/analyzer/ReportsList.html#Cross%20Reference%20Analysis but it is $300 John Colby wrote: >I have a database I am trying to trace the data for. Every form has a table >/ query. If a query, what queries/tables are used in that? If any queries >used in that query, what queries are used in that. IOW, for FormA exactly >what queries and tables are required for that form, all the way back down >through all the subqueries etc. Same for reports. > >Is there anything out there that does this for a reasonable price? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Wed Nov 30 12:46:05 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 10:46:05 -0800 Subject: [AccessD] Tracing the source data In-Reply-To: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> Message-ID: <000001c5f5de$525a4680$6701a8c0@Hewlett> John, FMS Analyzer? WWW.FMSINC.COM Different people have different idea of what is reasonable. HTH Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Nov 30 13:21:35 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 30 Nov 2005 14:21:35 -0500 Subject: [AccessD] Tracing the source data Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F19B68CBB@xlivmbx21.aig.com> Try Rick Fisher's Find and Replace (registered version does x-references) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 13:41:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 14:41:26 -0500 Subject: [AccessD] Tracing the source data In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F19B68CBB@xlivmbx21.aig.com> Message-ID: <009301c5f5e6$0dde8fe0$667aa8c0@ColbyM6805> Yes, it does cross reference (I have it) but while it does say: A uses B B uses d, f, g, h D uses c,e,x,y It does not say: Therefore A uses B,D,F,G,H,V,E,X,Y Further the Cross reference does not place the data in tables (that I can find) so I can't even build my own thing using the results of the cross reference. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, November 30, 2005 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tracing the source data Try Rick Fisher's Find and Replace (registered version does x-references) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 30 13:54:20 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 30 Nov 2005 20:54:20 +0100 Subject: [AccessD] OT: free Sygate personal Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6141@stekelbes.ithelps.local> Its a Zdnet Article This is the link but it is the Belgian/Dutch version. I supose you can do a search in the English version of ZDNet??? http://www.zdnet.be/news.cfm?id=51301&mxp=122 Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Bartow Verzonden: woensdag 30 november 2005 17:20 Aan: 'Access Developers discussion and problem solving' Onderwerp: Re: [AccessD] OT: free Sygate personal Erwin, Do you have a link to the article? I suspected this would happen but missed the announcement. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 30 14:22:10 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 12:22:10 -0800 Subject: [AccessD] Append (?) Query Help Message-ID: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> I am trying to add a field of data from one table to another. The idea is to add the term date to the target table. It errors out to key violation and null values. Please advise. SQL = INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) SELECT [01_PersMasterfor Programming].MyEmpNumb, [01_PersMasterfor Programming].TERM_DATE FROM [01_PersMasterfor Programming]; Joe Hecht jmhecht at earthlink.net From DWUTKA at marlow.com Wed Nov 30 14:23:51 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 14:23:51 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1E8@main2.marlow.com> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 14:37:20 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 14:37:20 -0600 Subject: [AccessD] Append (?) Query Help In-Reply-To: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> References: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> Message-ID: I would change it to just a plain select query and see what results you are getting. Are you getting nulls in one of those two fields?? Perhaps you have some bad records? Perhaps you need a condition to select only if is not null or something? Is that enough info to actually add the record in the table you are trying to insert into? On 11/30/05, Joe Hecht wrote: > I am trying to add a field of data from one table to > another. The idea is to add the term date to the target > table. It errors out to key violation and null values. > > > > Please advise. > > > > SQL = > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > [01_PersMasterfor Programming].TERM_DATE > > FROM [01_PersMasterfor Programming]; > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From john at winhaven.net Wed Nov 30 14:38:54 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 14:38:54 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6141@stekelbes.ithelps.local> Message-ID: <001f01c5f5ee$154c7140$7b01a8c0@ScuzzPaq> Sure can. -thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Its a Zdnet Article This is the link but it is the Belgian/Dutch version. I supose you can do a search in the English version of ZDNet??? http://www.zdnet.be/news.cfm?id=51301&mxp=122 From Gustav at cactus.dk Wed Nov 30 14:42:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2005 21:42:02 +0100 Subject: [AccessD] Raise Event Across Network Message-ID: Hi Drew Great! Didn't you do something similar some years back with Named Pipes? I still have a zip from you with some NP stuff ... /gustav >>> DWUTKA at marlow.com 30-11-2005 21:23:51 >>> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... From Jdemarco at hudsonhealthplan.org Wed Nov 30 14:48:36 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 30 Nov 2005 15:48:36 -0500 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa yWhen YouArrive at the Pearly Gates Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C418B@TTNEXCHCL2.hshhp.com> 5. Bin Laden's the name... Osama Bin Laden. or should that be #1?? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa yWhen YouArrive at the Pearly Gates 6. What does the down arrow mean under the sign 'For Bounders and Natural Key Users'??? Sorry, couldn't resist! Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 28, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 DWUTKA at marlow.com Wed Nov 30 14:58:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 14:58:32 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1EC@main2.marlow.com> I think so. Problem with Named pipes, is that it locks the thread that is 'listening'. Since an .mdb is single threaded, it didn't work too well. Using the UDP method allows for a network 'broadcast' however. Very quick and efficient. Drew -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Wednesday, November 30, 2005 2:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Hi Drew Great! Didn't you do something similar some years back with Named Pipes? I still have a zip from you with some NP stuff ... /gustav >>> DWUTKA at marlow.com 30-11-2005 21:23:51 >>> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lyle.hannum at co.wake.nc.us Wed Nov 30 15:02:42 2005 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Wed, 30 Nov 2005 16:02:42 -0500 Subject: [AccessD] Virtual PC Message-ID: Hi Here at my office several people are running VPC with VS2005 and SQL 2005 (ent. ed. for both) with no problems. They say it is slow to load, but then all is well. I will have to ask on the firewall question. A related question if I may...have you looked into Virtual Server 2005? No one here seems to be able to run the admin set up page (hence the use of VPC). I believe a ticket is open at MS with no resolution to date. This is on Win 2003/IIS6, Dual core Intel CPU, 1GB ram. Lyle Hannum MCP Wake County IS "John Colby" , "Tech - Database Advisors Inc." Sent by: accessd-bounces at databasea cc: dvisors.com Subject: [AccessD] Virtual PC 11/30/2005 11:21 AM Please respond to Access Developers discussion and problem solving Is anyone using Virtual PC? I am starting to set it up, using an external Drive on a USB, and I am wondering whether I need to bother putting a firewall on it. The virtual PC instances will be used for development in the new Visual Studio 2005 / SQL Server 2005. It seems like rather a large computing load to impose on a virtual machine, although if there is little traffic to the internet perhaps not. Thoughts? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 30 15:23:34 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 13:23:34 -0800 Subject: [AccessD] Append (?) Query Help In-Reply-To: Message-ID: <000001c5f5f4$52b64730$6701a8c0@Hewlett> Gary, The field is a date field. I tried making the blanks = N/A but they would not take. The source table was a non normalized table that I broke to several smaller tables to normalize the data. I missed taking the Term Date field the first time through. Would it be easier just to rebuild the target table? Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 30, 2005 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append (?) Query Help I would change it to just a plain select query and see what results you are getting. Are you getting nulls in one of those two fields?? Perhaps you have some bad records? Perhaps you need a condition to select only if is not null or something? Is that enough info to actually add the record in the table you are trying to insert into? On 11/30/05, Joe Hecht wrote: > I am trying to add a field of data from one table to > another. The idea is to add the term date to the target > table. It errors out to key violation and null values. > > > > Please advise. > > > > SQL = > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > [01_PersMasterfor Programming].TERM_DATE > > FROM [01_PersMasterfor Programming]; > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 20:12:52 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 20:12:52 -0600 Subject: [AccessD] Append (?) Query Help In-Reply-To: <000001c5f5f4$52b64730$6701a8c0@Hewlett> References: <000001c5f5f4$52b64730$6701a8c0@Hewlett> Message-ID: Date/time fields are actually stored as double precision numeric fields internally, so anything alpha or blanks/spaces is gonna break it. You can do mathematic stuff with them though, so you could test for <>0 or something or perhaps a date > the earliest date you have in your date population?? > #1/1/1900# or something like that. Have a look at this description of the date field's structure....I learned about this when doing Y2K stuff back in 1999 ;-) http://support.microsoft.com/?scid=kb;en-us;210276&spid=2509&sid=202 Ya got to give it what it wants. Or skip the things it can't handle. GK On 11/30/05, Joe Hecht wrote: > Gary, > > The field is a date field. I tried making the blanks = N/A > but they would not take. > > The source table was a non normalized table that I broke to > several smaller tables to normalize the data. > > I missed taking the Term Date field the first time through. > Would it be easier just to rebuild the target table? > > Joe Hecht > jmhecht at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gary Kjos > Sent: Wednesday, November 30, 2005 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Append (?) Query Help > > I would change it to just a plain select query and see what > results > you are getting. Are you getting nulls in one of those two > fields?? > Perhaps you have some bad records? Perhaps you need a > condition to > select only if is not null or something? > Is that enough info to actually add the record in the table > you are > trying to insert into? > > > On 11/30/05, Joe Hecht wrote: > > I am trying to add a field of data from one table to > > another. The idea is to add the term date to the target > > table. It errors out to key violation and null values. > > > > > > > > Please advise. > > > > > > > > SQL = > > > > > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > > [01_PersMasterfor Programming].TERM_DATE > > > > FROM [01_PersMasterfor Programming]; > > > > > > > > Joe Hecht > > > > jmhecht at earthlink.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From pcs at azizaz.com Wed Nov 30 21:03:23 2005 From: pcs at azizaz.com (Borge Hansen) Date: Thu, 1 Dec 2005 13:03:23 +1000 Subject: [AccessD] Access data to and from Website References: Message-ID: <01c001c5f623$cb1a3db0$fa10a8c0@Albatross> Hi all, I have no experience with pushing data between an Access database and a Website. We have a full featured event management database that we have been running for some years - still in Access97 about to be moved to A2003... A number of conferences are held throughout the year. An organization registers one or more attendees An attendee is assigned to several sessions throughout the conference. All registration related communication used to be handled with postal mailout, now most is done via email. However, de peple in de top office is reguesting that an attendee should be able to visit the website (currently just a static web page) - view all sessions for the conference and select which ones they wish to attend, and submit this information. Relevant procedures will then integrate the information captured into the event database. Something needs to be up and running rather quickly. I'd appreciate anyone's comments, suggestions for a simple, quick and efficient solution. What tools to use? Estimated time involved? Code samples This is how I envisage the functionality: The Attendee enters LastName, FirstName, City and emailaddress. Entry is validated against table containing data for all attendees for the Conference: AttendeeID, LastName, FirstName and City (we may not have email address at this stage). As part of the validation the AttendeeID is identified. The list of sessions are displayed grouped by Date and Session Category and order by StartTime. There is a tickbox (?) for each Session where the Attendee can tick if he/she wishes to attendee the Session. Each session is identified by a SessionID, (not necessarily displayed). At the bottom a Submit button. Curious as to how do you make this part of the webpage dynamic/interactive - i.e. the code behind the submit button to walk the page, identify the sessions that have been ticked and capture the corresponding SessionID The submit button will do the following: 1. Send an email confirming Name, City and listing the Sessions that the Attendee wishes to attend. 2. Capture information from the Webpage to a table called say tblWebRegistrationAttendee AttendeeID emailaddress (no editing of Name and City information) and to a table called say tblWebRegistrationAttendeeSession AttendeeID SessionID The captured information will then be copied from the webserver tables to the event database for further processing..... .... that's it any suggestions, comments, pointers appreciated regards /borge From jmhecht at earthlink.net Wed Nov 30 22:10:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 20:10:11 -0800 Subject: [AccessD] Members in Los Angeles Area Message-ID: <000301c5f62d$201f4a90$6701a8c0@Hewlett> Are there any list members in the Los Angeles area who have Visual Studio Tools for Office? Please let me know. I may ask to meet with you. Joe Hecht jmhecht at earthlink.net From bchacc at san.rr.com Wed Nov 30 22:31:21 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 30 Nov 2005 20:31:21 -0800 Subject: [AccessD] OT: free Sygate personal References: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> Message-ID: <036501c5f630$14ba8b80$6a01a8c0@HAL9004> If you're behind a router with a firewall (and running AV scanning email, etc.) do you need one of these additional products? Rocky ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 30, 2005 8:51 AM Subject: Re: [AccessD] OT: free Sygate personal >I just started to use the free version of the Outpost firewall and I have >to > say I'm very happy with it. > > http://www.agnitum.com/products/outpostfree/download.php > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 30, 2005 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: free Sygate personal > > > Is the free version of the Sygate firewall now gone? Symantic bought > Sygate > and I cannot find a "download free version" link anymore. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robert at servicexp.com Wed Nov 30 22:54:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 30 Nov 2005 23:54:13 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F9A@gbsserver.GBS.local> Hey Drew, Yes Indeed I found it, however the code is based on the winsock.dll which I guess is not installed by default. I guess you need Vb6 to distribute it, SO I have started the process of puzzling out a system using the http://www.ostrosoft.com/oswinsck.asp .dll Interesting but not fun.... :-) Thanks For You Help!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 30, 2005 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jengross at gte.net Wed Nov 30 23:07:18 2005 From: jengross at gte.net (Jennifer Gross) Date: Wed, 30 Nov 2005 21:07:18 -0800 Subject: [AccessD] Database Corruption Message-ID: <004c01c5f635$1daffea0$6501a8c0@jefferson> I have a multi-user (approximately 15 users) database split BE and FE, with the FE residing on each individual work station or Terminal Server in separate user directories. About a week ago IT moved the BE to a SAN and since then we have been experiencing corruption of the BE about 3 times a day. I have imported all the tables and relationships into a new database - still corrupting, rolled back the FE to one that was stable prior to the corruptions starting - still corrupting, moved the BE back to the server off the SAN - still corrupting and now I am going to import the table structures into a new database and then import the data into the new tables. It is an A2K FE and BE. Most users are on Win2K with A2K, some are on WinXP with AXP or A2003. Does anyone have any ideas what could be going on here? Any suggestions are appreciated. Thanks in advance, Jennifer Gross From DWUTKA at marlow.com Wed Nov 30 23:17:24 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 23:17:24 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1EE@main2.marlow.com> I could compile a winsock project for you if you want. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Wednesday, November 30, 2005 10:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Hey Drew, Yes Indeed I found it, however the code is based on the winsock.dll which I guess is not installed by default. I guess you need Vb6 to distribute it, SO I have started the process of puzzling out a system using the http://www.ostrosoft.com/oswinsck.asp .dll Interesting but not fun.... :-) Thanks For You Help!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 30, 2005 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 23:53:19 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 23:53:19 -0600 Subject: [AccessD] Database Corruption In-Reply-To: <004c01c5f635$1daffea0$6501a8c0@jefferson> References: <004c01c5f635$1daffea0$6501a8c0@jefferson> Message-ID: Hi Jennifer, In my experiences with corruptions over the years, pretty much all of them have been caused by network connectivity issues. Even with the database moved off the SAN ad back to the original server, did they still have other drives mapped to the SAN?? Did all the workstations reboot after the move back?? I am theorizing that some connectivity issue with the SAN is causing the workstations to go into some temporary wait state and then the Access database thinks the user has disconnected....and bang, it sets the corrupted flag and the next user that tries to get in is locked out until the compact/repair is done. Good luck figuring it out, its likely gonna be tough. GK On 11/30/05, Jennifer Gross wrote: > I have a multi-user (approximately 15 users) database split BE and FE, > with the FE residing on each individual work station or Terminal Server > in separate user directories. About a week ago IT moved the BE to a SAN > and since then we have been experiencing corruption of the BE about 3 > times a day. I have imported all the tables and relationships into a > new database - still corrupting, rolled back the FE to one that was > stable prior to the corruptions starting - still corrupting, moved the > BE back to the server off the SAN - still corrupting and now I am going > to import the table structures into a new database and then import the > data into the new tables. > > It is an A2K FE and BE. Most users are on Win2K with A2K, some are on > WinXP with AXP or A2003. Does anyone have any ideas what could be going > on here? Any suggestions are appreciated. > > Thanks in advance, > > Jennifer Gross > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Wed Nov 30 23:55:44 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 23:55:44 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <036501c5f630$14ba8b80$6a01a8c0@HAL9004> References: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> <036501c5f630$14ba8b80$6a01a8c0@HAL9004> Message-ID: The firewall mostly protects you from stuff going OUT, not coming in. The built into Xp firewall is getting better. I might be trusting it on one or more of my systems. Or not. Don't want to tip my hand ;-) On 11/30/05, Rocky Smolin - Beach Access Software wrote: > If you're behind a router with a firewall (and running AV scanning email, > etc.) do you need one of these additional products? > > Rocky > > ----- Original Message ----- > From: "Heenan, Lambert" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 30, 2005 8:51 AM > Subject: Re: [AccessD] OT: free Sygate personal > > > >I just started to use the free version of the Outpost firewall and I have > >to > > say I'm very happy with it. > > > > http://www.agnitum.com/products/outpostfree/download.php > > > > Lambert > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Wednesday, November 30, 2005 10:28 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] OT: free Sygate personal > > > > > > Is the free version of the Sygate firewall now gone? Symantic bought > > Sygate > > and I cannot find a "download free version" link anymore. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Andrew.Curtis at wapl.com.au Wed Nov 30 23:45:30 2005 From: Andrew.Curtis at wapl.com.au (Curtis, Andrew (WAPL)) Date: Thu, 1 Dec 2005 13:45:30 +0800 Subject: [AccessD] Database Corruption Message-ID: We have had some problems when the filepath from the server perspective is longer than 255 characters for the BE. I.E you may access the BE via a share name (\\server\sharename\BE.mdb), however the REAL file path on the server may be something like S:\databases for public use\department one\..\..\..\BE.MDB When the BE.mdb path may actually be longer than 255 characters Also check Microsoft for file locking issue with Windows XP non SP workstations on Windows 2003 servers. You have said that this has only been a problem since the SAN move, is the new SAN hosts 2003? And the old server host was 2000? If this is the case, file locking by the CLIENT is likely. --andrew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, 1 December 2005 1:07 PM To: AccessD List Subject: [AccessD] Database Corruption I have a multi-user (approximately 15 users) database split BE and FE, with the FE residing on each individual work station or Terminal Server in separate user directories. About a week ago IT moved the BE to a SAN and since then we have been experiencing corruption of the BE about 3 times a day. I have imported all the tables and relationships into a new database - still corrupting, rolled back the FE to one that was stable prior to the corruptions starting - still corrupting, moved the BE back to the server off the SAN - still corrupting and now I am going to import the table structures into a new database and then import the data into the new tables. It is an A2K FE and BE. Most users are on Win2K with A2K, some are on WinXP with AXP or A2003. Does anyone have any ideas what could be going on here? Any suggestions are appreciated. Thanks in advance, Jennifer Gross -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message. From stuart at lexacorp.com.pg Tue Nov 1 00:50:25 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 01 Nov 2005 16:50:25 +1000 Subject: [AccessD] New Wheel Encryption Add-in In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F59@main2.marlow.com> Message-ID: <43679CD1.11867.1F36E281@stuart.lexacorp.com.pg> On 31 Oct 2005 at 11:49, DWUTKA at marlow.com wrote: > My my my, you lean something new everyday! I never realized that Mid was a > function that you could 'set', like Date(), and Time() > > Go figure. You obviously weren't following the recent thread on creating text files. I gave an example a few days ago using Mid$(): strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) -- Stuart From Gustav at cactus.dk Tue Nov 1 04:19:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 11:19:21 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all Well, Shamil did the dll in C++ and the result is amazing. A simple function runs the dll like this and returns the execution time in seconds: Public Function IArrayTimeLocal_ArrayTimeLocal( _ ByVal vlngSequences As Long, _ ByVal lngLoopMax As Long, _ strTotalCnt As String) As Long Dim obj As Object ' ArrayCruncherLib.Test Set obj = CreateObject("ArrayCruncher.Test") IArrayTimeLocal_ArrayTimeLocal = obj.ArrayTimeLocal(vlngSequences, lngLoopMax, strTotalCnt) Set obj = Nothing End Function It is essential the same as those functions used to test clean VBA and the DLL made with PowerBasic or FreeBASIC, but with an added multiplier, vlngSequences, to prevent too large values for lngLoopMax. For comparison I ran the test like this: ? IArrayTimeLocal_ArrayTimeLocal(1, 10 ^ 8, a$) This runs on my machine in 20 seconds! To summarize, this means that the result table for 10^6 loops now is (with converted time for PowerBasic from Stuart): ArrayTimeLocal: 34 seconds ArrayTimeDLL: 3.4 seconds (PowerBasic dll measured with 10^7 loops) ArrayTimeDLL: 2.2 seconds (FreeBASIC dll measured with 10^7 loops) IArrayTimeLocal_ArrayTimeLocal: 0.2 seconds (measured with 10^8 loops) Or to express it as speed improvement compared to VBA: VBA: 1:1 PowerBasic dll: 10:1 FreeBASIC dll: 15.5:1 C++ dll: 170:1 and compared to the FreeBASIC dll: C++ dll: 11:1 I knew C++ was fast but not this fast. I doubt you can program this in Assembler to run faster without a very deep understanding of both Assembler and how to optimize code for different Intel processors and even though it would take days if not weeks to program. Seems like if you do applications where some routines do millions of iterations, you better team up with a decent C++ programmer if not an expert like Shamil and move those functions and classes to external libraries. /gustav >>> Gustav at cactus.dk 30-10-2005 21:16 >>> Hi Marty, Shamil, Fred et all Well, I did a small and quite surprising test inspired by Shamil. Here is a test routine which can be seen as typical for what I do. The array is not large but it is read from and written to a bunch of times. Here is the local test using standard VBA: Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long Const lngItems As Long = 100 Dim alngTmp(1 To lngItems, 1 To 2) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double dblStart = Timer For lngLoop = 1 To lngLoopMax For lngItem = 1 To lngItems alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) ArrayTimeLocal = lngSeconds End Function And this is the test function using an DLL containing nearly identical code: Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long ArrayTimeDLL = ArrayTime(lngLoopMax) End Function The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. Setting lngLoopMax to 10^6 returns these running times for the two functions: ArrayTimeLocal: 34 seconds ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. /gustav From Gustav at cactus.dk Tue Nov 1 05:05:55 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 12:05:55 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Thanks! I posted the results in a previous message. I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. A learning experience indeed. /gustav >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil From bheid at appdevgrp.com Tue Nov 1 07:16:51 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 1 Nov 2005 08:16:51 -0500 Subject: [AccessD] Convert to Double - Excel OT In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7281@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1DD@ADGSERVER> This is just a WAG, but assuming that data in columns 15 and 9 are the integers, I'd do something like: Cells(irow, 18).Value = getNPPTLCell(cdbl(.Cells(irow, 15).Value), _ cdbl(.Cells(irow, 9).Value)) What does the function getNPPTLCell do? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 31, 2005 9:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Convert to Double - Excel OT I need to convert a number that is an integer to double format, as my routine is comparing an integer to a formula that contains decimals, and naturally Excel is rounding up, causing my select statement to jump to the next level of qualifications when any integer ends in the number 5. Does anyone know where in the world I would put the CDbl() in this statement: Cells(irow, 18).Value = getNPPTLCell(.Cells(irow, 15).Value, .Cells(irow, 9).Value) I have to define as rows as I am looping through the spreadsheet. Happy Halloween to all! Karen S. Nicholson From DWUTKA at marlow.com Tue Nov 1 07:32:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 1 Nov 2005 07:32:18 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F63@main2.marlow.com> Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. Drew -----Original Message----- From: Stuart McLachlan [SMTP:stuart at lexacorp.com.pg] Sent: Tuesday, November 01, 2005 12:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Wheel Encryption Add-in On 31 Oct 2005 at 11:49, DWUTKA at marlow.com wrote: > My my my, you lean something new everyday! I never realized that Mid was a > function that you could 'set', like Date(), and Time() > > Go figure. You obviously weren't following the recent thread on creating text files. I gave an example a few days ago using Mid$(): strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 1 07:49:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 14:49:05 +0100 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: Hi Drew Well, one thread to check out, is: Array faster in DLL? That could really spin up your wheel encryption ... /gustav >>> DWUTKA at marlow.com 01-11-2005 14:32 >>> Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. From Gustav at cactus.dk Tue Nov 1 08:04:06 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 15:04:06 +0100 Subject: [AccessD] Oracle 10g Express Edition Message-ID: Hi all This is the official message published today: http://www.oracle.com/technology/products/database/xe/index.html /gustav >>> Gustav at cactus.dk 31-10-2005 16:00 >>> Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. From accessd at shaw.ca Tue Nov 1 11:38:35 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 01 Nov 2005 09:38:35 -0800 Subject: [AccessD] OT: Oracle 10g Express Edition In-Reply-To: Message-ID: <00fc01c5df0b$15cd2f50$017ba8c0@xpserver> Hi Gustav: Just received this comments from an OpenSource product research insider and I quote: Yes and no... they just recently acquired the company behind Innodb, which is an opensource project developed as a key component to MySQL. Oracle has been in talks with MySQL, but it's a bit hush. Oracle is publicly making a lot of promises about this and that, so not to p*** off the open source community (we remember what happened with SCO, right?), I think a lot of people are worried that Oracle has the potential for hostility against the MySQL world, as they have _no_ history of open source contributions, whereas the OS community trusts IBM for example... but on the other hand, they might give some technology to MySQL as a trade to get a better rep, like IBM We shall see. I don't have much hope for oracle, because, unless they are completely stupid, opensource is creeping into their territory and they need to change their business plan if they want to stay relevant. ...and, as far as I am aware, just like Microsoft, they haven't. All these comments are not my opinion but I thought they would be relevant. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 01, 2005 6:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Oracle 10g Express Edition Hi all This is the official message published today: http://www.oracle.com/technology/products/database/xe/index.html /gustav >>> Gustav at cactus.dk 31-10-2005 16:00 >>> Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Nov 1 12:04:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 01 Nov 2005 10:04:38 -0800 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> My hats off to you Gustav, Shamil and Stuart. Watching the exercises in array manipulation, in language performance and design has been very enlightening. I would like to be so bold as to ask whether any of you would mind if I placed the discussion exercise on our DBA web site. Appropriate credits will be applied. I can be contacted either on or off line. Jim The DBA web guy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, November 01, 2005 3:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Shamil Thanks! I posted the results in a previous message. I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. A learning experience indeed. /gustav >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 1 12:12:38 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 01 Nov 2005 19:12:38 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim I certainly don't mind, you are most welcome! /gustav >>> accessd at shaw.ca 01-11-2005 19:04 >>> I would like to be so bold as to ask whether any of you would mind if I placed the discussion exercise on our DBA web site. Appropriate credits will be applied. I can be contacted either on or off line. Jim The DBA web guy From shamil at users.mns.ru Tue Nov 1 12:26:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:26:38 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <00b101c5df11$dbb75370$6401a8c0@fincomplex.spb.ru> You're welcome, Gustav! That was an interesting test to implement. And it brought me some new experience. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 01, 2005 2:05 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Thanks! I posted the results in a previous message. > > I appreciate very much you took the time to create this dll. It certainly has brought a new perspective. > A learning experience indeed. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > > Very nice! I'm looking forward ... > Here it's Gustav - final results: > > VB6: 400,000,000 cycles in ~20 seconds > > C++: 10,000,000,000 cycles in ~18-19 seconds > > All the source code and test executables can be downloaded from: > http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) > > That was a quick test work but one can find some VB6 advanced coding with > Implements, which shows (IMHO) why low coupling and high cohesion is a good > and very practically oriented idea (especially for long run projects). > > Of course there is there also a direct coding - advanced a la' OOP was added > to start it getting generalized for someone else to maybe add other > languages test cases - anybody? > > Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the > test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run > enclosed batch file regme.bat > > Enjoy! > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 1 12:24:03 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:24:03 +0300 Subject: [AccessD] New Wheel Encryption Add-in References: Message-ID: <00b001c5df11$db9aa3b0$6401a8c0@fincomplex.spb.ru> Gustav and Drew, The code below with 10^5 chars string concatenation works within 1 second. 10^6 chars string concatenation works for ~10 secs on my PC. So before diving into C++ maybe some easy tricks on VB6/VBA can be used if they are good enough for a certain task? Please take into account that sample code below is just for demostation purposes - it wasn't made "rock solid" as it should be.... ' TEST code Private Sub Command1_Click() Dim obj As New CStringConcatenator Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) 'strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) obj.Add LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") strTemp2 = obj.Result MsgBox strTemp2 End Sub ' === cut here ==== ' Little tricky sample class to concat strings written by SS Private Const mcstrClassName As String = "CStringConcatenator" Private fileNumber As Integer Private fileFullPath As String Private Sub Class_Initialize() fileNumber = FreeFile fileFullPath = App.Path & "\~concat.tmp.txt" If Len(Dir(fileFullPath, vbNormal)) > 0 Then Kill fileFullPath Open fileFullPath For Binary Access Read Write As #fileNumber End Sub Private Sub Class_Terminate() Close #fileNumber End Sub Public Sub Add(ByVal vstr As String) Put #fileNumber, , vstr End Sub Public Property Get Result() As String Dim lngFileLen As Long Dim strResult As String lngFileLen = LOF(fileNumber) strResult = String(lngFileLen, Chr(0)) Seek #fileNumber, 1 Get #fileNumber, , strResult Result = strResult End Property HTH, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, November 01, 2005 4:49 PM Subject: Re: [AccessD] New Wheel Encryption Add-in > Hi Drew > > Well, one thread to check out, is: > > Array faster in DLL? > > That could really spin up your wheel encryption ... > > /gustav > > >>> DWUTKA at marlow.com 01-11-2005 14:32 >>> > Sorry, haven't paid a lot of attention to AccessD lately. Just been busy. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 1 12:37:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 1 Nov 2005 21:37:58 +0300 Subject: [AccessD] Array faster in DLL? References: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> Message-ID: <00d201c5df13$72f97190$6401a8c0@fincomplex.spb.ru> Jim, I don't mind. You're welcome to publish on DBA web site whatever you wanted from the stuff I wrote for this thread! Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 01, 2005 9:04 PM Subject: Re: [AccessD] Array faster in DLL? > My hats off to you Gustav, Shamil and Stuart. Watching the exercises in > array manipulation, in language performance and design has been very > enlightening. > > I would like to be so bold as to ask whether any of you would mind if I > placed the discussion exercise on our DBA web site. Appropriate credits will > be applied. I can be contacted either on or off line. > > Jim > The DBA web guy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Tuesday, November 01, 2005 3:06 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > Hi Shamil > > Thanks! I posted the results in a previous message. > > I appreciate very much you took the time to create this dll. It certainly > has brought a new perspective. > A learning experience indeed. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 20:31 >>> > > Very nice! I'm looking forward ... > Here it's Gustav - final results: > > VB6: 400,000,000 cycles in ~20 seconds > > C++: 10,000,000,000 cycles in ~18-19 seconds > > All the source code and test executables can be downloaded from: > http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) > > That was a quick test work but one can find some VB6 advanced coding with > Implements, which shows (IMHO) why low coupling and high cohesion is a good > and very practically oriented idea (especially for long run projects). > > Of course there is there also a direct coding - advanced a la' OOP was added > to start it getting generalized for someone else to maybe add other > languages test cases - anybody? > > Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the > test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run > enclosed batch file regme.bat > > Enjoy! > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rupert_bennett at msn.com Tue Nov 1 13:24:15 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Tue, 01 Nov 2005 14:24:15 -0500 Subject: [AccessD] ActiveX Component Can't Create Object In-Reply-To: <00df01c5de93$63462f70$6101a8c0@JISREGISTRATION.local> Message-ID: This does not seem to be the problem. I downloaded the latest version last night. Any other suggestions are welcome. rupert >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] ActiveX Component Can't Create Object >Date: Mon, 31 Oct 2005 22:21:45 -0500 > >...I'd take a look at your MDAC ...either corrupted or an older version >maybe. > >William > >----- Original Message ----- >From: "Rupert Bennett" >To: >Sent: Monday, October 31, 2005 9:20 PM >Subject: [AccessD] ActiveX Component Can't Create Object > > > > Hi, > > I must have tinkered around and done something wrong, but I can't use > > objects from my toolbox or any of my wizards anymore. I have all the >most > > recent updates and service packs installed. I also upgraded to Access >2003 > > in the hope that this would solve the problem, but to no avail. Each >time > > I try to use a control from my toolbox or use any of the wizards, I get >a > > message saying "ActiveX Component can't create object". Does anyone know > > what the problem could be and what I could do to fix this? > > Thanks, > > Rupert > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Tue Nov 1 15:27:06 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2005 07:27:06 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: <00fd01c5df0e$b9ac7330$017ba8c0@xpserver> References: Message-ID: <43686A4A.18217.22598396@stuart.lexacorp.com.pg> On 1 Nov 2005 at 10:04, Jim Lawrence wrote: > My hats off to you Gustav, Shamil and Stuart. Watching the exercises in > array manipulation, in language performance and design has been very > enlightening. > > I would like to be so bold as to ask whether any of you would mind if I > placed the discussion exercise on our DBA web site. Appropriate credits will > be applied. I can be contacted either on or off line. > OK by me. -- Stuart From robert at servicexp.com Tue Nov 1 17:52:27 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 1 Nov 2005 18:52:27 -0500 Subject: [AccessD] ActiveX Component Can't Create Object Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F7B@gbsserver.GBS.local> Does this result take place on a brand new, empty db? Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rupert Bennett Sent: Tuesday, November 01, 2005 2:46 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] ActiveX Component Can't Create Object This does not seem to be the problem. I downloaded the latest version last night. Any other suggestions are welcome. rupert >From: "William Hindman" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] ActiveX Component Can't Create Object >Date: Mon, 31 Oct 2005 22:21:45 -0500 > >...I'd take a look at your MDAC ...either corrupted or an older version >maybe. > >William > >----- Original Message ----- >From: "Rupert Bennett" >To: >Sent: Monday, October 31, 2005 9:20 PM >Subject: [AccessD] ActiveX Component Can't Create Object > > > > Hi, > > I must have tinkered around and done something wrong, but I can't use > > objects from my toolbox or any of my wizards anymore. I have all the >most > > recent updates and service packs installed. I also upgraded to Access >2003 > > in the hope that this would solve the problem, but to no avail. Each >time > > I try to use a control from my toolbox or use any of the wizards, I get >a > > message saying "ActiveX Component can't create object". Does anyone know > > what the problem could be and what I could do to fix this? > > Thanks, > > Rupert > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 1 18:15:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 01 Nov 2005 16:15:52 -0800 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <43680538.10206@shaw.ca> You receive a "ActiveX component can't create object" error message when using Access http://support.microsoft.com/kb/q319844/ I'll bet on unregistered DA360.dll out of the five listed above. It is a common reason from 97 onward. Rupert Bennett wrote: >This does not seem to be the problem. I downloaded the latest version last >night. Any other suggestions are welcome. >rupert > > > > >>From: "William Hindman" >>Reply-To: Access Developers discussion and problem >>solving >>To: "Access Developers discussion and problem >>solving" >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" >>To: >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> >> >>>Hi, >>>I must have tinkered around and done something wrong, but I can't use >>>objects from my toolbox or any of my wizards anymore. I have all the >>> >>> >>most >> >> >>>recent updates and service packs installed. I also upgraded to Access >>> >>> >>2003 >> >> >>>in the hope that this would solve the problem, but to no avail. Each >>> >>> >>time >> >> >>>I try to use a control from my toolbox or use any of the wizards, I get >>> >>> >>a >> >> >>>message saying "ActiveX Component can't create object". Does anyone know >>>what the problem could be and what I could do to fix this? >>>Thanks, >>>Rupert >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/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 martyconnelly at shaw.ca Tue Nov 1 18:19:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 01 Nov 2005 16:19:10 -0800 Subject: [AccessD] Oracle 10g Express Edition References: Message-ID: <436805FE.6000703@shaw.ca> Or they are worried about MS SQL Express. Both database have same size limits. Gustav Brock wrote: >Hi all > >This is the official message published today: > > http://www.oracle.com/technology/products/database/xe/index.html > >/gustav > > > >>>>Gustav at cactus.dk 31-10-2005 16:00 >>> >>>> >>>> >Hi all > >This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. >It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. > >It is still in beta though ... whatever that is as 10g has been around for some time. >It's a 157 MB download. > > > > -- Marty Connelly Victoria, B.C. Canada From wdhindman at bellsouth.net Tue Nov 1 19:01:25 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 1 Nov 2005 20:01:25 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <008e01c5df48$f4415990$6101a8c0@JISREGISTRATION.local> ...did you delete the original before installing the new version? ...if they are the same version it will report the install but may not actually replace it. William ----- Original Message ----- From: "Rupert Bennett" To: Sent: Tuesday, November 01, 2005 2:24 PM Subject: Re: [AccessD] ActiveX Component Can't Create Object > This does not seem to be the problem. I downloaded the latest version last > night. Any other suggestions are welcome. > rupert > > >>From: "William Hindman" >>Reply-To: Access Developers discussion and problem >>solving >>To: "Access Developers discussion and problem >>solving" >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" >>To: >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> > Hi, >> > I must have tinkered around and done something wrong, but I can't use >> > objects from my toolbox or any of my wizards anymore. I have all the >>most >> > recent updates and service packs installed. I also upgraded to Access >>2003 >> > in the hope that this would solve the problem, but to no avail. Each >>time >> > I try to use a control from my toolbox or use any of the wizards, I get >>a >> > message saying "ActiveX Component can't create object". Does anyone >> > know >> > what the problem could be and what I could do to fix this? >> > Thanks, >> > Rupert >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rupert_bennett at msn.com Tue Nov 1 19:52:14 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Tue, 1 Nov 2005 20:52:14 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: <43680538.10206@shaw.ca> Message-ID: This seems to have been the problem. It was fixed after registering the DAO360.dll. Thanks Thanks for your help ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Tuesday, November 01, 2005 7:15 PM Subject: Re: [AccessD] ActiveX Component Can't Create Object You receive a "ActiveX component can't create object" error message when using Access http://support.microsoft.com/kb/q319844/ I'll bet on unregistered DA360.dll out of the five listed above. It is a common reason from 97 onward. Rupert Bennett wrote: >This does not seem to be the problem. I downloaded the latest version last >night. Any other suggestions are welcome. >rupert > > > > >>From: "William Hindman" > >>Reply-To: Access Developers discussion and problem >>solving> >>To: "Access Developers discussion and problem >>solving"> >>Subject: Re: [AccessD] ActiveX Component Can't Create Object >>Date: Mon, 31 Oct 2005 22:21:45 -0500 >> >>...I'd take a look at your MDAC ...either corrupted or an older version >>maybe. >> >>William >> >>----- Original Message ----- >>From: "Rupert Bennett" > >>To: > >>Sent: Monday, October 31, 2005 9:20 PM >>Subject: [AccessD] ActiveX Component Can't Create Object >> >> >> >> >>>Hi, >>>I must have tinkered around and done something wrong, but I can't use >>>objects from my toolbox or any of my wizards anymore. I have all the >>> >>> >>most >> >> >>>recent updates and service packs installed. I also upgraded to Access >>> >>> >>2003 >> >> >>>in the hope that this would solve the problem, but to no avail. Each >>> >>> >>time >> >> >>>I try to use a control from my toolbox or use any of the wizards, I get >>> >>> >>a >> >> >>>message saying "ActiveX Component can't create object". Does anyone know >>>what the problem could be and what I could do to fix this? >>>Thanks, >>>Rupert >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Nov 2 00:19:28 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 1 Nov 2005 22:19:28 -0800 Subject: [AccessD] AXP & A2k3 Message-ID: <000001c5df75$6215a300$0a01a8c0@desktop> Anyone load them on the same machine & partition. Different folders. Do they play well like that? Thanks Joe From shamil at users.mns.ru Wed Nov 2 03:16:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 12:16:53 +0300 Subject: [AccessD] AXP & A2k3 References: <000001c5df75$6215a300$0a01a8c0@desktop> Message-ID: <000301c5df95$1037f130$6401a8c0@fincomplex.spb.ru> Joe, I have Access2.0/97/2000/XP/2003 on the same PC, on the same logical disk and in different folders of course. They play well like that. Shamil ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 02, 2005 9:19 AM Subject: [AccessD] AXP & A2k3 > Anyone load them on the same machine & partition. Different folders. Do they > play well like that? > > Thanks > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 2 08:25:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 17:25:57 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... Message-ID: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Hi All, Could you please, anybody who has non-MS email clients, check that this code popups your email client send mail window? Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long public Sub TestSendMail() Dim strAddr As String Dim strSubj As String Dim strBody As String strAddr = "nobody at ghost.net" strSubj = "Prepare e-mail message via ShellExecute" strBody = "First line%0d%0aSecond line%0d%0aThird line..." Call ShellExecute(0&, vbNullString, _ "mailto:" & strAddr & _ "?Subject=" & strSubj & _ "&body=" & strBody, _ vbNullString, vbNullString, vbNormalFocus) End Sub Thank you, Shamil From JHewson at karta.com Wed Nov 2 08:35:50 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 2 Nov 2005 08:35:50 -0600 Subject: [AccessD] AXP & A2k3 Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0370B736@karta-exc-int.Karta.com> I have Access 97/2000/XP/2003 also. They work well together. What I have found is that to "force" one version to open for any given database file, I put the path of the Access executable in the shortcut. Otherwise, A2003 always opens. I can't figure out how to make the last version opened start. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 02, 2005 3:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AXP & A2k3 Joe, I have Access2.0/97/2000/XP/2003 on the same PC, on the same logical disk and in different folders of course. They play well like that. Shamil ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 02, 2005 9:19 AM Subject: [AccessD] AXP & A2k3 > Anyone load them on the same machine & partition. Different folders. Do they > play well like that? > > Thanks > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 2 08:35:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 02 Nov 2005 15:35:57 +0100 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... Message-ID: Hi Shamil It does with GroupWise as the primary mail client. To: nobody at ghost.net Subject: Prepare e-mail message via ShellExecute Body: First line Second line Third line... /gustav >>> shamil at users.mns.ru 02-11-2005 15:25 >>> Hi All, Could you please, anybody who has non-MS email clients, check that this code popups your email client send mail window? From bchacc at san.rr.com Wed Nov 2 09:08:20 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 2 Nov 2005 07:08:20 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> <004401c5de46$16076eb0$0600a8c0@v1000> Message-ID: <009501c5dfbf$435fda30$6501a8c0@HAL9004> Lembit: I think you may be right. But I hate to make changes I can't test. I wish there were a way to get it to fail consistently. Regards, Rocky ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 10:08 AM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report >I guess you should put the second command into the OnOpen or better even > OnLoad event of the frmMainMenu. It might not like closing the form while > the open command is still being executed. > > Lembit > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Monday, October 31, 2005 6:42 PM > Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > > >> Dear List: >> >> Does anyone know why a user should generate this error: >> >> Error: 2585 - This action can't be carried out while processing a form or >> report event. >> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >> It occurs in a sub menu - unbound form. The click routine just opens the >> main menu and closes this sub menu. It doesn't occur consistently. I >> can't >> get it to repeat and a couple of users who have gotten it can't get it to >> occur with any regularity. Some users never get it. >> >> The code in the click event (I stripped out the error trapping) is: >> >> DoCmd.OpenForm ("frmMainMenu") >> DoCmd.Close acForm, "frmMaterialPlanning" >> >> Any ideas? >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> ----- Original Message ----- >> From: "Laurie" >> To: >> Sent: Monday, October 31, 2005 9:35 AM >> Subject: E-Z-MRP(tm) Error Report >> >> >> Error: 2585 - This action can't be carried out while processing a form or >> report event. >> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> -- >> Internal Virus Database is out-of-date. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >> 28.10.2005 >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shait at mindspring.com Wed Nov 2 10:19:02 2005 From: shait at mindspring.com (Stephen Hait) Date: Wed, 2 Nov 2005 11:19:02 -0500 Subject: [AccessD] AXP & A2k3 In-Reply-To: <000001c5df75$6215a300$0a01a8c0@desktop> Message-ID: <4368A0A6.27355.9A48103@localhost> > Anyone load them on the same machine & partition. Different folders. > Do they play well like that? You should be able to run multiple versions of Access on the same machine - I do. One tool that helps with this is called Access Version Checker. http://www.aylott.com.au/accver.htm This allows opening an Access file with the correct version of Access as well as giving you a quick way to determine what version of Access a file was created with. HTH, Stephen From shamil at users.mns.ru Wed Nov 2 11:16:51 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 20:16:51 +0300 Subject: [AccessD] FYI: What CIOs Need To Know About Office 12 Message-ID: <001701c5dfd1$41c055d0$6401a8c0@fincomplex.spb.ru> http://www.cio-today.com/story.xhtml?story_id=1330000323MJ "We're not trying to single out Microsoft here, but rather note that heterogeneity allows businesses to tolerate threats more effectively, just as biological diversity allows populations to better tolerate disease." Shamil . From lembit.soobik at t-online.de Wed Nov 2 10:40:26 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 2 Nov 2005 17:40:26 +0100 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000> <009501c5dfbf$435fda30$6501a8c0@HAL9004> Message-ID: <001201c5dfcc$216a6370$0600a8c0@v1000> I'm not sure how to make it fail for sure :) but you can try to install it on a very slow and on a very fast PC from your info it seems to try to close the form while it is still starting to open the other form, so it may be either closing too fast or opening too slowly. you could try to put a ton of controls on the form to be opened, which is a lot of work and no guarantee for success. you could also try to run it on a PC where the cpu is temperaturewise on the upper limit (to reduce its speed) or cool it down to increase speed Also you can ask the users on what PCs they are using it when they have the failure and see whether tat are very slow ones. Lembit ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 4:08 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Lembit: > > I think you may be right. But I hate to make changes I can't test. I > wish > there were a way to get it to fail consistently. > > Regards, > > Rocky > > ----- Original Message ----- > From: "Lembit Soobik" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 31, 2005 10:08 AM > Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > > >>I guess you should put the second command into the OnOpen or better even >> OnLoad event of the frmMainMenu. It might not like closing the form while >> the open command is still being executed. >> >> Lembit >> >> ----- Original Message ----- >> From: "Rocky Smolin - Beach Access Software" >> To: >> Sent: Monday, October 31, 2005 6:42 PM >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report >> >> >>> Dear List: >>> >>> Does anyone know why a user should generate this error: >>> >>> Error: 2585 - This action can't be carried out while processing a form >>> or >>> report event. >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >>> >>> It occurs in a sub menu - unbound form. The click routine just opens >>> the >>> main menu and closes this sub menu. It doesn't occur consistently. I >>> can't >>> get it to repeat and a couple of users who have gotten it can't get it >>> to >>> occur with any regularity. Some users never get it. >>> >>> The code in the click event (I stripped out the error trapping) is: >>> >>> DoCmd.OpenForm ("frmMainMenu") >>> DoCmd.Close acForm, "frmMaterialPlanning" >>> >>> Any ideas? >>> >>> MTIA, >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> >>> ----- Original Message ----- >>> From: "Laurie" >>> To: >>> Sent: Monday, October 31, 2005 9:35 AM >>> Subject: E-Z-MRP(tm) Error Report >>> >>> >>> Error: 2585 - This action can't be carried out while processing a form >>> or >>> report event. >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >>> -- >>> Internal Virus Database is out-of-date. >>> Checked by AVG Anti-Virus. >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >>> >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> -- >>> No virus found in this incoming message. >>> Checked by AVG Free Edition. >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >>> 28.10.2005 >>> >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: 01.11.2005 > > From carbonnb at gmail.com Wed Nov 2 11:29:13 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 2 Nov 2005 12:29:13 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: On 02/11/05, Shamil Salakhetdinov wrote: > Could you please, anybody who has non-MS email clients, check that this code > popups your email client send mail window? Works for me with Groupwise as well. I'll check at home tonight to see if it works with Pegasus Mail, if I get the chance. -- 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 shamil at users.mns.ru Wed Nov 2 12:13:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 21:13:31 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: Message-ID: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> Thank you, Gustav! So it works well for non-MS mail clients running of MS Windows. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 02, 2005 5:35 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > Hi Shamil > > It does with GroupWise as the primary mail client. > > To: nobody at ghost.net > Subject: Prepare e-mail message via ShellExecute > Body: > First line > Second line > Third line... > > /gustav > > >>> shamil at users.mns.ru 02-11-2005 15:25 >>> > Hi All, > > Could you please, anybody who has non-MS email clients, check that this code > popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 12:50:27 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 13:50:27 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F06@EXCNYSM0A1AI.nysemail.nyenet> One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** From mboyd at deloitte.com Wed Nov 2 12:55:03 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 13:55:03 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: Patti - First, make sure there is a default printer installed. If there is, I recommend removing it, and re-installing. I've seen a number of preview/printing issues related to Access reports, generally resulting in an issue with the default printer. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 - Page Setup and Print not working One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From shamil at users.mns.ru Wed Nov 2 13:04:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 22:04:23 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: <009201c5dfe0$3e9fb710$6401a8c0@fincomplex.spb.ru> Thank you, Bryan, I should work with Pegasus mail too I guess. How it works under MS Windows "hoods" is described here: http://www.microsoft.com/mind/0199/cutting/cutting0199.asp Shamil ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 8:29 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > On 02/11/05, Shamil Salakhetdinov wrote: > > > Could you please, anybody who has non-MS email clients, check that this code > > popups your email client send mail window? > > Works for me with Groupwise as well. I'll check at home tonight to see > if it works with Pegasus Mail, if I get the chance. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:13:30 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:13:30 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F08@EXCNYSM0A1AI.nysemail.nyenet> Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Wed Nov 2 13:26:33 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 14:26:33 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: On a pc where the app is printing fine, is the default printer selected for the report(s) within Page Setup, or is a specific printer selected? You mentioned that you tried setting up a different printer. Did you first remove the default printer entirely, then re-add it? Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 2:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 2 13:30:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 02 Nov 2005 11:30:04 -0800 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> Message-ID: <436913BC.3010304@shaw.ca> Mine doesn't work with Netscape Composer But I know why. The Shell command should return this error but you wont see it "Could not perform this operation because the default mail client is not properly installed." The reason is this registry entry below points to Outlook rather than Netscape. HKEY_CLASSES_ROOT\mailto\shell\open\command I installed Netscape then full Office 2003 I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 so the registry key wasn't changed back. One of these days I may do a full install of Netscape 8.0 Shamil Salakhetdinov wrote: >Thank you, Gustav! >So it works well for non-MS mail clients running of MS Windows. > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Wednesday, November 02, 2005 5:35 PM >Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS >emailclients... > > > > >>Hi Shamil >> >>It does with GroupWise as the primary mail client. >> >>To: nobody at ghost.net >>Subject: Prepare e-mail message via ShellExecute >>Body: >>First line >>Second line >>Third line... >> >>/gustav >> >> >> >>>>>shamil at users.mns.ru 02-11-2005 15:25 >>> >>>>> >>>>> >>Hi All, >> >>Could you please, anybody who has non-MS email clients, check that this >> >> >code > > >>popups your email client send mail window? >> >> >>-- >>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 Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:31:25 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:31:25 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F09@EXCNYSM0A1AI.nysemail.nyenet> No did entirely remove the original default printer. We assigned another printer as default and Access still would not print or do page setup. Then moved it reset original as default. Will try entirely removing printer, restarting, and adding it again - see what happens. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 02:27 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > On a pc where the app is printing fine, is the default > printer selected for the report(s) within Page Setup, or is a > specific printer selected? > > You mentioned that you tried setting up a different printer. > Did you first remove the default printer entirely, then re-add it? > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 2:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Tried to set up a different printer - no good even restarted access > > When you put the cursor near the printer in word, outlook, excel - the > name of the printer shows up > BUT when you do the same on the access printer it says NO PRINTER. > > Thanks - Any other ideas > Patti > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Boyd, Mark Thomas (US - Philadelphia) > > Sent: Wednesday, November 02, 2005 01:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access 2003 - Page Setup and Print > not working > > > > Patti - > > First, make sure there is a default printer installed. If > > there is, I recommend removing it, and re-installing. I've > > seen a number of preview/printing issues related to Access > > reports, generally resulting in an issue with the default printer. > > > > > > Mark Boyd > > Senior Consultant > > Enterprise Risk Services > > Deloitte & Touche LLP > > > > Tel: +1 215 405 5576 > > mboyd at deloitte.com > > www.deloitte.com > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > > Patricia (OTDA) > > Sent: Wednesday, November 02, 2005 1:50 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > > > One of the people in our office is having a problem with printing > > anything in an Access database. Whenever they try doing the > PAGE SETUP > > and/or Print nothing happens. I tried creating a new test > database to > > see if maybe it was just the DB they were working with, but > > no the same > > thing happened. I had them reboot the machine. I also tried > > the compact > > and repair - still no help. > > > > It is not happening to Excel or Word on that same machine. I also > > checked with DB's on my machine also with no problem. > > > > Any help will be greatly appreciated. > > Thanks > > Patti > > > > ****************************************************************** > > *Patricia O'Connor > > *Associate Computer Programmer Analyst > > *OTDA - BDMA > > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > > *(w) mailto:aa1160 at otda.state.ny.us > > ****************************************************************** > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > This message (including any attachments) contains > > confidential information intended for a specific individual > > and purpose, and is protected by law. If you are not the > > intended recipient, you should delete this message. > > > > > > Any disclosure, copying, or distribution of this message, or > > the taking of any action based on it, is strictly > prohibited. [v.E.1] > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Wed Nov 2 13:32:38 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 13:32:38 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F08@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <001701c5dfe4$2fcba560$6901a8c0@ScuzzPaq> If you go into File | Page Setup and click the Page Tab is the default printer radio button picked or the use specific printer button? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Tried to set up a different printer - no good even restarted access When you put the cursor near the printer in word, outlook, excel - the name of the printer shows up BUT when you do the same on the access printer it says NO PRINTER. Thanks - Any other ideas Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Boyd, Mark Thomas (US - Philadelphia) > Sent: Wednesday, November 02, 2005 01:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Patti - > First, make sure there is a default printer installed. If > there is, I recommend removing it, and re-installing. I've > seen a number of preview/printing issues related to Access > reports, generally resulting in an issue with the default printer. > > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, > Patricia (OTDA) > Sent: Wednesday, November 02, 2005 1:50 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003 - Page Setup and Print not working > > One of the people in our office is having a problem with printing > anything in an Access database. Whenever they try doing the PAGE SETUP > and/or Print nothing happens. I tried creating a new test database to > see if maybe it was just the DB they were working with, but > no the same > thing happened. I had them reboot the machine. I also tried > the compact > and repair - still no help. > > It is not happening to Excel or Word on that same machine. I also > checked with DB's on my machine also with no problem. > > Any help will be greatly appreciated. > Thanks > Patti > > ****************************************************************** > *Patricia O'Connor > *Associate Computer Programmer Analyst > *OTDA - BDMA > *(W) mailto:Patricia.O'Connor at otda.state.ny.us > *(w) mailto:aa1160 at otda.state.ny.us > ****************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > This message (including any attachments) contains > confidential information intended for a specific individual > and purpose, and is protected by law. If you are not the > intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or > the taking of any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 13:37:24 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 14:37:24 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0A@EXCNYSM0A1AI.nysemail.nyenet> The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 02:33 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > If you go into File | Page Setup and click the Page Tab is > the default printer radio button picked or the use specific > printer button? > From cyx5 at cdc.gov Wed Nov 2 13:24:18 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 2 Nov 2005 14:24:18 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: Also make sure that the autocorrect feature is not checked as true, that will mess reports up major. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, November 02, 2005 1:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working Patti - First, make sure there is a default printer installed. If there is, I recommend removing it, and re-installing. I've seen a number of preview/printing issues related to Access reports, generally resulting in an issue with the default printer. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003 - Page Setup and Print not working One of the people in our office is having a problem with printing anything in an Access database. Whenever they try doing the PAGE SETUP and/or Print nothing happens. I tried creating a new test database to see if maybe it was just the DB they were working with, but no the same thing happened. I had them reboot the machine. I also tried the compact and repair - still no help. It is not happening to Excel or Word on that same machine. I also checked with DB's on my machine also with no problem. Any help will be greatly appreciated. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Wed Nov 2 13:57:00 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 2 Nov 2005 14:57:00 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: I recommend ensuring that the most recent Office SP is installed on the pc that is having the problem. Also, have your network admin verify that the printer has the most up-to-date drivers. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 02:33 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > If you go into File | Page Setup and click the Page Tab is > the default printer radio button picked or the use specific > printer button? > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From shamil at users.mns.ru Wed Nov 2 14:25:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 23:25:30 +0300 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> <436913BC.3010304@shaw.ca> Message-ID: <00c201c5dfeb$9a95e2f0$6401a8c0@fincomplex.spb.ru> Marty, May I ask you to run this code below, which shows ShellExecute return value in a message box? When ShellExecute succeed this return value = 42. What it's in your case? Private Declare Function ShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Public Sub TestSendMail() Dim strAddr As String Dim strSubj As String Dim strBody As String Dim lngRet As Long strAddr = "nobody at ghost.net" strSubj = "Prepare e-mail message via ShellExecute" strBody = "First line%0d%0aSecond line%0d%0aThird line..." lngRet = ShellExecute(0&, vbNullString, _ "mailto:" & strAddr & _ "?Subject=" & strSubj & _ "&body=" & strBody, _ vbNullString, vbNullString, vbNormalFocus) MsgBox "ShellExecute return value = " & lngRet, _ vbInformation + vbOKOnly, "Test SE" End Sub Thank you, Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 10:30 PM Subject: Re: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... > Mine doesn't work with Netscape Composer > But I know why. > The Shell command should return this error but you wont see it > "Could not perform this operation because the default mail client is > not properly installed." > The reason is this registry entry below points to Outlook rather than > Netscape. > > HKEY_CLASSES_ROOT\mailto\shell\open\command > > I installed Netscape then full Office 2003 > I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 > so the registry key wasn't changed back. > One of these days I may do a full install of Netscape 8.0 > <<< tail trimmed>>> From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 14:21:01 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 15:21:01 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0B@EXCNYSM0A1AI.nysemail.nyenet> Thank you everyone. We finally got it fixed. Had to make sure access was closed before selecting a default printer. Also part of the problem is some of the printers are older and do need new drivers, since they all cause problems with Access. Thanks again for you prompt help Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** From john at winhaven.net Wed Nov 2 14:25:17 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 14:25:17 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0A@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <002001c5dfeb$8a7b9270$6901a8c0@ScuzzPaq> Is this a runtime version of Access? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 1:37 PM The PAGE setup screen does not show up at all on his machine for Access. It is like nothing is there or available. The query and/or table he wants to print is there but that is it. From shamil at users.mns.ru Wed Nov 2 14:48:34 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 2 Nov 2005 23:48:34 +0300 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000><009501c5dfbf$435fda30$6501a8c0@HAL9004> <001201c5dfcc$216a6370$0600a8c0@v1000> Message-ID: <00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> Rocky, Did you try to do it this way?: DoCmd.Close acForm, "frmMaterialPlanning" DoCmd.OpenForm ("frmMainMenu") I.e. change the sequence of close and open form statements? What version of MS Access do you use? Do you have any ActiveX controls on your forms? Do you have timer control on your forms? Do you use DoEvents statements in your code called directly or indirectly while frmMainMenu is being opened and frmMaterialPlanning is being closed? Open form and close form are synchronous operations but they can queue asynchronous operations like processing events of ActiveX controls (e.g. Treeview) - and when they will be processed depends on many factors... Shamil > >> > >> ----- Original Message ----- > >> From: "Rocky Smolin - Beach Access Software" > >> To: > >> Sent: Monday, October 31, 2005 6:42 PM > >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > >> > >> > >>> Dear List: > >>> > >>> Does anyone know why a user should generate this error: > >>> > >>> Error: 2585 - This action can't be carried out while processing a form > >>> or > >>> report event. > >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click > >>> > >>> It occurs in a sub menu - unbound form. The click routine just opens > >>> the > >>> main menu and closes this sub menu. It doesn't occur consistently. I > >>> can't > >>> get it to repeat and a couple of users who have gotten it can't get it > >>> to > >>> occur with any regularity. Some users never get it. > >>> > >>> The code in the click event (I stripped out the error trapping) is: > >>> > >>> DoCmd.OpenForm ("frmMainMenu") > >>> DoCmd.Close acForm, "frmMaterialPlanning" > >>> > >>> Any ideas? > >>> > >>> MTIA, > >>> > >>> Rocky Smolin > >>> Beach Access Software > >>> http://www.e-z-mrp.com > >>> 858-259-4334 > >>> > >>> ----- Original Message ----- > >>> From: "Laurie" > >>> To: > >>> Sent: Monday, October 31, 2005 9:35 AM > >>> Subject: E-Z-MRP(tm) Error Report > >>> > >>> > >>> Error: 2585 - This action can't be carried out while processing a form > >>> or > >>> report event. > >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click > >>> -- > >>> Internal Virus Database is out-of-date. > >>> Checked by AVG Anti-Virus. > >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > >>> > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> > >>> -- > >>> No virus found in this incoming message. > >>> Checked by AVG Free Edition. > >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: > >>> 28.10.2005 > >>> > >>> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: 01.11.2005 > > > > > > -- > 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 Nov 2 14:55:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 2 Nov 2005 12:55:24 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> <004401c5de46$16076eb0$0600a8c0@v1000> <009501c5dfbf$435fda30$6501a8c0@HAL9004> <001201c5dfcc$216a6370$0600a8c0@v1000> <00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> Message-ID: <030901c5dfef$bf6aea40$6501a8c0@HAL9004> Shamil: Thought you had to open the next form before closing the current one. No? Other questions: mde compiled in A2K (although a user could obviously run the A2K mde with A2K2 or A2K3) No ActiveX controls. No timer control or event. No DoEvents. Any clues there? Regards, Rocky ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 12:48 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Rocky, > > Did you try to do it this way?: > > DoCmd.Close acForm, "frmMaterialPlanning" > DoCmd.OpenForm ("frmMainMenu") > > I.e. change the sequence of close and open form statements? > > What version of MS Access do you use? > Do you have any ActiveX controls on your forms? > Do you have timer control on your forms? > Do you use DoEvents statements in your code called directly or indirectly > while frmMainMenu is being opened and frmMaterialPlanning is being closed? > > Open form and close form are synchronous operations but they can queue > asynchronous operations like processing events of ActiveX controls (e.g. > Treeview) - and when they will be processed depends on many factors... > > Shamil > > >> >> >> >> ----- Original Message ----- >> >> From: "Rocky Smolin - Beach Access Software" >> >> To: >> >> Sent: Monday, October 31, 2005 6:42 PM >> >> Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report >> >> >> >> >> >>> Dear List: >> >>> >> >>> Does anyone know why a user should generate this error: >> >>> >> >>> Error: 2585 - This action can't be carried out while processing a >> >>> form >> >>> or >> >>> report event. >> >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >>> >> >>> It occurs in a sub menu - unbound form. The click routine just opens >> >>> the >> >>> main menu and closes this sub menu. It doesn't occur consistently. >> >>> I >> >>> can't >> >>> get it to repeat and a couple of users who have gotten it can't get >> >>> it >> >>> to >> >>> occur with any regularity. Some users never get it. >> >>> >> >>> The code in the click event (I stripped out the error trapping) is: >> >>> >> >>> DoCmd.OpenForm ("frmMainMenu") >> >>> DoCmd.Close acForm, "frmMaterialPlanning" >> >>> >> >>> Any ideas? >> >>> >> >>> MTIA, >> >>> >> >>> Rocky Smolin >> >>> Beach Access Software >> >>> http://www.e-z-mrp.com >> >>> 858-259-4334 >> >>> >> >>> ----- Original Message ----- >> >>> From: "Laurie" >> >>> To: >> >>> Sent: Monday, October 31, 2005 9:35 AM >> >>> Subject: E-Z-MRP(tm) Error Report >> >>> >> >>> >> >>> Error: 2585 - This action can't be carried out while processing a >> >>> form >> >>> or >> >>> report event. >> >>> In: frmMaterialPlanning.cmdExitToMainMenu_Click >> >>> -- >> >>> Internal Virus Database is out-of-date. >> >>> Checked by AVG Anti-Virus. >> >>> Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 >> >>> >> >>> >> >>> >> >>> -- >> >>> AccessD mailing list >> >>> AccessD at databaseadvisors.com >> >>> http://databaseadvisors.com/mailman/listinfo/accessd >> >>> Website: http://www.databaseadvisors.com >> >>> >> >>> >> >>> -- >> >>> No virus found in this incoming message. >> >>> Checked by AVG Free Edition. >> >>> Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: >> >>> 28.10.2005 >> >>> >> >>> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > No virus found in this incoming message. >> > Checked by AVG Free Edition. >> > Version: 7.1.362 / Virus Database: 267.12.7/155 - Release Date: > 01.11.2005 >> > >> > >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Wed Nov 2 15:12:44 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Wed, 2 Nov 2005 16:12:44 -0500 Subject: [AccessD] Access 2003 - Page Setup and Print not working Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0C@EXCNYSM0A1AI.nysemail.nyenet> Regular version of access. We made sure access was closed, re-did the printer, started access and it worked Thanks Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, November 02, 2005 03:25 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access 2003 - Page Setup and Print not working > > Is this a runtime version of Access? > From john at winhaven.net Wed Nov 2 15:36:01 2005 From: john at winhaven.net (John Bartow) Date: Wed, 2 Nov 2005 15:36:01 -0600 Subject: [AccessD] Access 2003 - Page Setup and Print not working In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F0C@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <003601c5dff5$6c3bff20$6901a8c0@ScuzzPaq> Glad it worked for you. Please let us know if this is a recurring problem. I've never heard of an instance like this and its good to know what kind of problems to expect! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Wednesday, November 02, 2005 3:13 PM Regular version of access. We made sure access was closed, re-did the printer, started access and it worked From stuart at lexacorp.com.pg Wed Nov 2 15:44:52 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 03 Nov 2005 07:44:52 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> Message-ID: <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> On 2 Nov 2005 at 12:29, Bryan Carbonnell wrote: > On 02/11/05, Shamil Salakhetdinov wrote: > > > Could you please, anybody who has non-MS email clients, check that this code > > popups your email client send mail window? > > Works for me with Groupwise as well. I'll check at home tonight to see > if it works with Pegasus Mail, if I get the chance. > Works fine for me with Pegasus Mail. -- Stuart From shamil at users.mns.ru Wed Nov 2 17:44:59 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 02:44:59 +0300 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004><004401c5de46$16076eb0$0600a8c0@v1000><009501c5dfbf$435fda30$6501a8c0@HAL9004><001201c5dfcc$216a6370$0600a8c0@v1000><00d901c5dfee$f9b29cd0$6401a8c0@fincomplex.spb.ru> <030901c5dfef$bf6aea40$6501a8c0@HAL9004> Message-ID: <018801c5e00a$7afd69d0$6401a8c0@fincomplex.spb.ru> <<< > Thought you had to open the next form before closing the current one. No? >>> No, it's not necessary. Despite the fact form is closed its code behind finishes OK. But beware when form is closed its local form level variables become deinitialized therefore they can't be used while form is closing.... <<< although a user could obviously run the A2K mde with > A2K2 or A2K3 >>> This can be the source of the problem. I have seen such weird effects for Acc2K add-ins(mda) running under AXP and A2003... Shamil ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 02, 2005 11:55 PM Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > Shamil: > > Thought you had to open the next form before closing the current one. No? > > Other questions: > mde compiled in A2K (although a user could obviously run the A2K mde with > A2K2 or A2K3) > No ActiveX controls. > No timer control or event. > No DoEvents. > > Any clues there? > > Regards, > > Rocky > > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 02, 2005 12:48 PM > Subject: Re: [AccessD] Fw: E-Z-MRP(tm) Error Report > > > > Rocky, > > > > Did you try to do it this way?: > > > > DoCmd.Close acForm, "frmMaterialPlanning" > > DoCmd.OpenForm ("frmMainMenu") > > > > I.e. change the sequence of close and open form statements? > > > > What version of MS Access do you use? > > Do you have any ActiveX controls on your forms? > > Do you have timer control on your forms? > > Do you use DoEvents statements in your code called directly or indirectly > > while frmMainMenu is being opened and frmMaterialPlanning is being closed? > > > > Open form and close form are synchronous operations but they can queue > > asynchronous operations like processing events of ActiveX controls (e.g. > > Treeview) - and when they will be processed depends on many factors... > > > > Shamil > > <<< tail skipped>>> From martyconnelly at shaw.ca Wed Nov 2 19:23:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 02 Nov 2005 17:23:57 -0800 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... References: <002501c5dfda$ec22dee0$6401a8c0@fincomplex.spb.ru> <436913BC.3010304@shaw.ca> <00c201c5dfeb$9a95e2f0$6401a8c0@fincomplex.spb.ru> Message-ID: <436966AD.7080408@shaw.ca> I get return value = 5 Shamil Salakhetdinov wrote: >Marty, > >May I ask you to run this code below, which shows ShellExecute return value >in a message box? >When ShellExecute succeed this return value = 42. >What it's in your case? > >Private Declare Function ShellExecute Lib "shell32.dll" _ > Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation _ > As String, ByVal lpFile As String, ByVal lpParameters As String, _ > ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long > >Public Sub TestSendMail() >Dim strAddr As String >Dim strSubj As String >Dim strBody As String >Dim lngRet As Long > strAddr = "nobody at ghost.net" > strSubj = "Prepare e-mail message via ShellExecute" > strBody = "First line%0d%0aSecond line%0d%0aThird line..." > lngRet = ShellExecute(0&, vbNullString, _ > "mailto:" & strAddr & _ > "?Subject=" & strSubj & _ > "&body=" & strBody, _ > vbNullString, vbNullString, vbNormalFocus) > MsgBox "ShellExecute return value = " & lngRet, _ > vbInformation + vbOKOnly, "Test SE" >End Sub > >Thank you, >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, November 02, 2005 10:30 PM >Subject: Re: [AccessD] ShellExecute to send short e-mailvia non-MS >emailclients... > > > > >>Mine doesn't work with Netscape Composer >>But I know why. >>The Shell command should return this error but you wont see it >>"Could not perform this operation because the default mail client is >>not properly installed." >>The reason is this registry entry below points to Outlook rather than >>Netscape. >> >>HKEY_CLASSES_ROOT\mailto\shell\open\command >> >>I installed Netscape then full Office 2003 >>I decided to get rid of Outlook 2003 but didn't reinstall Netscape 7.1 >>so the registry key wasn't changed back. >>One of these days I may do a full install of Netscape 8.0 >> >> >> ><<< tail trimmed>>> > > > -- Marty Connelly Victoria, B.C. Canada From Paul.Rogers at SummitMedia.co.uk Thu Nov 3 03:18:50 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 3 Nov 2005 09:18:50 -0000 Subject: [AccessD] MySQL 5 Message-ID: Any good reason for not upgrading to MySQL 5, Gurus? Cheers paul -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.7/159 - Release Date: 02/11/2005 From carbonnb at gmail.com Thu Nov 3 04:22:58 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 3 Nov 2005 05:22:58 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> References: <008501c5dfb9$67547820$6401a8c0@fincomplex.spb.ru> <4369BFF4.31871.279018E8@stuart.lexacorp.com.pg> Message-ID: On 02/11/05, Stuart McLachlan wrote: > On 2 Nov 2005 at 12:29, Bryan Carbonnell wrote: > > > On 02/11/05, Shamil Salakhetdinov wrote: > > > > > Could you please, anybody who has non-MS email clients, check that this code > > > popups your email client send mail window? > > > > Works for me with Groupwise as well. I'll check at home tonight to see > > if it works with Pegasus Mail, if I get the chance. > > > > Works fine for me with Pegasus Mail. Me too. Like I ever doubted it :-) -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From rl_stewart at highstream.net Thu Nov 3 07:18:13 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 03 Nov 2005 07:18:13 -0600 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: References: Message-ID: <6.2.3.4.2.20051103071744.0293a880@pop3.highstream.net> Works with Eudora. At 12:00 PM 11/2/2005, you wrote: >From: "Shamil Salakhetdinov" >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > clients... >To: "!DBA-MAIN" >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> >Content-Type: text/plain; charset="koi8-r" > >Hi All, > >Could you please, anybody who has non-MS email clients, check that this code >popups your email client send mail window? From iggy at nanaimo.ark.com Thu Nov 3 07:47:54 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Thu, 03 Nov 2005 05:47:54 -0800 Subject: [AccessD] ShellExecute to send short e-mailvia non-MS emailclients... Message-ID: <436A150A.4050607@nanaimo.ark.com> Hey Shamil The code worked fine on my 2 XP machines. Tried it on my old NT machine - Netscape not using Outlook Message Box gives me a return value of 42 But then I get what looks like an Outlook error msg."The ordinal 36 could not be located in the dynamic link library Mapi32.dll." From shamil at users.mns.ru Thu Nov 3 08:33:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 17:33:42 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... References: <6.2.3.4.2.20051103071744.0293a880@pop3.highstream.net> Message-ID: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> > Works with Eudora. > Works fine for me with Pegasus Mail. > Works for me with Groupwise as well. > Works for Outlook > Works for Outlook Express Thank you everybody! Obviously it works with any default e-mail client on MS Windows. > How it works under MS Windows "hoods" is described here: > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp For me this means there is protocol all the e-mail clients follow. And under MS Windows mshtml.dll seems to be the program, which is calling default mail clients - the question is how it does that? Is that as simple as /mailurl: ? I.e. for Outlook Express in generic form it should look like: "%Outlook Express Folder%MSIMN.EXE" /mailurl:mailto:%t?cc=%c&bcc=%b&subject=%s&body=%m But it doesn't work when I try to use real parameters. It works only for the first parameter (To) - the tail parameters are getting lost... What is the default (command line) mailto protocol all e-mail clients follow? Or there is a different protocol they all accept? - I cannot find it via google.... Why so simple things are implemented so complicated way and are so badly documented? (just a rhetoric question) Shamil ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Thursday, November 03, 2005 4:18 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS email clients... > Works with Eudora. > > At 12:00 PM 11/2/2005, you wrote: > >From: "Shamil Salakhetdinov" > >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > > clients... > >To: "!DBA-MAIN" > >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> > >Content-Type: text/plain; charset="koi8-r" > > > >Hi All, > > > >Could you please, anybody who has non-MS email clients, check that this code > >popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Nov 3 08:42:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 17:42:16 +0300 Subject: [AccessD] ShellExecute to sendshort e-mailvia non-MS email clients... References: <436A150A.4050607@nanaimo.ark.com> Message-ID: <009b01c5e084$d415cab0$6401a8c0@fincomplex.spb.ru> > Message Box gives me a return value of 42 Return value 42 is OK - I get the same when new e-mail message is created and Outlook Express is popped up. > But then I get what looks like an Outlook error msg."The ordinal 36 > could not be located in the dynamic link library Mapi32.dll." Weird. This means that a function with entry point ordinal #36 doesn't exist in Mapi32.dll Looks like your old NT machine doesn't support mailto protocol despite the fact that ShellExecute returns 42 = OK. Shamil ----- Original Message ----- From: "Tony Septav" To: Sent: Thursday, November 03, 2005 4:47 PM Subject: Re: [AccessD] ShellExecute to sendshort e-mailvia non-MS emailclients... > Hey Shamil > The code worked fine on my 2 XP machines. > Tried it on my old NT machine - Netscape not using Outlook > Message Box gives me a return value of 42 > But then I get what looks like an Outlook error msg."The ordinal 36 > could not be located in the dynamic link library Mapi32.dll." > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Nov 3 09:07:30 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 3 Nov 2005 10:07:30 -0500 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... In-Reply-To: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> Message-ID: IF your looking for a command line e-mail capability, I would suggest BLAT. It bypasses any local client by talking directly to a SMTP server. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Thursday, November 03, 2005 9:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > Works with Eudora. > Works fine for me with Pegasus Mail. > Works for me with Groupwise as well. > Works for Outlook > Works for Outlook Express Thank you everybody! Obviously it works with any default e-mail client on MS Windows. > How it works under MS Windows "hoods" is described here: > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp For me this means there is protocol all the e-mail clients follow. And under MS Windows mshtml.dll seems to be the program, which is calling default mail clients - the question is how it does that? Is that as simple as /mailurl: ? I.e. for Outlook Express in generic form it should look like: "%Outlook Express Folder%MSIMN.EXE" /mailurl:mailto:%t?cc=%c&bcc=%b&subject=%s&body=%m But it doesn't work when I try to use real parameters. It works only for the first parameter (To) - the tail parameters are getting lost... What is the default (command line) mailto protocol all e-mail clients follow? Or there is a different protocol they all accept? - I cannot find it via google.... Why so simple things are implemented so complicated way and are so badly documented? (just a rhetoric question) Shamil ----- Original Message ----- From: "Robert L. Stewart" To: Sent: Thursday, November 03, 2005 4:18 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS email clients... > Works with Eudora. > > At 12:00 PM 11/2/2005, you wrote: > >From: "Shamil Salakhetdinov" > >Subject: [AccessD] ShellExecute to send short e-mail via non-MS email > > clients... > >To: "!DBA-MAIN" > >Message-ID: <008501c5dfb9$67547820$6401a8c0 at fincomplex.spb.ru> > >Content-Type: text/plain; charset="koi8-r" > > > >Hi All, > > > >Could you please, anybody who has non-MS email clients, check that this code > >popups your email client send mail window? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Nov 3 10:07:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 3 Nov 2005 11:07:00 -0500 Subject: [AccessD] MySQL 5 In-Reply-To: Message-ID: <200511031607.jA3G73J08716@databaseadvisors.com> No good reason at all. It appears that they have fixed most to all the problems in the various beta releases. (Sprocs were very problematic, and fortunately all those problems seem to have gone away -- at least, our test suite works as expected.) Self-serving plug: Peter and I will soon update our MySQL e-book to conform to the specs of the official MySQL 5 release: www.artfulsoftware.com. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Rodgers Sent: November 3, 2005 4:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MySQL 5 Any good reason for not upgrading to MySQL 5, Gurus? Cheers paul From shamil at users.mns.ru Thu Nov 3 10:18:04 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 3 Nov 2005 19:18:04 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MSemailclients... References: Message-ID: <006101c5e092$2c9ad9c0$6401a8c0@fincomplex.spb.ru> No, Jim, I don't need to talk directly to SMTP server - I'm not going to implement a spamming program :) What I need is a simple and reliable method to open default mail client with a short custom message. Users will decide by themselves: to click [Send] button or to cancel sending this message. mailto protocol seems to be a good candidate. It didn't work in one case (for Tony Septav) only. (Bad news is the fact that ShellExecute returned 42 (SUCCESS)) Shamil ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Thursday, November 03, 2005 6:07 PM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MSemailclients... > IF your looking for a command line e-mail capability, I would suggest BLAT. > It bypasses any local client by talking directly to a SMTP server. > > Jim. > <<< tail skipped>>> From JRojas at tnco-inc.com Thu Nov 3 11:19:50 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 3 Nov 2005 12:19:50 -0500 Subject: [AccessD] MySQL Newbie Message-ID: <758E92433C4F3740B67BE4DD369AF57745A5@ex2k3.corp.tnco-inc.com> Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR From John.Clark at niagaracounty.com Thu Nov 3 13:43:16 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 03 Nov 2005 14:43:16 -0500 Subject: [AccessD] Access Error Message-ID: I've got a user that just called our office with an A2K problem. Something happened w/the system and she had to reboot her PC, while Acess was saving...this is according to her. The problem is that her db, which I am quessing is just basic tables and basic, if any, forms, will no longer open. The error that we are getting is, "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time." Anybody got a clue how to get into this thing? I have tried: 1) Moving the db to another directory (Stupid, I know, but I was hoping to clear any locks up that way...maybe it would see it as a whole new instance) 2) Removing any "connected" open files...the ldb...there was a hidden file that I believe was the ldb (I did it too quick to be sure...but there not usually hidden...right) 3) Renaming the file (I thought if it were looking at it, from a network file usage this might trick it. I really don't know, and as you can tell, I am grasping here. Luckilly, I haven't had very many problems since switching to Access, so I haven't had too much experience with this. When we used FoxPro...still got some...it broke everytime there was a network problem...plus some. I've still got a version of "FoxFix" on my PC that I have to drag out, every now and then. Thanks John W Clark From bchacc at san.rr.com Thu Nov 3 13:55:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 3 Nov 2005 11:55:38 -0800 Subject: [AccessD] Access Error References: Message-ID: <01e001c5e0b0$9050af80$6501a8c0@HAL9004> John: I'd try: 1. Compact and repair 2. Decompile first. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 11:43 AM Subject: [AccessD] Access Error > I've got a user that just called our office with an A2K problem. > Something happened w/the system and she had to reboot her PC, while > Acess was saving...this is according to her. > > The problem is that her db, which I am quessing is just basic tables > and basic, if any, forms, will no longer open. The error that we are > getting is, "The Microsoft Jet database engine stopped the process > because you and another user are attempting to change the same data at > the same time." > > Anybody got a clue how to get into this thing? > > I have tried: > > 1) Moving the db to another directory (Stupid, I know, but I was hoping > to clear any locks up that way...maybe it would see it as a whole new > instance) > > 2) Removing any "connected" open files...the ldb...there was a hidden > file that I believe was the ldb (I did it too quick to be sure...but > there not usually hidden...right) > > 3) Renaming the file (I thought if it were looking at it, from a > network file usage this might trick it. > > I really don't know, and as you can tell, I am grasping here. Luckilly, > I haven't had very many problems since switching to Access, so I haven't > had too much experience with this. When we used FoxPro...still got > some...it broke everytime there was a network problem...plus some. I've > still got a version of "FoxFix" on my PC that I have to drag out, every > now and then. > > Thanks > > John W Clark > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Thu Nov 3 15:01:50 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 03 Nov 2005 16:01:50 -0500 Subject: [AccessD] Access Error Message-ID: I can't get into it at all...how do I do this? Actually, it isn't an emergency any longer. We grabbed it off of a backup tape, but I want to know for the next time. >>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> John: I'd try: 1. Compact and repair 2. Decompile first. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 11:43 AM Subject: [AccessD] Access Error > I've got a user that just called our office with an A2K problem. > Something happened w/the system and she had to reboot her PC, while > Acess was saving...this is according to her. > > The problem is that her db, which I am quessing is just basic tables > and basic, if any, forms, will no longer open. The error that we are > getting is, "The Microsoft Jet database engine stopped the process > because you and another user are attempting to change the same data at > the same time." > > Anybody got a clue how to get into this thing? > > I have tried: > > 1) Moving the db to another directory (Stupid, I know, but I was hoping > to clear any locks up that way...maybe it would see it as a whole new > instance) > > 2) Removing any "connected" open files...the ldb...there was a hidden > file that I believe was the ldb (I did it too quick to be sure...but > there not usually hidden...right) > > 3) Renaming the file (I thought if it were looking at it, from a > network file usage this might trick it. > > I really don't know, and as you can tell, I am grasping here. Luckilly, > I haven't had very many problems since switching to Access, so I haven't > had too much experience with this. When we used FoxPro...still got > some...it broke everytime there was a network problem...plus some. I've > still got a version of "FoxFix" on my PC that I have to drag out, every > now and then. > > Thanks > > John W Clark > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 3 15:38:48 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 04 Nov 2005 07:38:48 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS email clients... In-Reply-To: <008101c5e083$9d145460$6401a8c0@fincomplex.spb.ru> Message-ID: <436B1008.16744.2CB0E756@stuart.lexacorp.com.pg> On 3 Nov 2005 at 17:33, Shamil Salakhetdinov wrote: > > Works with Eudora. > > Works fine for me with Pegasus Mail. > > Works for me with Groupwise as well. > > Works for Outlook > > Works for Outlook Express > Thank you everybody! > Obviously it works with any default e-mail client on MS Windows. > > > How it works under MS Windows "hoods" is described here: > > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp > > For me this means there is protocol all the e-mail clients follow. > And under MS Windows mshtml.dll seems to be the program, which is calling > default mail clients - the question is how it does that? > You are using two things here. 1. The URI mailto. See RFC2368 2. MAPI. This it the protocol used to call the email client under Windows. In this case, you are using a part of Microsofts built in browser (mshtml.dll is part of IE) to convert a mailto: URI to a MAPI command. Note that mailto: is a very simple protocol which only has a limited number of parameters and there are cautions about using some of these. Note that some headers are inherently unsafe to include in a message generated from a URL. For example, headers such as "From:", "Bcc:", and so on, should never be interpreted from a URL. In general, the fewer headers interpreted from the URL, the less likely it is that a sending agent will create an unsafe message. It's up to mshtml.dll which parameters it choses to pass through the MAPI MAPI is much richer, there are lots of things you can do with your own direct MAPI calls from an application that you can't do with mailto: such as include attachments and automatically send the message with no user intervention -- Stuart From bchacc at san.rr.com Thu Nov 3 17:39:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 3 Nov 2005 15:39:25 -0800 Subject: [AccessD] Access Error References: Message-ID: <006901c5e0cf$d3bce030$6501a8c0@HAL9004> Here's the command line I use in Start-->Run: "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" c:\Clients\SleepDoc\TheSleepAdvisorDevelopment-Version-608.mdb /decompile to decompile the Sleep Advisor. Seems to fix a multitude of problems. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 1:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Nov 3 18:47:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 03:47:38 +0300 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... References: <436B1008.16744.2CB0E756@stuart.lexacorp.com.pg> Message-ID: <001501c5e0d9$75039020$6401a8c0@fincomplex.spb.ru> > MAPI is much richer, there are lots of things you can do with your own > direct MAPI calls Stuart, Yes, I know about MAPI, and about simple MAPI (I did write programs using it starting MS Access 2.0 in 1995) and I read RFC2368 etc. But using MAPI I can only send e-mail via Outlook Express and Outlook - right? And I need a method to prepare (just prepare in popped-up e-mail client, not send) e-mail message with any e-mail client - and here mailto protocol seems to be the only free(built-in) solution? Still open question: - I'm just curious and I can't find answer by myself - how mailto protocol's URL is interpreted by MS Windows system for non-MS e-mail clients? I mean: - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a special command line. If yes - what format this command line should have? if not - what other way MS Windows system uses to activate non-ms e-mail clients? Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 12:38 AM Subject: Re: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... > On 3 Nov 2005 at 17:33, Shamil Salakhetdinov wrote: > > > > Works with Eudora. > > > Works fine for me with Pegasus Mail. > > > Works for me with Groupwise as well. > > > Works for Outlook > > > Works for Outlook Express > > Thank you everybody! > > Obviously it works with any default e-mail client on MS Windows. > > > > > How it works under MS Windows "hoods" is described here: > > > http://www.microsoft.com/mind/0199/cutting/cutting0199.asp > > > > For me this means there is protocol all the e-mail clients follow. > > And under MS Windows mshtml.dll seems to be the program, which is calling > > default mail clients - the question is how it does that? > > > > You are using two things here. > > 1. The URI mailto. > See RFC2368 > > > 2. MAPI. > This it the protocol used to call the email client under Windows. > > In this case, you are using a part of Microsofts built in browser > (mshtml.dll is part of IE) to convert a mailto: URI to a MAPI command. > > Note that mailto: is a very simple protocol which only has a limited number > of parameters and there are cautions about using some of these. > > > Note that some headers are inherently unsafe to include in a message > generated from a URL. For example, headers such as "From:", "Bcc:", > and so on, should never be interpreted from a URL. In general, the > fewer headers interpreted from the URL, the less likely it is that a > sending agent will create an unsafe message. > > > It's up to mshtml.dll which parameters it choses to pass through the MAPI > > MAPI is much richer, there are lots of things you can do with your own > direct MAPI calls from an application that you can't do with mailto: such > as include attachments and automatically send the message with no user > intervention > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Nov 3 19:25:02 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Fri, 04 Nov 2005 11:25:02 +1000 Subject: [AccessD] ShellExecute to send short e-mail via non-MS emailclients... In-Reply-To: <001501c5e0d9$75039020$6401a8c0@fincomplex.spb.ru> Message-ID: <436B450E.30038.AD6592@localhost> On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > MAPI is much richer, there are lots of things you can do with your own > > direct MAPI calls > Stuart, > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > But using MAPI I can only send e-mail via Outlook Express and Outlook - > right? No, MAPI is the core Messaging API which provides a common interface for all mail clients. Using MAPI, you will send to whatever client is configured as the default. > Still open question: - I'm just curious and I can't find answer by myself - > how mailto protocol's URL is interpreted by MS Windows system for non-MS > e-mail clients? I mean: It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant email client whether it is MS or not. > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > special command line. No >If yes - what format this command line should have? if > not - what other way MS Windows system uses to activate non-ms e-mail > clients? > It's all done through MAPI From wdhindman at bellsouth.net Thu Nov 3 20:31:11 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 3 Nov 2005 21:31:11 -0500 Subject: [AccessD] Access Error References: Message-ID: <007901c5e0e7$d1ecee40$6101a8c0@JISREGISTRATION.local> ...did you try MS's Jet Compact tool? ...it has always worked for me when nothing else would get me into a corrupted mdb ...http://support.microsoft.com/kb/q295334/ ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 4:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Nov 3 23:16:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 08:16:58 +0300 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... References: <436B450E.30038.AD6592@localhost> Message-ID: <008201c5e0fe$fd544300$6401a8c0@fincomplex.spb.ru> Stuart, I'd not argue but this question about using different e-mail clients under MS Windows, which IMO should have simple effective solution, looks still unclear here. Do you have a generic sample to work with any e-mail client via MAPI? Do you know how MAPI can be used with non-MS e-mail clients ? Did you try to run this sample http://support.microsoft.com/default.aspx/kb/q163216/ (Updated Mapivb32.bas for Simple MAPI on 32-bit platforms) with Outlook Express or any non-MS e-mail clients? For me it didn't work for Outlook Express. > It's all done through MAPI How it's done? Is there any information how it works? I guess MAPI.dll is a middleware between application program and e-mail client. This means that e-mail client software should support specific MAPI-compliant protocols - are you saying that all modern e-mail clients running on MS Windows are supporting this MAPI-compliant protocol? If not, how then MAPI.dll "talks to them/communicates with them"? Shamil ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 4:25 AM Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... > On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > > > MAPI is much richer, there are lots of things you can do with your own > > > direct MAPI calls > > Stuart, > > > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > > But using MAPI I can only send e-mail via Outlook Express and Outlook - > > right? > > No, MAPI is the core Messaging API which provides a common interface for all mail > clients. Using MAPI, you will send to whatever client is configured as the default. > > > > Still open question: - I'm just curious and I can't find answer by myself - > > how mailto protocol's URL is interpreted by MS Windows system for non-MS > > e-mail clients? I mean: > > It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant > email client whether it is MS or not. > > > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > > special command line. > > No > > >If yes - what format this command line should have? if > > not - what other way MS Windows system uses to activate non-ms e-mail > > clients? > > > > It's all done through MAPI > > > -- > 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 Nov 4 00:54:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 04 Nov 2005 16:54:18 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... In-Reply-To: <008201c5e0fe$fd544300$6401a8c0@fincomplex.spb.ru> Message-ID: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> On 4 Nov 2005 at 8:16, Shamil Salakhetdinov wrote: > Stuart, > > I'd not argue but this question about using different e-mail clients under > MS Windows, which IMO should have simple effective solution, looks still > unclear here. > Do you have a generic sample to work with any e-mail client via MAPI? Take a look at http://www.a1vbcode.com/snippet-270.asp Note that the Logon and Logoff are not needed for most emali clients' Outlook is about the only time you need these functions. > Do you know how MAPI can be used with non-MS e-mail clients ? Yes, take a look at MAPISend on my website. It's a small application I wrote in PowerBASIC specifically to do this. It works fine with Pegasus Mail, Eudora etc. .... > This means that e-mail client software should support specific > MAPI-compliant protocols - are you saying that all modern e-mail clients > running on MS Windows are supporting this MAPI-compliant protocol? Every decent email client that I am aware of is MAPI compliant. If they are not, they won't be much use in Windows. Things such as Winzip's "Zip and Email", WInRAR's "Compress and email", Acrobat's "Convert to PDF and email" functions all use Simple MAPI for the latter action so any non-MAPI compliant emailer won't work with these sorts of utilities. -- Stuart From jimdettman at earthlink.net Fri Nov 4 04:55:06 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 4 Nov 2005 05:55:06 -0500 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... In-Reply-To: <436B450E.30038.AD6592@localhost> Message-ID: <> No, there is also VIM (Vendor Independent Messaging), which is an alternative to MAPI. I'm not sure if anyone is still using that protocol or not. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of stuart at lexacorp.com.pg Sent: Thursday, November 03, 2005 8:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... On 4 Nov 2005 at 3:47, Shamil Salakhetdinov wrote: > > MAPI is much richer, there are lots of things you can do with your own > > direct MAPI calls > Stuart, > > Yes, I know about MAPI, and about simple MAPI (I did write programs using it > starting MS Access 2.0 in 1995) and I read RFC2368 etc. > But using MAPI I can only send e-mail via Outlook Express and Outlook - > right? No, MAPI is the core Messaging API which provides a common interface for all mail clients. Using MAPI, you will send to whatever client is configured as the default. > Still open question: - I'm just curious and I can't find answer by myself - > how mailto protocol's URL is interpreted by MS Windows system for non-MS > e-mail clients? I mean: It is interpreted by MSHTML.DLL which passes it on to the default MAPI compliant email client whether it is MS or not. > - does MS Windows(xxxxx.dll) starts non-MS e-mail clients and passes them a > special command line. No >If yes - what format this command line should have? if > not - what other way MS Windows system uses to activate non-ms e-mail > clients? > It's all done through MAPI -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Nov 4 05:30:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Nov 2005 12:30:19 +0100 Subject: [AccessD] ShellExecute to send short e-mail vianon-MS emailclients... Message-ID: Hi Jim Lotus Notes and Organizer supported VIM, but today not even Organizer seems to support it. So I guess you safely can leave it ... /gustav >>> jimdettman at earthlink.net 04-11-2005 11:55 >>> <> No, there is also VIM (Vendor Independent Messaging), which is an alternative to MAPI. I'm not sure if anyone is still using that protocol or not. From artful at rogers.com Fri Nov 4 07:45:10 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 4 Nov 2005 08:45:10 -0500 Subject: [AccessD] MySQL Newbie In-Reply-To: <758E92433C4F3740B67BE4DD369AF57745A5@ex2k3.corp.tnco-inc.com> Message-ID: <200511041345.jA4DjFJ18521@databaseadvisors.com> 1. You can connect Access to MySQL using ODBC. There is also a connection from .NET to MySQL. 2. The software itself can be obtained either free or you can purchase it as part of a support package. 3. There are various management tools available. To my knowledge, none yet provide a GUI to build sprocs, so you have to write those as text. 4. The standard version uses MySQL ISAM data files, while the Max version uses the innoDB engine (which provides transactions etc.). In the Max version you can mix and match both table types. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: November 3, 2005 12:20 PM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL Newbie Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 4 07:54:22 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 4 Nov 2005 16:54:22 +0300 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... References: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> Message-ID: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> > Take a look at http://www.a1vbcode.com/snippet-270.asp Stuart, It would have been great but it(api_SendMail) didn't work with Outlook Express on my PC resulting in a message: Microsoft Office Outlook. ========================= Either there is no default mail client or the current mail client cannot fullfill the messaging request. Please run Microsoft Office Outlook and set it as the default mail client. What is also bad news this message above comes somewhere out of MS Windows(MAPI32.dll probably) and can't be suppressed.... Tested on another PC - the same result. On both PCs mailto protocol works just fine. When tested your sample, which forces to use Outlook(olk_SendMail) it resulted in an annoying message: << A program is trying to automatically send e-mail on your behalf. Do you want to allow this? If this is unexpected, it may be a virus and you should choose "No". >> Yes, I know it can be suppressed but what I'm looking for is just a simple method to prepare a message, pop it up for users to click [Send] button or cancel... <<< It works fine with Pegasus Mail, Eudora etc. >>> Do you mean you api_SendMail code? - it failes here for Outlook Express :( Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 9:54 AM Subject: Re: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... > On 4 Nov 2005 at 8:16, Shamil Salakhetdinov wrote: > > > Stuart, > > > > I'd not argue but this question about using different e-mail clients under > > MS Windows, which IMO should have simple effective solution, looks still > > unclear here. > > Do you have a generic sample to work with any e-mail client via MAPI? > > Take a look at http://www.a1vbcode.com/snippet-270.asp > Note that the Logon and Logoff are not needed for most emali clients' > Outlook is about the only time you need these functions. > > > > Do you know how MAPI can be used with non-MS e-mail clients ? > > Yes, take a look at MAPISend on my website. It's a small application I > wrote in PowerBASIC specifically to do this. It works fine with Pegasus > Mail, Eudora etc. > .... > > > This means that e-mail client software should support specific > > MAPI-compliant protocols - are you saying that all modern e-mail clients > > running on MS Windows are supporting this MAPI-compliant protocol? > > Every decent email client that I am aware of is MAPI compliant. If they are > not, they won't be much use in Windows. Things such as Winzip's "Zip and > Email", WInRAR's "Compress and email", Acrobat's "Convert to PDF and email" > functions all use Simple MAPI for the latter action so any non-MAPI > compliant emailer won't work with these sorts of utilities. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Fri Nov 4 07:50:23 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 04 Nov 2005 08:50:23 -0500 Subject: [AccessD] Access Error Message-ID: No, I didn't know about this William. And, although I've heard y'all talk about Rocky's solution, in the past, I have never done it, so I couldn't remember how it was done. As luck would have it, I am in the middle of an office move, so my books weren't close at hand either. I thank you guys for your help. As usual...I know I always say this...I could count on this list for help. Unfortunately...for me anyhow, because I wanted to play w/this...they did not wait for me and got it from a backup. Actually, one of the techs, who happens to be in charge of our backups, heard me and his supervisor talking and went out and grabbed it. That is good I guess, but I wanted to actually try this technique out. And, yes, they already deleted the "bad" file. Thanks again! >>> wdhindman at bellsouth.net 11/3/2005 9:31 PM >>> ...did you try MS's Jet Compact tool? ...it has always worked for me when nothing else would get me into a corrupted mdb ...http://support.microsoft.com/kb/q295334/ ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Thursday, November 03, 2005 4:01 PM Subject: Re: [AccessD] Access Error >I can't get into it at all...how do I do this? > > Actually, it isn't an emergency any longer. We grabbed it off of a > backup tape, but I want to know for the next time. > >>>> bchacc at san.rr.com 11/3/2005 2:55 PM >>> > John: > > I'd try: > > 1. Compact and repair > 2. Decompile > > first. > > Rocky > > ----- Original Message ----- > From: "John Clark" > To: > Sent: Thursday, November 03, 2005 11:43 AM > Subject: [AccessD] Access Error > > >> I've got a user that just called our office with an A2K problem. >> Something happened w/the system and she had to reboot her PC, while >> Acess was saving...this is according to her. >> >> The problem is that her db, which I am quessing is just basic tables >> and basic, if any, forms, will no longer open. The error that we are >> getting is, "The Microsoft Jet database engine stopped the process >> because you and another user are attempting to change the same data > at >> the same time." >> >> Anybody got a clue how to get into this thing? >> >> I have tried: >> >> 1) Moving the db to another directory (Stupid, I know, but I was > hoping >> to clear any locks up that way...maybe it would see it as a whole > new >> instance) >> >> 2) Removing any "connected" open files...the ldb...there was a > hidden >> file that I believe was the ldb (I did it too quick to be sure...but >> there not usually hidden...right) >> >> 3) Renaming the file (I thought if it were looking at it, from a >> network file usage this might trick it. >> >> I really don't know, and as you can tell, I am grasping here. > Luckilly, >> I haven't had very many problems since switching to Access, so I > haven't >> had too much experience with this. When we used FoxPro...still got >> some...it broke everytime there was a network problem...plus some. > I've >> still got a version of "FoxFix" on my PC that I have to drag out, > every >> now and then. >> >> Thanks >> >> John W Clark >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 4 08:37:15 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 04 Nov 2005 15:37:15 +0100 Subject: [AccessD] MySQL Newbie Message-ID: Hi Arthur Oh no. MaxDB is the former SAP DB which is capable and accepted for running SAP R/3, thus it compares more to Oracle: http://www.mysql.com/products/maxdb/ MySQL uses either MyISAM, InnoDB, or the new Archive table format which I posted a link for recently. /gustav >>> artful at rogers.com 04-11-2005 14:45 >>> 4. The standard version uses MySQL ISAM data files, while the Max version uses the innoDB engine (which provides transactions etc.). In the Max version you can mix and match both table types. From rl_stewart at highstream.net Fri Nov 4 08:45:05 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 04 Nov 2005 08:45:05 -0600 Subject: [AccessD] MySQL Newbie In-Reply-To: References: Message-ID: <6.2.3.4.2.20051104084211.029d0640@pop3.highstream.net> See answers below... Personally, I have not used it because I did not want to take multiple steps backward. With the new release, I will look at it again. At 12:00 PM 11/3/2005, you wrote: >From: "Joe Rojas" >Subject: [AccessD] MySQL Newbie >To: "Access Developers discussion and problem solving" > >Message-ID: > <758E92433C4F3740B67BE4DD369AF57745A5 at ex2k3.corp.tnco-inc.com> >Content-Type: text/plain; charset="iso-8859-1" > >Hi All! > >I have been keeping an eye on MySQL for sometime now. I have been >hesitant to use it because I have been accustomed to using SQL >Server and like using stored procedures and triggers. >Now that MySQL 5 is out, I very interested in checking it out. > >I have some newbie questions. > >1) Does Access play nicely with MySQL? I have not tried it yet. >2) Is MySQL really free? Are there fees somewhere for using the software? Technically no. If you want to put your software into open source, then it is free, otherwise there is a cost. >3) Does MySQL come with management tools, like Enterprise Manager >for SQL Server? No. Unless there are tools they released with 5. There are 3rd party tools. >4) I see there is a Standard version and a MAX version on MySQL.com. >What is the difference? > >Thanks! >JR From Rich_Lavsa at pghcorning.com Fri Nov 4 09:14:32 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Fri, 4 Nov 2005 10:14:32 -0500 Subject: [AccessD] Staging/Queueing Ideas Message-ID: <2A261FF9D5EBCA46940C11688CE872EE032D8B33@goexchange2.pghcorning.com> Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich From dwaters at usinternet.com Fri Nov 4 09:52:58 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 4 Nov 2005 09:52:58 -0600 Subject: [AccessD] Staging/Queueing Ideas In-Reply-To: <5636099.1131117550129.JavaMail.root@sniper23> Message-ID: <000001c5e157$d420a240$0200a8c0@danwaters> Hi Rich, Well - you're taking my job away from me! Take a look at the site www.promationsystems.com when you get a chance. For each process like this I define logical breaks, and it sounds like you've already done this. You are definitely on the right track. Give a simple name to each stage and create a field to store that name. Have people check a checkbox at the end of each stage so that your code knows where the process is. When they check the checkbox, automatically record their name, the date, and maybe the time; and change the stage name to what is next. But before they check this, be sure that the names of the next person(s) who need to take action are entered. You may want to run a current event to lock the fields in any stages that have been completed. So now you know the stage each record is at, and you can get the name of the person(s) who have the action to take in that stage. This gives you the information you need for a status report, that everyone can pull up to see who needs to do what. For an advanced exercise, create code that can go through each record in this process and identify the name(s) of each person(s) who has an open item. Now you can send each of those people a single email which tells them they need to open the database. This email should be triggered by the first person who opens the database each day. And the next exercise would be to create a form that shows, for each person, what all their open items are. And from this form they can push a button to move straight to the screen and the record where they need to do their work. This is a lot of work, but it pays off handsomely in increased productivity - especially yours when you can quit chasing people down so they get their work down! Hope this Helps, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lavsa, Rich Sent: Friday, November 04, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Staging/Queueing Ideas Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Fri Nov 4 10:23:51 2005 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 4 Nov 2005 10:23:51 -0600 Subject: [AccessD] Updating Connect string for SQL Linked tables Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D0@cpixchng-1.cpiqpc.net> I have a form (A97) that I designed to be able to change the parameters of a connect string for any or all linked SQL tables in the current database that the form resides in. It seems to work once or twice on a database but then quits working. By quits working, I mean it goes through the code, looks like it's working, but when you check the connect string (either through the properties of the table, or looking at the msysobjects table), the connect string is still the old one and the changes are not reflected in the connection information on the SQL server. I'm posting the code used to update the connection strings. Any ideas would be greatly appreciated. Private Sub ChangeSQLODBCTables(strName As String, strOption As String, strTo As String) '*************************************************************************** ******************** '*** This subroutine will refresh any tables that are linked to the Access database via ODBC *** '*** and will re-create the primary pseudo-index on the newly re-linked table if necessary *** '*** Created by RustyH - 3/5/2003 *** '*************************************************************************** ******************** Dim db As Database Dim tdf As TableDef Dim tdfNew As TableDef Dim strConnect As String Dim strSourceTbl As String Dim strIndex As String Dim idx As Index Dim fld As Field Dim strFields As String Dim X As Integer Dim strSQL As String Dim fNewHasPrimary As Boolean Dim fOldHadPrimary Dim strStatus As String Set db = CurrentDb Set tdf = db.TableDefs(strName) strConnect = tdf.Connect fOldHadPrimary = False 'Test if the connect string starts with ODBC - Linked access tables don't show a link type 'and local tables have an empty connect string ("") If Left(tdf.Connect, 5) = "ODBC;" Then strSourceTbl = tdf.SourceTableName strStatus = SysCmd(acSysCmdSetStatus, strName) For Each idx In tdf.Indexes 'Search for a primary index on the table If idx.Primary = True Then fOldHadPrimary = True 'Get the primary index name strIndex = idx.Name strFields = "" X = 0 'Get the field list that makes up the primary index For Each fld In idx.Fields If X = 0 Then strFields = fld.Name Else strFields = strFields & "," & fld.Name End If X = X + 1 Next fld End If Next idx 'Refresh the link to the table If strTo = "" Then strConnect = ReplaceString_SQLTableOption(strConnect, ";" & strOption & "=", "", False) Else strConnect = ReplaceString_SQLTableOption(strConnect, ";" & strOption & "=", ";" & strOption & "=" & strTo & ";", False) End If If strConnect = "NO" Then Stop 'Me.StatusMsg = Me.StatusMsg & vbCrLf & vbCrLf & strName & " is not linked to the " & strFrom & " server" Else MsgBox "New connect: " & strConnect, vbOKOnly 'tdf.Connect = strConnect 'tdf.RefreshLink db.TableDefs.Delete strName Set tdfNew = db.CreateTableDef(strName) tdfNew.SourceTableName = strSourceTbl tdfNew.Connect = strConnect db.TableDefs.Append tdfNew tdfNew.RefreshLink 'db.TableDefs.Refresh fNewHasPrimary = False For Each idx In tdfNew.Indexes 'Determine if the newly refreshed table already has a primary index If idx.Primary = True Then fNewHasPrimary = True End If Next idx 'If the newly refreshed linked ODBC table does NOT have a primary index but it did before 'the link was refreshed, then create a primary pseudo-index If fNewHasPrimary = False And fOldHadPrimary = True Then strSQL = "Create unique index " & strIndex & " on " & tdfNew.Name & "(" & strFields & ")" DoCmd.RunSQL strSQL End If Me.StatusMsg = Me.StatusMsg & vbCrLf & strName & " done" End If End If db.Close Set db = Nothing strStatus = SysCmd(acSysCmdClearStatus) End Sub The following function is called by the main sub to create the new connect string: Private Function ReplaceString_SQLTableOption(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String ' Comments : replaces a substring in a string with another ' Parameters : strTextIn - string to work on ' strFind - string to find ' strReplace - string to replace with ' fCaseSensitive - True for case sensitive search, False for case-insensitive search ' Returns : modified string ' Dim strTmp As String Dim intPos As Integer Dim intLen As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) intLen = InStr(intPos + 1, strTmp, ";", intCaseSensitive) - intPos + 1 If intPos > 0 Then Do While intPos > 0 If strReplace <> "" Then strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + intLen) Else strTmp = Left$(strTmp, intPos - 1) & Mid$(strTmp, intPos + intLen - 1) End If intPos = InStr(intPos + intLen, strTmp, strFind, intCaseSensitive) Loop Else strTmp = "NO" End If If Right(strTmp, 1) = ";" Then strTmp = Left(strTmp, Len(strTmp) - 1) ReplaceString_SQLTableOption = strTmp End Function TIA! Rusty Hammond rusty.hammond at cpiqpc.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From dmcafee at pacbell.net Fri Nov 4 12:05:09 2005 From: dmcafee at pacbell.net (David McAfee) Date: Fri, 4 Nov 2005 10:05:09 -0800 Subject: [AccessD] Staging/Queueing Ideas In-Reply-To: <2A261FF9D5EBCA46940C11688CE872EE032D8B33@goexchange2.pghcorning.com> Message-ID: I've built several of these systems. The last one that I built has been the easiest to maintain. It also allows growth (what if a new step/process is created?). I take it that you have an RGA header and detail table. The detail table is all the information related to the parts/items themselves. The header table is everything related to the RGA itself (bill to, ship to, RGA#). I tend to put in entryDate (default = now() )and entryBy fields into just about every table. I have codes set for each stage of the way: When the call is being entered, the code is considered a failure code: RSU - Returned status unknown MLF - Unit malfunction RPM - Returned due to missing part USE - User caused fault When the unit is received: DMG - Received damaged RAE - Received as expected SEE - See notes When the unit is in disposition: RTV - Return to vendor CNR - Could not repeat problem RBD - Rebuild SEE - See Notes When sent to accounting: WAR - Warranty NOC - No Credit OOW - Out of warranty I have a table (tblRGAActionTypes): RGAACtionID (AN PK) RGAACtion (text 20) entryDate (datetime - Now() ) entryUserID (integer) This table simply has my four steps as records: Entry, Receive, Disposition, Closed I join that table to another table (one to many) called tblRGAActionCodes: RGAActionCodeID (AN PK) RGAActionID (Integer FK) ActionCode (Text 3) ActionDescription (Text 50) entryDate (datetime - Now() ) entryUserID (integer) A final table , a junction table is created, which links tblRGAHeader and tblRGAActionCodes with a many to many relationship, I call it tblRGAHeaderActionJunct : RGAHeaderActionJunctID (AN PK) RGAid (Integer FK) ActionNotes (Memo) RGAActionCodeID (Integer FK) entryDate (datetime - Now() ) entryUserID (integer) I have one form for all of these steps. I have a tab control which has 3 tabs, one for all of the steps, plus two additional tabs. One for replacement parts used to repair the item and another for the history of the RGA. I pass a code to the form as an openarg and call a function on the forms load event which formats the tab's controls for the step that it is being called for. so for instance, if I open the form with a 1 (entry mode) my combo box's label displays the text "Failure Type" and the combo box's rowsource is: SELECT RGAActionCodeID, ActionCode, ActionDesc FROM tblRGAActionCodes WHERE RGAActionID = Forms!frmRGA!txtformMode The "Notes" box is there for them to type a detailed description of the step (if needed) then a command button simply inserts the data into the appropriate tables. The History tab is easy, since this is a self auditing design. I have a list box which simply selects from the tables: SELECT P.MocSN AS UnitID, A.ActionCode AS Occurrence, H.RGAID AS RGA, HAJ.RGAActionCodeID AS Code, HAJ.ActionNotes AS Notes, HAJ.EntryDate AS [Date], U.FullName AS [User], HAJ.RGAHeaderActionID FROM dbo.tblRGAHeader AS H INNER JOIN dbo.tblRGAHeaderActionJunct AS HAJ ON H.RGAID = HAJ.RGAID INNER JOIN dbo.tblProduct AS P ON H.ProductID = P.ProductID INNER JOIN dbo.tblRGAactionCodes AS A ON HAJ.RGAActionCodeID = A.RGAActionCodeID INNER JOIN dbo.tblRGAactionTypes AS acT ON A.RGAActionID = acT.RGAActionID LEFT OUTER JOIN dbo.tbl_sysUsers AS U ON HAJ.EntryUserID = U.UserID WHERE H.RGAID = Forms!frmRGA!txtRGAnum ORDER BY HAJ.EntryDate ASC I have some safeguards built into the main menu buttons which check the max status of a given RGA, so if someone tries to open an RGA in the incorrect order, they are not allowed. This is a business rule that states the RGA must process through all steps. Let me know if you need any further help with this. David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lavsa, Rich Sent: Friday, November 04, 2005 7:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Staging/Queueing Ideas Hello all, I have been throwing around the notion of building some sort of queuing ability into an application I built. It is an RGA (Return Goods Application). This application tracks items returned to the manufacturing plant, for whatever reason. Through this process, the RGA can be initiated by Customer service or Shipping. Shipping will only initiate an RGA if material shows up on the dock without any prior notification. Anyway, the Flow is as follows.. First Customer Service gets a call from customer to return material. They enter this request into the system, and generate a number. This information is then Faxed or emailed to the customer. Second they send this material to our Warehouse (Shipping). Shipping then verifies what was sent back, how much was good, scrapped, and re-inventoried. Third Manager of Shipping reviews the returns to validate any wrong doings by our customers (tries to avoid larger customers getting free material) and gives their approval. Fourth, goes back to Customer Service who then requests a credit to customer. Fifth, goes to accounting where another quick review takes place, and the actual credit is applied. So I have 5 Stages/queues. Currently there is no way in the application for Shipping to know what to expect, or for Customer Service to know what shipping has passed on to Manager of Shipping for approval, etc.. I did attempt to put a RoutingStatus field in there, but this gets filled in the first time because it's required, then after that it is over looked.. So what I am looking for is an idea or 2 that might be effective in producing some sort of staging or queuing ability within this application. I do not believe a single field with "who's next" is adequate. I have thought about having a date at each stage to be filled in at the time they completed their part, but does that seem overkill? Am I making this part way too complicated? Thanks in advance for any ideas, Rich -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Nov 4 12:20:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 10:20:20 -0800 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... References: <436B923A.19329.2EAD7BCF@stuart.lexacorp.com.pg> <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436BA664.9070305@shaw.ca> Here is a VBA method that works without MAPI under certain conditions and no email client is needed. I don't know if this will help. You need CDOSYS (WinXP or Win2000) You may have to be within a network domain You need the SMTP server address You must have an Internet Connection running 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or 'Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the 'SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail '(some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably won't have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in 'the Shaw or whatever is your domain, your cable modem is a node in 'their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a ' Reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- '60 seconds and finally give a transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "mconn at gmail.com" .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With debug.print "Done" Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 4 12:45:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 10:45:32 -0800 Subject: [AccessD] MySQL Newbie References: Message-ID: <436BAC4C.6090907@shaw.ca> MaxDB (SAPDB) is actually a code fork from the ADABAS-F Database done around 1990, if anybody goes that far back. I seem to remember using ADABAS on IBM mainframes in mid 80's. I haven't checked if anyone has written a MaxDB OLEDB driver for dotNet yet but there are several ODBC ones. The SQL syntax is closer to Oracle than SQL Server. Gustav Brock wrote: >Hi Arthur > >Oh no. MaxDB is the former SAP DB which is capable and accepted for running SAP R/3, thus it compares more to Oracle: > > http://www.mysql.com/products/maxdb/ > >MySQL uses either MyISAM, InnoDB, or the new Archive table format which I posted a link for recently. > >/gustav > > > >>>>artful at rogers.com 04-11-2005 14:45 >>> >>>> >>>> >4. The standard version uses MySQL ISAM data files, while the Max version >uses the innoDB engine (which provides transactions etc.). In the Max >version you can mix and match both table types. > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 4 13:20:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 04 Nov 2005 11:20:33 -0800 Subject: [AccessD] Updating Connect string for SQL Linked tables References: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D0@cpixchng-1.cpiqpc.net> Message-ID: <436BB481.4090401@shaw.ca> Here is some code, to look at that does work. Tribble's BackEnd Relinker (alink21) Available under menu "useful files", you will have to register. http://www.colbyconsulting.com/ look at the function fChangeLink There is a lot of extraneous code to do with file dialog to get changed backend names. rusty.hammond at cpiqpc.com wrote: >I have a form (A97) that I designed to be able to change the parameters of a >connect string for any or all linked SQL tables in the current database that >the form resides in. It seems to work once or twice on a database but then >quits working. By quits working, I mean it goes through the code, looks >like it's working, but when you check the connect string (either through the >properties of the table, or looking at the msysobjects table), the connect >string is still the old one and the changes are not reflected in the >connection information on the SQL server. > >I'm posting the code used to update the connection strings. Any ideas would >be greatly appreciated. > >Private Sub ChangeSQLODBCTables(strName As String, strOption As String, >strTo As String) >'*************************************************************************** >******************** >'*** This subroutine will refresh any tables that are linked to the Access >database via ODBC *** >'*** and will re-create the primary pseudo-index on the newly re-linked >table if necessary *** >'*** Created by RustyH - 3/5/2003 >*** >'*************************************************************************** >******************** > Dim db As Database > Dim tdf As TableDef > Dim tdfNew As TableDef > Dim strConnect As String > Dim strSourceTbl As String > Dim strIndex As String > Dim idx As Index > Dim fld As Field > Dim strFields As String > Dim X As Integer > Dim strSQL As String > Dim fNewHasPrimary As Boolean > Dim fOldHadPrimary > Dim strStatus As String > > Set db = CurrentDb > > Set tdf = db.TableDefs(strName) > strConnect = tdf.Connect > fOldHadPrimary = False > 'Test if the connect string starts with ODBC - Linked access tables >don't show a link type > 'and local tables have an empty connect string ("") > > If Left(tdf.Connect, 5) = "ODBC;" Then > > strSourceTbl = tdf.SourceTableName > strStatus = SysCmd(acSysCmdSetStatus, strName) > For Each idx In tdf.Indexes > 'Search for a primary index on the table > If idx.Primary = True Then > fOldHadPrimary = True > 'Get the primary index name > strIndex = idx.Name > strFields = "" > X = 0 > 'Get the field list that makes up the primary index > For Each fld In idx.Fields > If X = 0 Then > strFields = fld.Name > Else > strFields = strFields & "," & fld.Name > End If > X = X + 1 > Next fld > End If > Next idx > 'Refresh the link to the table > If strTo = "" Then > strConnect = ReplaceString_SQLTableOption(strConnect, ";" & >strOption & "=", "", False) > Else > strConnect = ReplaceString_SQLTableOption(strConnect, ";" & >strOption & "=", ";" & strOption & "=" & strTo & ";", False) > End If > If strConnect = "NO" Then > Stop > 'Me.StatusMsg = Me.StatusMsg & vbCrLf & vbCrLf & strName & " is >not linked to the " & strFrom & " server" > Else > MsgBox "New connect: " & strConnect, vbOKOnly > > 'tdf.Connect = strConnect > 'tdf.RefreshLink > > db.TableDefs.Delete strName > > Set tdfNew = db.CreateTableDef(strName) > tdfNew.SourceTableName = strSourceTbl > tdfNew.Connect = strConnect > db.TableDefs.Append tdfNew > tdfNew.RefreshLink > 'db.TableDefs.Refresh > > fNewHasPrimary = False > For Each idx In tdfNew.Indexes > 'Determine if the newly refreshed table already has a >primary index > If idx.Primary = True Then > fNewHasPrimary = True > End If > Next idx > 'If the newly refreshed linked ODBC table does NOT have a >primary index but it did before > 'the link was refreshed, then create a primary pseudo-index > If fNewHasPrimary = False And fOldHadPrimary = True Then > strSQL = "Create unique index " & strIndex & " on " & >tdfNew.Name & "(" & strFields & ")" > DoCmd.RunSQL strSQL > End If > Me.StatusMsg = Me.StatusMsg & vbCrLf & strName & " done" > End If > End If > > db.Close > Set db = Nothing > strStatus = SysCmd(acSysCmdClearStatus) > >End Sub > > >The following function is called by the main sub to create the new connect >string: > > >Private Function ReplaceString_SQLTableOption(strTextIn As String, strFind >As String, strReplace As String, fCaseSensitive As Boolean) As String > ' Comments : replaces a substring in a string with another > ' Parameters : strTextIn - string to work on > ' strFind - string to find > ' strReplace - string to replace with > ' fCaseSensitive - True for case sensitive search, False >for case-insensitive search > ' Returns : modified string > ' > Dim strTmp As String > Dim intPos As Integer > Dim intLen As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > intLen = InStr(intPos + 1, strTmp, ";", intCaseSensitive) - intPos + 1 > If intPos > 0 Then > Do While intPos > 0 > If strReplace <> "" Then > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, >intPos + intLen) > Else > strTmp = Left$(strTmp, intPos - 1) & Mid$(strTmp, intPos + >intLen - 1) > End If > intPos = InStr(intPos + intLen, strTmp, strFind, intCaseSensitive) > Loop > Else > strTmp = "NO" > End If > > If Right(strTmp, 1) = ";" Then strTmp = Left(strTmp, Len(strTmp) - 1) > > ReplaceString_SQLTableOption = strTmp > >End Function > > >TIA! > >Rusty Hammond >rusty.hammond at cpiqpc.com > > > -- Marty Connelly Victoria, B.C. Canada From rusty.hammond at cpiqpc.com Fri Nov 4 14:10:41 2005 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 4 Nov 2005 14:10:41 -0600 Subject: [AccessD] Updating Connect string for SQL Linked tables Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A154F82D3@cpixchng-1.cpiqpc.net> Thanks, I'll take a look -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, November 04, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Updating Connect string for SQL Linked tables Here is some code, to look at that does work. Tribble's BackEnd Relinker (alink21) Available under menu "useful files", you will have to register. http://www.colbyconsulting.com/ look at the function fChangeLink There is a lot of extraneous code to do with file dialog to get changed backend names. rusty.hammond at cpiqpc.com wrote: >I have a form (A97) that I designed to be able to change the parameters of a >connect string for any or all linked SQL tables in the current database that >the form resides in. It seems to work once or twice on a database but then >quits working. By quits working, I mean it goes through the code, looks >like it's working, but when you check the connect string (either through the >properties of the table, or looking at the msysobjects table), the connect >string is still the old one and the changes are not reflected in the >connection information on the SQL server. > >I'm posting the code used to update the connection strings. Any ideas would >be greatly appreciated. > Rusty ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From stuart at lexacorp.com.pg Fri Nov 4 16:00:22 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 08:00:22 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C6696.26618.31EAF295@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > Take a look at http://www.a1vbcode.com/snippet-270.asp > Stuart, > > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > > Microsoft Office Outlook. > ========================= > Either there is no default mail client or the current mail client cannot > fullfill the messaging request. Please run Microsoft Office Outlook and set > it as the default mail client. OE definitely is MAPI compliant, but in your case MAPI seens to want send to Outlook instead of OE. It looks to me as though there is a problem with the configuration OE on your PC. It is possible that when you install Office, it sets Outlook as the default MAPI client instead of OE. If you then don't configure Outlook, but continue to use OE, you run into problems. > > What is also bad news this message above comes somewhere out of MS > Windows(MAPI32.dll probably) and can't be suppressed.... > > Tested on another PC - the same result. > > On both PCs mailto protocol works just fine. > > When tested your sample, which forces to use Outlook(olk_SendMail) it > resulted in an annoying message: > Try downloading MAPISend from http://www.lexacorp.com.pg, and tell me what error it generates when you try to use it. -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 16:25:43 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 08:25:43 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C6C87.30746.32022686@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > Just a WAG, but take a look at: http://support.microsoft.com/kb/290797/ Outlook Express is set as your default e-mail program, but the Mail Recipient, Mail Recipient (As Attachment), or Routing Recipient options may be missing when you click Send To on the File menu in Microsoft Office 2000 programs. CAUSE The Win.ini configuration file is incomplete. RESOLUTION Modify the Win.ini file (using any plain text editor, such as Notepad, or the Sysedit utility) as follows: -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 17:35:37 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 09:35:37 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C7CE9.6362.3242269E@stuart.lexacorp.com.pg> Here's the definitive list MAPI32.DLL declarations etc for VB/VBA http://support.microsoft.com/kb/q163216/ MS are quite positive that it works with OE: This updated module for Visual Basic 6.0 allows a programmer to use Simple MAPI calls. The Simple MAPI functions are defined in respect to the Mapi32.dll that ships with Microsoft Outlook or Microsoft Outlook Express. -- Stuart From stuart at lexacorp.com.pg Fri Nov 4 17:45:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 05 Nov 2005 09:45:35 +1000 Subject: [AccessD] ShellExecute to send short e-mail vianon-MSemailclients... In-Reply-To: <000c01c5e147$4813ec40$6401a8c0@fincomplex.spb.ru> Message-ID: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > It would have been great but it(api_SendMail) didn't work with Outlook > Express on my PC resulting in a message: > It's a known problem with VB Code and OE. See: http://support.microsoft.com/kb/315458/ Calls to the MAPISendMail function that are made from Microsoft Visual Basic code may fail with an error message that resembles the following: Microsoft Outlook Either there is no default mail client or the current mail client cannot fulfill the messaging request. Please run Microsoft Outlook and set it as the default mail client. This problem often occurs when Microsoft Outlook Express is set as the default mail client. CAUSE Visual Basic programs that use Simple MAPI typically use Declare statements that import the BMAPI functions. When Outlook Express is the default mail client, the MAPI stub library cannot route these calls to Outlook Express; instead, the calls fail and an error message is displayed. RESOLUTION One way to resolve this problem is to not use Declare statements that reference the BMAPI functions. However, because Visual Basic cannot call the non-BMAPI functions (unless you manipulate the required structures at the binary level), you may want to write code to call the Simple MAPI functions from a language that can handle the structures, such a C or C++. Two other resolutions are provided at the end of the "More Information" section. -- Stuart From shamil at users.mns.ru Fri Nov 4 19:21:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2005 04:21:12 +0300 Subject: [AccessD] ShellExecute to send short e-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> Message-ID: <003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> Stuart, This looks like an answer! I mean that using only VB6/VBA there is no direct way to send e-mail via MAPI using Outlook Express ... Based on that info I did find a C# sample http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK with Outlook Express on my PC without any additional tuning. I did compile this sample and I did put it for download if somebody don't have VS.NET 2003 here: http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires .NET Framework 1.1) Everybody with .NET Framework 1.1 and Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default e-mail clients are welcome to try it: 1. when it starts it reads Inbox 2. clicking on the item in listview you can see message body in textbox 3. clicking [Send Mail...] button you can open a form to prepare and send a message (put it in outbox) Now it looks like we are near to have a code, which can popup default e-mail client's new message window with any size text inside and with attachments. Stuart, to you have any hints where such (C++, C#, VB.NET) code can be found - I mean the code, which does what e.g. WinZip does when you right-click in Explorer and select from popup menu "Zip and E-mail"? Thank you, Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Saturday, November 05, 2005 2:45 AM Subject: Re: [AccessD] ShellExecute to send short e-mailvianon-MSemailclients... > On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > > > It would have been great but it(api_SendMail) didn't work with Outlook > > Express on my PC resulting in a message: > > > > It's a known problem with VB Code and OE. > See: http://support.microsoft.com/kb/315458/ > > > Calls to the MAPISendMail function that are made from Microsoft Visual > Basic code may fail with an error message that resembles the following: > Microsoft Outlook Either there is no default mail client or the current > mail client cannot fulfill the messaging request. Please run Microsoft > Outlook and set it as the default mail client. > > This problem often occurs when Microsoft Outlook Express is set as the > default mail client. > > CAUSE Visual Basic programs that use Simple MAPI typically use Declare > statements that import the BMAPI functions. When Outlook Express is the > default mail client, the MAPI stub library cannot route these calls to > Outlook Express; instead, the calls fail and an error message is displayed. > > > RESOLUTION One way to resolve this problem is to not use Declare statements > that reference the BMAPI functions. However, because Visual Basic cannot > call the non-BMAPI functions (unless you manipulate the required structures > at the binary level), you may want to write code to call the Simple MAPI > functions from a language that can handle the structures, such a C or C++. > > Two other resolutions are provided at the end of the "More Information" > section. > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Sat Nov 5 02:26:14 2005 From: john at winhaven.net (John Bartow) Date: Sat, 5 Nov 2005 02:26:14 -0600 Subject: [AccessD] A2k3 Object Browser Message-ID: <016001c5e1e2$9665a730$6b01a8c0@ScuzzPaq> Is there a way to print the properties, methods, and events for a particular object from the object browser? From wdhindman at bellsouth.net Sat Nov 5 08:10:21 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 5 Nov 2005 09:10:21 -0500 Subject: [AccessD] ShellExecute to send shorte-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg> <003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> Message-ID: <001601c5e212$a8914ab0$6101a8c0@JISREGISTRATION.local> Shamil ...your compilation works great on my OE account ...but is there any way to have this execute from inside an Access form ...like a subform for instance? ...I've been looking for this functionality for quite some time for my clients using Outlook Express ...would also need to be able to read folders other than the Inbox. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Friday, November 04, 2005 8:21 PM Subject: Re: [AccessD] ShellExecute to send shorte-mailvianon-MSemailclients... > Stuart, > > This looks like an answer! I mean that using only VB6/VBA there is no > direct > way to send e-mail via MAPI using Outlook Express ... > > Based on that info I did find a C# sample > http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK > with > Outlook Express on my PC without any additional tuning. > > I did compile this sample and I did put it for download if somebody don't > have VS.NET 2003 here: > http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires > .NET Framework 1.1) > > Everybody with .NET Framework 1.1 and > > Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default > e-mail > clients are welcome to try it: > > 1. when it starts it reads Inbox > 2. clicking on the item in listview you can see message body in textbox > 3. clicking [Send Mail...] button you can open a form to prepare and send > a > message (put it in outbox) > > Now it looks like we are near to have a code, which can popup default > e-mail > client's new message window with any size text inside and with > attachments. > > Stuart, to you have any hints where such (C++, C#, VB.NET) code can be > found - I mean the code, which does what e.g. WinZip does when you > right-click in Explorer and select from popup menu "Zip and E-mail"? > > Thank you, > Shamil > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, November 05, 2005 2:45 AM > Subject: Re: [AccessD] ShellExecute to send short > e-mailvianon-MSemailclients... > > >> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: >> >> > It would have been great but it(api_SendMail) didn't work with Outlook >> > Express on my PC resulting in a message: >> > >> >> It's a known problem with VB Code and OE. >> See: http://support.microsoft.com/kb/315458/ >> >> >> Calls to the MAPISendMail function that are made from Microsoft Visual >> Basic code may fail with an error message that resembles the following: >> Microsoft Outlook Either there is no default mail client or the current >> mail client cannot fulfill the messaging request. Please run Microsoft >> Outlook and set it as the default mail client. >> >> This problem often occurs when Microsoft Outlook Express is set as the >> default mail client. >> >> CAUSE Visual Basic programs that use Simple MAPI typically use Declare >> statements that import the BMAPI functions. When Outlook Express is the >> default mail client, the MAPI stub library cannot route these calls to >> Outlook Express; instead, the calls fail and an error message is > displayed. >> >> >> RESOLUTION One way to resolve this problem is to not use Declare > statements >> that reference the BMAPI functions. However, because Visual Basic cannot >> call the non-BMAPI functions (unless you manipulate the required > structures >> at the binary level), you may want to write code to call the Simple MAPI >> functions from a language that can handle the structures, such a C or >> C++. >> >> Two other resolutions are provided at the end of the "More Information" >> section. >> >> >> -- >> 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 martyconnelly at shaw.ca Sat Nov 5 12:40:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 05 Nov 2005 10:40:55 -0800 Subject: [AccessD] A2k3 Object Browser References: <016001c5e1e2$9665a730$6b01a8c0@ScuzzPaq> Message-ID: <436CFCB7.1090200@shaw.ca> You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a particular >object from the object browser? > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Sat Nov 5 14:16:11 2005 From: john at winhaven.net (John Bartow) Date: Sat, 5 Nov 2005 14:16:11 -0600 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <436CFCB7.1090200@shaw.ca> Message-ID: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> Marty, Tried that. Don't get much at all. Is it possible to interate through the an Active-X object model and pull out all of its events, properties and methods, constants, etc. into a report or a text file? My gut feeling is yes since the Object Browser display all of it. But I would need to do this in VBA. I have code to do this for Access container objects but I never attempted it with ActiveX objects. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, November 05, 2005 12:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2k3 Object Browser You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a >particular object from the object browser? > > > -- 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 DWUTKA at marlow.com Sat Nov 5 14:46:10 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 5 Nov 2005 14:46:10 -0600 Subject: [AccessD] A2k3 Object Browser Message-ID: <123701F54509D9119A4F00D0B7473490EA5F94@main2.marlow.com> You can grab the contents of a listbox with API calls. I wrote a VB project to do this a few years ago. Had a spam filter that displayed the current list of 'filters' in a listbox, and I needed to switch to a text file instead. However, there was no export function. So I used the following code to 'grab' the items in the listbox. private Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long private Declare Function GetTextSendMessage Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As String) As Long private Const LB_GETCOUNT = &H18B private Const LB_GETTEXT = &H189 private Const LB_GETTEXTLEN = &H18A private Const CB_GETLBTEXT = &H148 private Const CB_GETLBTEXTLEN = &H149 Private Sub Command1_Click() Dim i As Long Dim dwReturn As Long Dim strTemp As String ListBoxCount = 0 'inthWnd = 1377856 'inthWnd = 655826 inthWnd = Me.txthWnd Me.lstReturnedData.Clear dwReturn = SendMessage(inthWnd, LB_GETCOUNT, 0, 0) 'MsgBox dwReturn 'Exit Sub ListBoxCount = dwReturn For i = 0 To ListBoxCount - 1 dwReturn = SendMessage(inthWnd, LB_GETTEXTLEN, i, 0) 'strTemp = Space(255) 'Space(dwReturn + 1) strTemp = String(dwReturn, 0) dwReturn = SendMessage(inthWnd, LB_GETTEXT, i, ByVal strTemp$) Me.lstReturnedData.AddItem strTemp Next i End Sub To make this work, you need the hWnd value of the listbox. I have a little VB .exe I wrote that displays the window information (including the hWnd value) of whatever window the mouse is over. This worked perfect for what I needed it for. However, I already tried to use this on the Object browser. It will pull the lists from the drop down menus, but not from the items lists. I think that is because they are custom drawn. It does 'detect' the right number of items... (ie, the LB_GETCOUNT) returns the right number of items in the list, however, it retrieves a length of 4 every time. With a cursory look at the MSDN for LB_GETTEXT, it looks like if it is drawn a certain way, the text returned is a 32 bit pointer, and not the actual text. Hopefully this gives you something to go on. Drew -----Original Message----- From: John Bartow [SMTP:john at winhaven.net] Sent: Saturday, November 05, 2005 2:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2k3 Object Browser Marty, Tried that. Don't get much at all. Is it possible to interate through the an Active-X object model and pull out all of its events, properties and methods, constants, etc. into a report or a text file? My gut feeling is yes since the Object Browser display all of it. But I would need to do this in VBA. I have code to do this for Access container objects but I never attempted it with ActiveX objects. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Saturday, November 05, 2005 12:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2k3 Object Browser You could try copy to clipboard icon. I think it will only do individual items though. It is meant for cut and pasting to code. John Bartow wrote: >Is there a way to print the properties, methods, and events for a >particular object from the object browser? > > > -- 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 stuart at lexacorp.com.pg Sat Nov 5 17:10:53 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 06 Nov 2005 09:10:53 +1000 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> References: <436CFCB7.1090200@shaw.ca> Message-ID: <436DC89D.24878.3751D7B3@stuart.lexacorp.com.pg> On 5 Nov 2005 at 14:16, John Bartow wrote: > Marty, > Tried that. Don't get much at all. > > Is it possible to interate through the an Active-X object model and pull out > all of its events, properties and methods, constants, etc. into a report or > a text file? My gut feeling is yes since the Object Browser display all of > it. One of the tools that comes with PowerBasic is PBrow: The PowerBASIC COM Browser is an application that exposes the Interfaces, Methods and Properties of COM Objects, as described by type-library files. The PowerBASIC COM Browser serves a dual purpose - to export an Interface Structure of a COM Object for early-binding purposes in your PowerBASIC code, and to provide syntax reference and context-help on the Interface members exposed by a COM Object. .... The PowerBASIC COM Browser cannot open type-library or Object files that do not have at least one Interface that has a ProgID, indicating they support the Dispatch interface or are Dual-interface Objects. Without a ProgID, a COM Object will not support the IDispatch (dispatch) Interface. COM Objects of this variety often expose "direct" interfaces, and may be ActiveX Controls rather than COM servers. Objects of this type are not compatible with PowerBASIC (and are often not compatible with Visual Basic too). Buy PBrow for $199 and you will get PowerBASIC thrown in for free Here's a short extract from the file I just created for DAO: ------------------------------------------------------------ ' Library Name: Microsoft DAO 3.6 Object Library 5.0 ' Library File: C:\PROGRA~1\COMMON~1\MICROS~1\DAO360.DLL ' ------------------------------------------------------------ ' Version Info: ' ------------- ' Company Name: Microsoft Corporation ' File Description: Microsoft DAO 3.6 Object Library ' File Version: 03.60.2927.12 ' Internal Name: DAO360 ' Legal Copyright: Copyright ? Microsoft Corp. 1993-1997 ' Original Filename: DAO360.DLL ' Product Name: Microsoft? Jet ' Product Version: 03.60.2927.12 ' ------------------------------------------------------------ ...... 'Enumeration DataTypeEnum %dbBoolean = &H00000001 %dbByte = &H00000002 %dbInteger = &H00000003 %dbLong = &H00000004 %dbCurrency = &H00000005 %dbSingle = &H00000006 %dbDouble = &H00000007 %dbDate = &H00000008 %dbBinary = &H00000009 %dbText = &H0000000A %dbLongBinary = &H0000000B %dbMemo = &H0000000C %dbGUID = &H0000000F %dbBigInt = &H00000010 %dbVarBinary = &H00000011 %dbChar = &H00000012 %dbNumeric = &H00000013 %dbDecimal = &H00000014 %dbFloat = &H00000015 %dbTime = &H00000016 %dbTimeStamp = &H00000017 .... Interface Dispatch DAOTableDefs Member Get Count<&H60020000>() As Integer Member Call Refresh<&H60020002>() Member Call Append<&H60030000>(in Object As Variant<&H00000000>) Member Call Delete<&H60030001>(in Name As String<&H00000000>) Member Get Item<&H00000000>(in Item As Variant<&H00000000>) As DAOTableDef End Interface -- Stuart From shamil at users.mns.ru Sun Nov 6 02:45:50 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 6 Nov 2005 11:45:50 +0300 Subject: [AccessD] A2k3 Object Browser References: <004c01c5e245$c45d5940$6b01a8c0@ScuzzPaq> Message-ID: <006c01c5e2ae$80e3d950$6401a8c0@fincomplex.spb.ru> > Is it possible to interate through the an Active-X object model Yes, John, you can use tlbinf32.dll to do that: FILE: Tlbinf32.exe : Help Files for Tlbinf32.dll http://support.microsoft.com/Default.aspx?scid=kb;en-us;224331&spid=3042&sid=global How To Obtain Built-In Constant Values for an Office Application http://support.microsoft.com/?scid=kb;en-us;239930&spid=2520&sid=251 SAMPLE: CLSNMMBR.EXE Programmatically Retrieves the Members of a DLL Class http://support.microsoft.com/kb/172988/EN-US/ ActiveX Documenter (there is full source code there but with broken refs downloaded exe doesn't run on my PC) http://www.vbaccelerator.com/home/VB/Utilities/ActiveX_Documenter/article.asp PropertyExists Routine Using TLBINF32.DLL http://www.freevbcode.com/ShowCode.asp?ID=2441 I did write quite some code using tlbinf32.dll but that was commercial therefore I cannot post it here HTH, Shamil ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 05, 2005 11:16 PM Subject: Re: [AccessD] A2k3 Object Browser > Marty, > Tried that. Don't get much at all. > > Is it possible to interate through the an Active-X object model and pull out > all of its events, properties and methods, constants, etc. into a report or > a text file? My gut feeling is yes since the Object Browser display all of > it. But I would need to do this in VBA. > > I have code to do this for Access container objects but I never attempted it > with ActiveX objects. > From robert at servicexp.com Sun Nov 6 11:38:34 2005 From: robert at servicexp.com (Robert Gracie) Date: Sun, 6 Nov 2005 12:38:34 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com From dmcafee at pacbell.net Sun Nov 6 12:00:41 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 6 Nov 2005 10:00:41 -0800 Subject: [AccessD] Date/Time Conversion In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> Message-ID: I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sun Nov 6 13:21:59 2005 From: robert at servicexp.com (Robert Gracie) Date: Sun, 6 Nov 2005 14:21:59 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F80@gbsserver.GBS.local> David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Nov 6 15:30:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 07 Nov 2005 07:30:35 +1000 Subject: [AccessD] Date/Time Conversion In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F7F@gbsserver.GBS.local> Message-ID: <436F029B.1688.3C1C5748@stuart.lexacorp.com.pg> On 6 Nov 2005 at 12:38, Robert Gracie wrote: > > > I have a table that has a date field that the input has been the date & the > time (Now()). I'm trying to build a report based on the results of a query > that the user inputs the date. > > I have tried formatting the field by using "TransDate: > Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between > [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". > > So if the users input is 01/01/2005 for the first date and 01/10/2005 > for the second, the query results include 2004 records also, but with-in the > month and day criteria... > > If I try to sort the results is ascending order on the date, it will > only sort on the month & day.. > Others have pointed out that you should filter on the underlying date and format in the report. There is one other "gotcha" to watch for cases like this where you are filtering dates on a date/time record. When using a criterion of Between 01/01/2005 And 01/10/2005: If you are select on a field where only dates have been entered (using the Date() function) it will return ALL records for 01/10/2005. If the field contains a date and time (filled using the Now() function) it will return NO records for 01/10/2005. The reason is because the criterion date "01/10/2005" is treated as "01/10/2005 00:00:00". A time part in any record for 01/10/2005 makes the entry greater than the criterion and it is skipped. -- Stuart From shamil at users.mns.ru Sun Nov 6 20:15:56 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 7 Nov 2005 05:15:56 +0300 Subject: [AccessD] ShellExecute to sendshorte-mailvianon-MSemailclients... References: <436C7F3F.3329.324B46BD@stuart.lexacorp.com.pg><003001c5e1a7$396dc390$6401a8c0@fincomplex.spb.ru> <001601c5e212$a8914ab0$6101a8c0@JISREGISTRATION.local> Message-ID: <004001c5e341$3106dd40$6401a8c0@fincomplex.spb.ru> Thank you for your feedback, William! Yes, it's possible to create C++ ATL/COM ActiveX Control but this is quite some work - I don't think I will have free time for it in the near and not that near future. Another way is to create C++ ATL/COM ActiveX DLL with a simple API interface to send e-mails, read e-mal boxes etc., to wrap and expose MAPI functionality, which isn't available in VB6/VBA. This is less work than C++ ATL/COM ActiveX control but still some work I have to find free time for. It may happen somebody did develop similar ActiveX already . Third way (will work only with .NET Framework installed) is to develop ClassLibrary on VB.NET or C# and expose its API using CCW(COM Callable Wrappers). Fourth way (the shortest) is to create ActiveX control in .NET - http://www.c-sharpcorner.com/Code/2003/March/ActiveXInNet.asp - I have never tried that - if it will work as described in referenced article then the sample code I previously referred(http://www.codeproject.com/csharp/simplemapidotnet.asp,) can be wrapped into ActiveX control, which can be used in MS Access forms I hope. The fifth way... (there are many others like using Delphi to develop ActiveX control etc.) Recap: ===== 1. The first way is the longest but promise to bring the best results; 2. The fourth way is the shortest - but I'm unsure about result. And it will need .NET Framework installed on clients' PCs; 3. The second and the third ways will not result in ActiveX controls' development, which are the most desired result AFAIS..... Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Saturday, November 05, 2005 5:10 PM Subject: Re: [AccessD] ShellExecute to sendshorte-mailvianon-MSemailclients... > Shamil > > ...your compilation works great on my OE account ...but is there any way to > have this execute from inside an Access form ...like a subform for instance? > ...I've been looking for this functionality for quite some time for my > clients using Outlook Express ...would also need to be able to read folders > other than the Inbox. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Friday, November 04, 2005 8:21 PM > Subject: Re: [AccessD] ShellExecute to send > shorte-mailvianon-MSemailclients... > > > > Stuart, > > > > This looks like an answer! I mean that using only VB6/VBA there is no > > direct > > way to send e-mail via MAPI using Outlook Express ... > > > > Based on that info I did find a C# sample > > http://www.codeproject.com/csharp/simplemapidotnet.asp, which works OK > > with > > Outlook Express on my PC without any additional tuning. > > > > I did compile this sample and I did put it for download if somebody don't > > have VS.NET 2003 here: > > http://smsconsulting.spb.ru/download/tests/mapisample.zip (12KB, requires > > .NET Framework 1.1) > > > > Everybody with .NET Framework 1.1 and > > > > Eudora. or Pegasus Mail or Groupwise as well or MS Outlook as default > > e-mail > > clients are welcome to try it: > > > > 1. when it starts it reads Inbox > > 2. clicking on the item in listview you can see message body in textbox > > 3. clicking [Send Mail...] button you can open a form to prepare and send > > a > > message (put it in outbox) > > > > Now it looks like we are near to have a code, which can popup default > > e-mail > > client's new message window with any size text inside and with > > attachments. > > > > Stuart, to you have any hints where such (C++, C#, VB.NET) code can be > > found - I mean the code, which does what e.g. WinZip does when you > > right-click in Explorer and select from popup menu "Zip and E-mail"? > > > > Thank you, > > Shamil > > > > ----- Original Message ----- > > From: "Stuart McLachlan" > > To: "Access Developers discussion and problem solving" > > > > Sent: Saturday, November 05, 2005 2:45 AM > > Subject: Re: [AccessD] ShellExecute to send short > > e-mailvianon-MSemailclients... > > > > > >> On 4 Nov 2005 at 16:54, Shamil Salakhetdinov wrote: > >> > >> > It would have been great but it(api_SendMail) didn't work with Outlook > >> > Express on my PC resulting in a message: > >> > > >> > >> It's a known problem with VB Code and OE. > >> See: http://support.microsoft.com/kb/315458/ > >> > >> > >> Calls to the MAPISendMail function that are made from Microsoft Visual > >> Basic code may fail with an error message that resembles the following: > >> Microsoft Outlook Either there is no default mail client or the current > >> mail client cannot fulfill the messaging request. Please run Microsoft > >> Outlook and set it as the default mail client. > >> > >> This problem often occurs when Microsoft Outlook Express is set as the > >> default mail client. > >> > >> CAUSE Visual Basic programs that use Simple MAPI typically use Declare > >> statements that import the BMAPI functions. When Outlook Express is the > >> default mail client, the MAPI stub library cannot route these calls to > >> Outlook Express; instead, the calls fail and an error message is > > displayed. > >> > >> > >> RESOLUTION One way to resolve this problem is to not use Declare > > statements > >> that reference the BMAPI functions. However, because Visual Basic cannot > >> call the non-BMAPI functions (unless you manipulate the required > > structures > >> at the binary level), you may want to write code to call the Simple MAPI > >> functions from a language that can handle the structures, such a C or > >> C++. > >> > >> Two other resolutions are provided at the end of the "More Information" > >> section. > >> > >> > >> -- > >> 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 mboyd at deloitte.com Mon Nov 7 08:50:17 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 7 Nov 2005 09:50:17 -0500 Subject: [AccessD] Export Outlook Global Address List Message-ID: Does anyone have code, or know how, to export the Global Address List from Outlook, into an Access mdb? I'm assuming that you need Administrative rights on the Exchange server, which I don't have, in order to get this info. Any ideas are appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mikedorism at verizon.net Mon Nov 7 09:15:17 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 07 Nov 2005 10:15:17 -0500 Subject: [AccessD] Export Outlook Global Address List In-Reply-To: Message-ID: <000701c5e3ae$108ba8d0$2f01a8c0@dorismanning> I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. Doris Manning mikedorism at verizon.net ************************************************************** Public Function SafeAddress(MyForm As String) On Error GoTo ErrorHandler Dim oSafeAddr As Object Dim oAddrEntries As AddressEntries Dim oAddrEntry As AddressEntry Dim FormName As Form Dim strDispName As String Dim strMailName As String Const GivenName = &H3A06001E Const Surname = &H3A11001E Set FormName = Forms(MyForm) Set oSafeAddr = CreateObject("Redemption.AddressLists") Set oAddrEntries = oSafeAddr("Global Address List").AddressEntries For Each oAddrEntry In oAddrEntries If Not IsEmpty(oAddrEntry.Fields(GivenName)) And _ Not IsEmpty(oAddrEntry.Fields(Surname)) Then strDispName = oAddrEntry.Name strMailName = oAddrEntry.Fields(GivenName) & oAddrEntry.Fields(Surname) strMailName = strMailName & "@hargroveinc.com" FormName!lstOthers.AddItem strDispName & ";" & strMailName End If Next oAddrEntry Set oAddrEntry = Nothing Set oAddrEntries = Nothing Set oSafeAddr = Nothing Set FormName = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SafeAddress") End Function From harkinsss at bellsouth.net Mon Nov 7 09:18:07 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 7 Nov 2005 10:18:07 -0500 Subject: [AccessD] Export Outlook Global Address List In-Reply-To: <000701c5e3ae$108ba8d0$2f01a8c0@dorismanning> Message-ID: <20051107151808.CRFT406.ibm67aec.bellsouth.net@SUSANONE> http://www.helenfeddema.com Helen has a ton of Outlook/Access code. Susan H. I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. From Lambert.Heenan at AIG.com Mon Nov 7 09:23:30 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 7 Nov 2005 09:23:30 -0600 Subject: [AccessD] Date/Time Conversion Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999799@xlivmbx21.aig.com> Good, you got rid to the "Format()" use, but there's still one thing waiting to catch you. When you use Between in a criteria like Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". You have to be aware that just a bare date like 10/05/2005 means Midnight on that date, and because your date field includes the time part, the second date in the query can cause you problems as it too only goes as far as midnight. So if the second date entered for the query criteria was 10/06/2005 your query would not show results for dates later than 10/06/2005 12:00:00 AM. e.g. the date 10/06/2005 08:00:00 AM would not be returned by the query as it is after midnight on 10/06/05. The fix is easy. Just change the second date prompt like this.. Between [Start Date eg: 10/05/2005] And Cdate([End Date eg: 10/06/2005]) +#11:59:59 PM# By adding the time portion (one second prior to midnight) to the end date you will get results covering the whole 24 hour period of the end date. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 7 11:24:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 07 Nov 2005 09:24:20 -0800 Subject: [AccessD] Export Outlook Global Address List References: Message-ID: <436F8DC4.7030102@shaw.ca> This site covers Outlook and Exchange methods http://www.slipstick.com/ And it's sister site covers Outlook and Exchange VBA code http://www.outlookcode.com/ Boyd, Mark Thomas (US - Philadelphia) wrote: >Does anyone have code, or know how, to export the Global Address List >from Outlook, into an Access mdb? >I'm assuming that you need Administrative rights on the Exchange server, >which I don't have, in order to get this info. > >Any ideas are appreciated. >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Nov 7 11:28:49 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 7 Nov 2005 12:28:49 -0500 Subject: [AccessD] Export Outlook Global Address List Message-ID: I found that Access2003 allows you to import the Address List directly into the mdb. By selecting a file type of 'Outlook()' or 'Exchange()' on the Import dialog box, an option for 'Global Address List' is available. I can't guarantee this will work, as the enormous list has been importing for the last 2 hours. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, November 07, 2005 10:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export Outlook Global Address List I don't have code for how to export it from Outlook but I do have code for how to import it from within Access. My code uses Redemption to get around the security issues but the normal Outlook process should be identical. Doris Manning mikedorism at verizon.net ************************************************************** Public Function SafeAddress(MyForm As String) On Error GoTo ErrorHandler Dim oSafeAddr As Object Dim oAddrEntries As AddressEntries Dim oAddrEntry As AddressEntry Dim FormName As Form Dim strDispName As String Dim strMailName As String Const GivenName = &H3A06001E Const Surname = &H3A11001E Set FormName = Forms(MyForm) Set oSafeAddr = CreateObject("Redemption.AddressLists") Set oAddrEntries = oSafeAddr("Global Address List").AddressEntries For Each oAddrEntry In oAddrEntries If Not IsEmpty(oAddrEntry.Fields(GivenName)) And _ Not IsEmpty(oAddrEntry.Fields(Surname)) Then strDispName = oAddrEntry.Name strMailName = oAddrEntry.Fields(GivenName) & oAddrEntry.Fields(Surname) strMailName = strMailName & "@hargroveinc.com" FormName!lstOthers.AddItem strDispName & ";" & strMailName End If Next oAddrEntry Set oAddrEntry = Nothing Set oAddrEntries = Nothing Set oSafeAddr = Nothing Set FormName = Nothing Exit Function ErrorHandler: Call HandleErrors(Err, strMyName, "SafeAddress") End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From harkinsss at bellsouth.net Mon Nov 7 11:31:02 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 7 Nov 2005 12:31:02 -0500 Subject: [AccessD] Report export to html question Message-ID: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> When exporting an Access report to html format, is there anyway to keep the pages together in one file? This seems like a familiar question to me, like maybe I've written about it, but I can't seem to find the answer. Susan H. From martyconnelly at shaw.ca Mon Nov 7 12:16:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 07 Nov 2005 10:16:48 -0800 Subject: [AccessD] Report export to html question References: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <436F9A10.3070307@shaw.ca> This is not possible with Access Export to HTML feature. There are several 3'rd party printer driver out there that will give you the desired results though. Try the convert printer output to HTML Printer Driver here: http://www.aureliasystems.com You might be able to use the settings in your Printer Driver to select multiple pages per single output page. Susan Harkins wrote: >When exporting an Access report to html format, is there anyway to keep the >pages together in one file? This seems like a familiar question to me, like >maybe I've written about it, but I can't seem to find the answer. > >Susan H. > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Nov 7 13:37:39 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 08 Nov 2005 05:37:39 +1000 Subject: [AccessD] Report export to html question In-Reply-To: <20051107173146.IHPF25762.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <437039A3.11590.40DB4253@stuart.lexacorp.com.pg> On 7 Nov 2005 at 12:31, Susan Harkins wrote: > When exporting an Access report to html format, is there anyway to keep the > pages together in one file? This seems like a familiar question to me, like > maybe I've written about it, but I can't seem to find the answer. > Not AFAIK. It's just one of the many reasons that I don't output a report to HTML. The other one is that the columns *never* line up properly. If I need an HTML report, I build it myself using a function that steps through the recordset and PRINT#'s a line at a time. If you'd like an example, I can send you the source for producing pages like http://www.pngec.gov.pg/abgresults/abgelections.html -- Stuart From newsgrps at dalyn.co.nz Mon Nov 7 16:17:15 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 11:17:15 +1300 Subject: [AccessD] Opening Other Program Files Message-ID: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? From andy at minstersystems.co.uk Mon Nov 7 16:51:38 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 7 Nov 2005 22:51:38 -0000 Subject: [AccessD] Opening Other Program Files In-Reply-To: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> Message-ID: <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> Hi David Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to credit. Just call RunApp passing it the filename. Don't recall when you need the 2nd param but I alwys pass a value of 1 and it works fine. Function RunApp(strFile As String, bytSize) As Boolean Dim lngRet As Long Dim varTaskID As Variant Dim strRet As String lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, vbNullString, vbNullString, bytSize) If lngRet > Success Then strRet = vbNullString lngRet = -1 RunApp = True Else RunApp = False Select Case lngRet Case NotRegistered varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " & strFile, bytSize) lngRet = (varTaskID <> 0) Case InadequateMemory MsgBox "Error: Out of Memory/Resources!" Case FileNotFound MsgBox "Error: File not found!" Case PathNotFound MsgBox "Error: Path not found!" Case BadFormat MsgBox "Error: Bad File Format!" Case 5 MsgBox "Error: Unauthorized due to Security restrictions!" End Select End If End Function HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 07 November 2005 22:17 > To: accessd at databaseadvisors.com > Subject: [AccessD] Opening Other Program Files > > > I have a field that has the full path to a file. The file may be a > pdf or word doc. My user would like to be able to doubleclick the > field and have the correct application open with the file (eg double > click on a pdf will open Acrobat with the file showing). > > Any pointers on how this can be done? > > From newsgrps at dalyn.co.nz Mon Nov 7 17:03:21 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 12:03:21 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> <01a301c5e3ed$cfdd0550$13430c54@minster33c3r25> Message-ID: <6.2.3.4.0.20051108120204.0759d470@mail.dalyn.co.nz> Thanks Andy, Do you have the code for ShellExecute? David At 8/11/2005, you wrote: >Hi David >Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to >credit. Just call RunApp passing it the filename. Don't recall when you need >the 2nd param but I alwys pass a value of 1 and it works fine. > >Function RunApp(strFile As String, bytSize) As Boolean > Dim lngRet As Long > Dim varTaskID As Variant > Dim strRet As String > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > vbNullString, vbNullString, bytSize) > If lngRet > Success Then > strRet = vbNullString > lngRet = -1 > RunApp = True > Else > RunApp = False > Select Case lngRet > Case NotRegistered > varTaskID = Shell("rundll32.exe > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > lngRet = (varTaskID <> 0) > Case InadequateMemory > MsgBox "Error: Out of Memory/Resources!" > Case FileNotFound > MsgBox "Error: File not found!" > Case PathNotFound > MsgBox "Error: Path not found!" > Case BadFormat > MsgBox "Error: Bad File Format!" > Case 5 > MsgBox "Error: Unauthorized due to Security restrictions!" > End Select > End If >End Function > > >HTH >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > Sent: 07 November 2005 22:17 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Opening Other Program Files > > > > > > I have a field that has the full path to a file. The file may be a > > pdf or word doc. My user would like to be able to doubleclick the > > field and have the correct application open with the file (eg double > > click on a pdf will open Acrobat with the file showing). > > > > Any pointers on how this can be done? From newsgrps at dalyn.co.nz Mon Nov 7 17:05:24 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 12:05:24 +1300 Subject: [AccessD] Opening Other Program Files Message-ID: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> Thanks Andy, Also, You have a number of variables that are not declared (especially in the case statement). Do you have the values for these? David At 8/11/2005, you wrote: >Hi David >Sounds like you want RunApp. See fn below. I'm afraid I don't recall who to >credit. Just call RunApp passing it the filename. Don't recall when you need >the 2nd param but I alwys pass a value of 1 and it works fine. > >Function RunApp(strFile As String, bytSize) As Boolean > Dim lngRet As Long > Dim varTaskID As Variant > Dim strRet As String > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > vbNullString, vbNullString, bytSize) > If lngRet > Success Then > strRet = vbNullString > lngRet = -1 > RunApp = True > Else > RunApp = False > Select Case lngRet > Case NotRegistered > varTaskID = Shell("rundll32.exe > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > lngRet = (varTaskID <> 0) > Case InadequateMemory > MsgBox "Error: Out of Memory/Resources!" > Case FileNotFound > MsgBox "Error: File not found!" > Case PathNotFound > MsgBox "Error: Path not found!" > Case BadFormat > MsgBox "Error: Bad File Format!" > Case 5 > MsgBox "Error: Unauthorized due to Security restrictions!" > End Select > End If >End Function > > >HTH >-- Andy Lacey >http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson > > Sent: 07 November 2005 22:17 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Opening Other Program Files > > > > > > I have a field that has the full path to a file. The file may be a > > pdf or word doc. My user would like to be able to doubleclick the > > field and have the correct application open with the file (eg double > > click on a pdf will open Acrobat with the file showing). > > > > Any pointers on how this can be done? From john at winhaven.net Mon Nov 7 20:50:16 2005 From: john at winhaven.net (John Bartow) Date: Mon, 7 Nov 2005 20:50:16 -0600 Subject: [AccessD] A2k3 Object Browser In-Reply-To: <006c01c5e2ae$80e3d950$6401a8c0@fincomplex.spb.ru> Message-ID: <000001c5e40f$26befba0$6b01a8c0@ScuzzPaq> Thanks all for your suggestions. I am back to square one on doing this myself since everything I have investigated comes up short. The problem may be that many of them rely on tlbinf32 which MS says is unsupported, undocumented and can "change without notice". Apparently they actually do change it and it breaks things. I found one program that seems to pull the info up nicely for reports, OLEPrint by Starprint. Other than that th eother programs and scripts either gave incorrect info or didn't run? From adtp at touchtelindia.net Mon Nov 7 22:47:12 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 8 Nov 2005 10:17:12 +0530 Subject: [AccessD] Opening Other Program Files References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> Message-ID: <00dd01c5e41f$8c9018a0$4320f63d@winxp> David, My sample db named PrintExternalFiles might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: David Emerson To: accessd at databaseadvisors.com Sent: Tuesday, November 08, 2005 03:47 Subject: [AccessD] Opening Other Program Files I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? From newsgrps at dalyn.co.nz Mon Nov 7 23:31:00 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 18:31:00 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <00dd01c5e41f$8c9018a0$4320f63d@winxp> References: <6.2.3.4.0.20051108110936.07598610@mail.dalyn.co.nz> <00dd01c5e41f$8c9018a0$4320f63d@winxp> Message-ID: <6.2.3.4.0.20051108182951.0317cc50@mail.dalyn.co.nz> Thanks A.D. Looks like it will do what we want David At 8/11/2005, you wrote: >David, > > My sample db named PrintExternalFiles might be of interest to > you. It is available at Rogers Access Library (other developers > library). Link - http://www.rogersaccesslibrary.com > > You could adapt the underlying approach suitably, for your > specific needs. > >Best wishes, >A.D.Tejpal >-------------- > > ----- Original Message ----- > From: David Emerson > To: accessd at databaseadvisors.com > Sent: Tuesday, November 08, 2005 03:47 > Subject: [AccessD] Opening Other Program Files > > > I have a field that has the full path to a file. The file may be a > pdf or word doc. My user would like to be able to doubleclick > the field and have the correct application open with the file (eg > double click on a pdf will open Acrobat with the file showing). > > Any pointers on how this can be done? >-- >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 Nov 8 01:47:17 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 8 Nov 2005 07:47:17 -0000 Subject: [AccessD] Opening Other Program Files In-Reply-To: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> Message-ID: <000f01c5e438$a46633b0$13430c54@minster33c3r25> Sorry David. Here's ShellExecute Declare Function ShellExecute Lib "shell32" Alias "ShellExecuteA" (ByVal hWnd As Long, _ ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, _ ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Const InadequateMemory = 0 Private Const FileNotFound = 2 Private Const PathNotFound = 3 Private Const BadFormat = 11 Private Const NotRegistered = 31 Private Const Success = 32 I think that's the lot. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > David Emerson > Sent: 07 November 2005 23:05 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Opening Other Program Files > > > Thanks Andy, > > Also, You have a number of variables that are not declared > (especially in the case statement). Do you have the values for these? > > David > > At 8/11/2005, you wrote: > >Hi David > >Sounds like you want RunApp. See fn below. I'm afraid I don't recall > >who to credit. Just call RunApp passing it the filename. > Don't recall > >when you need the 2nd param but I alwys pass a value of 1 > and it works > >fine. > > > >Function RunApp(strFile As String, bytSize) As Boolean > > Dim lngRet As Long > > Dim varTaskID As Variant > > Dim strRet As String > > > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > > vbNullString, vbNullString, bytSize) > > If lngRet > Success Then > > strRet = vbNullString > > lngRet = -1 > > RunApp = True > > Else > > RunApp = False > > Select Case lngRet > > Case NotRegistered > > varTaskID = Shell("rundll32.exe > > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > > lngRet = (varTaskID <> 0) > > Case InadequateMemory > > MsgBox "Error: Out of Memory/Resources!" > > Case FileNotFound > > MsgBox "Error: File not found!" > > Case PathNotFound > > MsgBox "Error: Path not found!" > > Case BadFormat > > MsgBox "Error: Bad File Format!" > > Case 5 > > MsgBox "Error: Unauthorized due to > Security restrictions!" > > End Select > > End If > >End Function > > > > > >HTH > >-- Andy Lacey > >http://www.minstersystems.co.uk > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David > > > Emerson > > > Sent: 07 November 2005 22:17 > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Opening Other Program Files > > > > > > > > > I have a field that has the full path to a file. The > file may be a > > > pdf or word doc. My user would like to be able to > doubleclick the > > > field and have the correct application open with the file > (eg double > > > click on a pdf will open Acrobat with the file showing). > > > > > > Any pointers on how this can be done? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From newsgrps at dalyn.co.nz Tue Nov 8 02:35:19 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 08 Nov 2005 21:35:19 +1300 Subject: [AccessD] Opening Other Program Files In-Reply-To: <000f01c5e438$a46633b0$13430c54@minster33c3r25> References: <6.2.3.4.0.20051108120441.07588eb0@mail.dalyn.co.nz> <000f01c5e438$a46633b0$13430c54@minster33c3r25> Message-ID: <6.2.3.4.0.20051108213504.0316f730@mail.dalyn.co.nz> Thanks Andy. David At 8/11/2005, you wrote: >Sorry David. Here's ShellExecute > >Declare Function ShellExecute Lib "shell32" Alias "ShellExecuteA" (ByVal >hWnd As Long, _ > ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As >String, _ > ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long > > >Private Const InadequateMemory = 0 >Private Const FileNotFound = 2 >Private Const PathNotFound = 3 >Private Const BadFormat = 11 >Private Const NotRegistered = 31 >Private Const Success = 32 > >I think that's the lot. > >-- Andy Lacey >http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > David Emerson > > Sent: 07 November 2005 23:05 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Opening Other Program Files > > > > > > Thanks Andy, > > > > Also, You have a number of variables that are not declared > > (especially in the case statement). Do you have the values for these? > > > > David > > > > At 8/11/2005, you wrote: > > >Hi David > > >Sounds like you want RunApp. See fn below. I'm afraid I don't recall > > >who to credit. Just call RunApp passing it the filename. > > Don't recall > > >when you need the 2nd param but I alwys pass a value of 1 > > and it works > > >fine. > > > > > >Function RunApp(strFile As String, bytSize) As Boolean > > > Dim lngRet As Long > > > Dim varTaskID As Variant > > > Dim strRet As String > > > > > > lngRet = ShellExecute(hWndAccessApp, vbNullString, strFile, > > > vbNullString, vbNullString, bytSize) > > > If lngRet > Success Then > > > strRet = vbNullString > > > lngRet = -1 > > > RunApp = True > > > Else > > > RunApp = False > > > Select Case lngRet > > > Case NotRegistered > > > varTaskID = Shell("rundll32.exe > > > shell32.dll,OpenAs_RunDLL " & strFile, bytSize) > > > lngRet = (varTaskID <> 0) > > > Case InadequateMemory > > > MsgBox "Error: Out of Memory/Resources!" > > > Case FileNotFound > > > MsgBox "Error: File not found!" > > > Case PathNotFound > > > MsgBox "Error: Path not found!" > > > Case BadFormat > > > MsgBox "Error: Bad File Format!" > > > Case 5 > > > MsgBox "Error: Unauthorized due to > > Security restrictions!" > > > End Select > > > End If > > >End Function > > > > > > > > >HTH > > >-- Andy Lacey > > >http://www.minstersystems.co.uk > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David > > > > Emerson > > > > Sent: 07 November 2005 22:17 > > > > To: accessd at databaseadvisors.com > > > > Subject: [AccessD] Opening Other Program Files > > > > > > > > > > > > I have a field that has the full path to a file. The > > file may be a > > > > pdf or word doc. My user would like to be able to > > doubleclick the > > > > field and have the correct application open with the file > > (eg double > > > > click on a pdf will open Acrobat with the file showing). > > > > > > > > Any pointers on how this can be done? > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Nov 8 04:15:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 8 Nov 2005 13:15:28 +0300 Subject: [AccessD] A2k3 Object Browser References: <000001c5e40f$26befba0$6b01a8c0@ScuzzPaq> Message-ID: <001f01c5e44d$59511d30$6401a8c0@fincomplex.spb.ru> <<< Apparently they actually do change it and it breaks things. >>> John, I have not seen it changed for 5+ years I have been using it. "COM is dead" now - in the sense it will not be getting extended - so my guess tlbinf32.dll will never change > OLEPrint by Starprint. It's written on VB6 so my guess it uses tlbinf32.dll > I am back to square one on doing this myself since everything What is you task? Shamil ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 5:50 AM Subject: Re: [AccessD] A2k3 Object Browser > Thanks all for your suggestions. > > I am back to square one on doing this myself since everything I have > investigated comes up short. The problem may be that many of them rely on > tlbinf32 which MS says is unsupported, undocumented and can "change without > notice". Apparently they actually do change it and it breaks things. > > I found one program that seems to pull the info up nicely for reports, > OLEPrint by Starprint. Other than that th eother programs and scripts either > gave incorrect info or didn't run? > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 8 06:39:21 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 8 Nov 2005 07:39:21 -0500 Subject: [AccessD] Date/Time Conversion Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F82@gbsserver.GBS.local> Lambert, Thank you very much, had no idea... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 07, 2005 10:46 AM To: 'Access Developers discussion and problem solving' Cc: Robert Gracie Subject: Re: [AccessD] Date/Time Conversion Good, you got rid to the "Format()" use, but there's still one thing waiting to catch you. When you use Between in a criteria like Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". You have to be aware that just a bare date like 10/05/2005 means Midnight on that date, and because your date field includes the time part, the second date in the query can cause you problems as it too only goes as far as midnight. So if the second date entered for the query criteria was 10/06/2005 your query would not show results for dates later than 10/06/2005 12:00:00 AM. e.g. the date 10/06/2005 08:00:00 AM would not be returned by the query as it is after midnight on 10/06/05. The fix is easy. Just change the second date prompt like this.. Between [Start Date eg: 10/05/2005] And Cdate([End Date eg: 10/06/2005]) +#11:59:59 PM# By adding the time portion (one second prior to midnight) to the end date you will get results covering the whole 24 hour period of the end date. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion David, Ha, Using "format" in the query is what was screwing it up. Thanks!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Sunday, November 06, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date/Time Conversion I don't think you need the slashes in the date in the format function. I was going to ask why are you even using the format function? I would just put the criteria in the field and format the reports displayed field. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Sunday, November 06, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: [AccessD] Date/Time Conversion I have a table that has a date field that the input has been the date & the time (Now()). I'm trying to build a report based on the results of a query that the user inputs the date. I have tried formatting the field by using "TransDate: Format([DateOFMovement],"mm/dd/yyyy")", with the criteria "Between [Start Date ie: 10/05/2005] And [End Date ie: 10/06/2005]". So if the users input is 01/01/2005 for the first date and 01/10/2005 for the second, the query results include 2004 records also, but with-in the month and day criteria... If I try to sort the results is ascending order on the date, it will only sort on the month & day.. What am I doing wrong?? Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 8 07:27:54 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 8 Nov 2005 08:27:54 -0500 Subject: [AccessD] Opening Other Program Files Message-ID: This is the coding I use: Option Compare Database 'Use database order for string comparisons Option Explicit 'Declare Module Level Path Constants Const WordPerfect = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Const MSWord = "C:\cqabapps\viewers\word\wordview.exe" Const MSExcel = "C:\cqabapps\viewers\excel\xlview.exe" Const Irfanview = "C:\Program Files\IrfanView\i_view32.exe" Const Autovue = "C:\Program Files\Volo View Express\Voloview.exe" Const CDView = "C:\cdview97\cdview.exe" Const PageMaker = "Q:\install\pm65net\pm65\pm65.exe" Const CorelDraw = "J:\apps\draw.800\programs\coreldrw.exe" Const Acrobat = "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" Const MSPowerPoint = "C:\Program Files\Microsoft Office\Office10\Powerpnt.exe" Const Text = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Function OpenDocument() On Error Resume Next Dim strDocType As String, strDocLoc As String Dim strMsgText As String, strMsgTitle As String Dim MyAppID As Integer strDocType = Forms![docDocument]![docDocumentSUB].Form![Extension] strDocLoc = Forms![docDocument]![docDocumentSUB].Form![Path] Select Case strDocType Case "wpd", "txt" MyAppID = Shell(WordPerfect & " " & strDocLoc, vbMaximizedFocus) Case "doc" MyAppID = Shell(MSWord & " " & strDocLoc, vbMaximizedFocus) Case "xls", "xlw" MyAppID = Shell(MSExcel & " " & strDocLoc, vbMaximizedFocus) Case "dwg", "dxf", "cal" MyAppID = Shell(Autovue & " " & strDocLoc, vbMaximizedFocus) Case "tif", "pcx", "bmp", "gif", "jpg" MyAppID = Shell(Irfanview & " " & strDocLoc, vbMaximizedFocus) Case "dwgrx" MyAppID = Shell(CDView & " " & strDocLoc, vbMaximizedFocus) Case "pm5", "pm6", "p65" MyAppID = Shell(PageMaker & " " & strDocLoc, vbMaximizedFocus) Case "cdr" MyAppID = Shell(CorelDraw & " " & strDocLoc, vbMaximizedFocus) Case "pdf" MyAppID = Shell(Acrobat & " " & strDocLoc, vbMaximizedFocus) Case "ppt" MyAppID = Shell(MSPowerPoint & " " & strDocLoc, vbMaximizedFocus) Case "paper" strMsgText = "This document was submitted in paper version only." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "prev" strMsgText = "This document was previously submitted under another Task Number." & _ vbCrLf & "Scroll to the right for more information." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "mdb" strMsgText = "Please press the button 'Open SAF' to view the application form." & _ vbCrLf & "The application cannot be opened here." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case Else strMsgText = "The document type and path information do no exist for this entry." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function End Select AppActivate MyAppID End Function Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Monday, November 07, 2005 5:17 PM To: accessd at databaseadvisors.com Subject: [AccessD] Opening Other Program Files I have a field that has the full path to a file. The file may be a pdf or word doc. My user would like to be able to doubleclick the field and have the correct application open with the file (eg double click on a pdf will open Acrobat with the file showing). Any pointers on how this can be done? -- 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 Nov 8 10:18:11 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 11:18:11 -0500 Subject: [AccessD] Opening Other Program Files Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999B01@xlivmbx21.aig.com> I suggest you switch to using the ShellExecute method. It's just much simpler. Any document type that is registered on the machine will be opened in it's native application without any need on your part as the programmer to know where they are installed or what they are called. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 8:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Opening Other Program Files This is the coding I use: Option Compare Database 'Use database order for string comparisons Option Explicit 'Declare Module Level Path Constants Const WordPerfect = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Const MSWord = "C:\cqabapps\viewers\word\wordview.exe" Const MSExcel = "C:\cqabapps\viewers\excel\xlview.exe" Const Irfanview = "C:\Program Files\IrfanView\i_view32.exe" Const Autovue = "C:\Program Files\Volo View Express\Voloview.exe" Const CDView = "C:\cdview97\cdview.exe" Const PageMaker = "Q:\install\pm65net\pm65\pm65.exe" Const CorelDraw = "J:\apps\draw.800\programs\coreldrw.exe" Const Acrobat = "C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe" Const MSPowerPoint = "C:\Program Files\Microsoft Office\Office10\Powerpnt.exe" Const Text = "C:\Program Files\Quick View Plus\PROGRAM\qvp32.exe" Function OpenDocument() On Error Resume Next Dim strDocType As String, strDocLoc As String Dim strMsgText As String, strMsgTitle As String Dim MyAppID As Integer strDocType = Forms![docDocument]![docDocumentSUB].Form![Extension] strDocLoc = Forms![docDocument]![docDocumentSUB].Form![Path] Select Case strDocType Case "wpd", "txt" MyAppID = Shell(WordPerfect & " " & strDocLoc, vbMaximizedFocus) Case "doc" MyAppID = Shell(MSWord & " " & strDocLoc, vbMaximizedFocus) Case "xls", "xlw" MyAppID = Shell(MSExcel & " " & strDocLoc, vbMaximizedFocus) Case "dwg", "dxf", "cal" MyAppID = Shell(Autovue & " " & strDocLoc, vbMaximizedFocus) Case "tif", "pcx", "bmp", "gif", "jpg" MyAppID = Shell(Irfanview & " " & strDocLoc, vbMaximizedFocus) Case "dwgrx" MyAppID = Shell(CDView & " " & strDocLoc, vbMaximizedFocus) Case "pm5", "pm6", "p65" MyAppID = Shell(PageMaker & " " & strDocLoc, vbMaximizedFocus) Case "cdr" MyAppID = Shell(CorelDraw & " " & strDocLoc, vbMaximizedFocus) Case "pdf" MyAppID = Shell(Acrobat & " " & strDocLoc, vbMaximizedFocus) Case "ppt" MyAppID = Shell(MSPowerPoint & " " & strDocLoc, vbMaximizedFocus) Case "paper" strMsgText = "This document was submitted in paper version only." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "prev" strMsgText = "This document was previously submitted under another Task Number." & _ vbCrLf & "Scroll to the right for more information." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case "mdb" strMsgText = "Please press the button 'Open SAF' to view the application form." & _ vbCrLf & "The application cannot be opened here." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function Case Else strMsgText = "The document type and path information do no exist for this entry." strMsgTitle = "Document Open Failure" MsgBox strMsgText, vbOKOnly + vbExclamation, strMsgTitle Exit Function End Select AppActivate MyAppID End Function Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Chester_Kaup at kindermorgan.com Tue Nov 8 10:34:45 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 10:34:45 -0600 Subject: [AccessD] Update query quit working Message-ID: I have the following update query in a database. It used to work. UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = DMax("[Date]","WellMonthlyVol"); I ran a select query to get the max date from the table WellMonthlyVol and it worked fine returning the correct value. What am I missing that it no longer works? No records are updated. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From bchacc at san.rr.com Tue Nov 8 10:55:43 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 08:55:43 -0800 Subject: [AccessD] OT: Password Manager Message-ID: <019901c5e485$41e1d670$6501a8c0@HAL9004> I transferred my bookmarks to another machine but now I'd like to transfer the logins and passwords as well from the password manager. Does anybody know how to do this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From bchacc at san.rr.com Tue Nov 8 11:00:58 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 09:00:58 -0800 Subject: [AccessD] Update query quit working References: Message-ID: <01b201c5e485$fdf67d20$6501a8c0@HAL9004> Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Nov 8 11:11:33 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 11:11:33 -0600 Subject: [AccessD] Update query quit working Message-ID: You mean something like this: SELECT DISTINCT WellMonthlyVol.Date FROM WellMonthlyVol WHERE (((WellMonthlyVol.Date)=DMax("[Date]","WellMonthlyVol"))); This works correctly. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Tue Nov 8 11:11:49 2005 From: mmmtbig at bellsouth.net (Myke Myers) Date: Tue, 8 Nov 2005 12:11:49 -0500 Subject: [AccessD] Overview of Access 12 Message-ID: <006101c5e487$844f13e0$6501a8c0@tbig1> http://blogs.msdn.com/access/archive/2005/11/07/490113.aspx Myke From cyx5 at cdc.gov Tue Nov 8 11:27:01 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 8 Nov 2005 12:27:01 -0500 Subject: [AccessD] Update query quit working Message-ID: Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Tue Nov 8 11:58:38 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 8 Nov 2005 12:58:38 -0500 Subject: [AccessD] Extract Outlook Form Data into Access Message-ID: I've been asked to create an Outlook form that will be used to gather data from many users. Once I receive the completed form back in the form of an email message, I need to automate the population of the data into an existing Access mdb. Is this even possible? Any ideas are greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From bchacc at san.rr.com Tue Nov 8 12:37:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 8 Nov 2005 10:37:24 -0800 Subject: [AccessD] Update query quit working References: Message-ID: <02b601c5e493$76935660$6501a8c0@HAL9004> Hmmmm....returned the right date, then? Have any of the properties on the target field been changed? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 9:11 AM Subject: Re: [AccessD] Update query quit working > You mean something like this: > > SELECT DISTINCT WellMonthlyVol.Date > FROM WellMonthlyVol > WHERE (((WellMonthlyVol.Date)=DMax("[Date]","WellMonthlyVol"))); > > This works correctly. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, November 08, 2005 11:01 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Update query quit working > > Try it as a select query to see if the right MAX date is coming across? > > Rocky > > ----- Original Message ----- > From: "Kaup, Chester" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, November 08, 2005 8:34 AM > Subject: [AccessD] Update query quit working > > >>I have the following update query in a database. It used to work. >> >> >> >> UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = >> DMax("[Date]","WellMonthlyVol"); >> >> >> >> I ran a select query to get the max date from the table WellMonthlyVol >> and it worked fine returning the correct value. >> >> >> >> What am I missing that it no longer works? No records are updated. >> Thanks. >> >> >> >> >> >> >> >> Chester Kaup >> >> Engineering Technician >> >> Kinder Morgan CO2 Company, LLP >> >> Office (432) 688-3797 >> >> FAX (432) 688-3799 >> >> >> >> >> >> No trees were killed in the sending of this message. However a large >> number of electrons were terribly inconvenienced. >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Tue Nov 8 12:39:33 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 12:39:33 -0600 Subject: [AccessD] Update query quit working Message-ID: You are correct that [Date] is a reserved word. Sometimes we are stuck with apps built on top of access that don't use real good field names. Anyway tried changing it to [RecordDate] still no records are updated. I am puzzled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Nov 8 12:44:45 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 8 Nov 2005 12:44:45 -0600 Subject: [AccessD] Update query quit working Message-ID: Problem solved. This is a one field one record table. Just checked and there was no initial record to be updated. Added an initial dummy record. Now it works. Thanks for the ideas and help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, November 08, 2005 12:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working You are correct that [Date] is a reserved word. Sometimes we are stuck with apps built on top of access that don't use real good field names. Anyway tried changing it to [RecordDate] still no records are updated. I am puzzled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Tuesday, November 08, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Isn't [Date] as reserved word? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, November 08, 2005 12:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Update query quit working Try it as a select query to see if the right MAX date is coming across? Rocky ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 08, 2005 8:34 AM Subject: [AccessD] Update query quit working >I have the following update query in a database. It used to work. > > > > UPDATE MAX_PROD_DATE SET MAX_PROD_DATE.MAX_DATE = > DMax("[Date]","WellMonthlyVol"); > > > > I ran a select query to get the max date from the table WellMonthlyVol > and it worked fine returning the correct value. > > > > What am I missing that it no longer works? No records are updated. > Thanks. > > > > > > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large > number of electrons were terribly inconvenienced. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 8 12:51:47 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 12:51:47 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD81E@corp-es01.fleetpride.com> Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Nov 8 13:01:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 08 Nov 2005 11:01:14 -0800 Subject: [AccessD] Extract Outlook Form Data into Access References: Message-ID: <4370F5FA.1080001@shaw.ca> It is doable but do you want to drive method from Access or Outlook Both VBA ways should be in here This site covers Outlook and Exchange methods http://www.slipstick.com/ And it's sister site covers Outlook and Exchange VBA code http://www.outlookcode.com/ Boyd, Mark Thomas (US - Philadelphia) wrote: >I've been asked to create an Outlook form that will be used to gather >data from many users. >Once I receive the completed form back in the form of an email message, >I need to automate the population of the data into an existing Access >mdb. > >Is this even possible? >Any ideas are greatly appreciated. > >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Tue Nov 8 13:04:26 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 11:04:26 -0800 Subject: [AccessD] Best way to fix database Message-ID: That should do it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 10:52 AM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Nov 8 13:06:01 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 14:06:01 -0500 Subject: [AccessD] Best way to fix database Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999C0A@xlivmbx21.aig.com> Number 1 on the list should always be "Make a backup copy of the mdb" Then... compact and repair Still not good?... Decompile (not officially supported, so make sure you backup) If neither of the above fixes the problem try using JetComp to compact the database. Still no luck? Import everything into a new database. If you think you know that a specific code module is causing the problem then try this. Open the module and comment out all the code lines Save the module Compact and repair Compile Open the module again and uncomment all the code lines Save the module Compact and repair Compile Compact and repair. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 1:52 PM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Nov 8 13:37:34 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 13:37:34 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD823@corp-es01.fleetpride.com> Thanks -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, November 08, 2005 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database That should do it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 10:52 AM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Tue Nov 8 13:50:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 13:50:50 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD825@corp-es01.fleetpride.com> Backups? I've heard of those. I get religion after every disaster (Oh God I promise to backup every day if you'll just let me slip by this one time...) but I inevitably fall back into my slothful ways. :-) Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, November 08, 2005 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Best way to fix database Number 1 on the list should always be "Make a backup copy of the mdb" Then... compact and repair Still not good?... Decompile (not officially supported, so make sure you backup) If neither of the above fixes the problem try using JetComp to compact the database. Still no luck? Import everything into a new database. If you think you know that a specific code module is causing the problem then try this. Open the module and comment out all the code lines Save the module Compact and repair Compile Open the module again and uncomment all the code lines Save the module Compact and repair Compile Compact and repair. HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, November 08, 2005 1:52 PM To: 'Accessd (E-mail) Subject: [AccessD] Best way to fix database Is this the correct order of operations to fix a flaky mdb? I can't remember what order works best. decompile compile save compact and repair import to new container TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From wdhindman at bellsouth.net Tue Nov 8 14:27:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 15:27:41 -0500 Subject: [AccessD] Best way to fix database References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD81E@corp-es01.fleetpride.com> Message-ID: <00eb01c5e4a2$de8218b0$6101a8c0@JISREGISTRATION.local> Jim My routine for a "flaky" mdb: ...backup ...save ...compile ...Access compact&repair ...decompile ...Jet Compact Utility ...and when all else fails, rather than the normal import to a new mdb, I try this first: http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2.mdb' ...its worked wonders for me. William ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, November 08, 2005 1:51 PM Subject: [AccessD] Best way to fix database > Is this the correct order of operations to fix a flaky mdb? I can't > remember > what order works best. > > decompile > compile > save > compact and repair > import to new container > > TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jim.Hale at FleetPride.com Tue Nov 8 14:24:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 14:24:39 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Thanks, but the link gives an error? Jim Hale -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 08, 2005 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Jim My routine for a "flaky" mdb: ...backup ...save ...compile ...Access compact&repair ...decompile ...Jet Compact Utility ...and when all else fails, rather than the normal import to a new mdb, I try this first: http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. mdb' ...its worked wonders for me. William ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, November 08, 2005 1:51 PM Subject: [AccessD] Best way to fix database > Is this the correct order of operations to fix a flaky mdb? I can't > remember > what order works best. > > decompile > compile > save > compact and repair > import to new container > > TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From garykjos at gmail.com Tue Nov 8 14:35:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 8 Nov 2005 14:35:55 -0600 Subject: [AccessD] Best way to fix database In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Message-ID: Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember > > what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From wdhindman at bellsouth.net Tue Nov 8 14:55:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 15:55:10 -0500 Subject: [AccessD] Best way to fix database References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD826@corp-es01.fleetpride.com> Message-ID: <013301c5e4a6$b560a100$6101a8c0@JISREGISTRATION.local> ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember >> what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From alan.lawhon at us.army.mil Tue Nov 8 14:57:51 2005 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Tue, 8 Nov 2005 14:57:51 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Message-ID: <5D5043687CFCE44288407A73E4CC6E17013EF39E@redstone819.ad.redstone.army.mil> Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon From cfoust at infostatsystems.com Tue Nov 8 15:03:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 13:03:59 -0800 Subject: [AccessD] Best way to fix database Message-ID: I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 8 15:06:21 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 8 Nov 2005 13:06:21 -0800 Subject: [AccessD] Best way to fix database Message-ID: No, it didn't wrap, and I was able to just go to the site and locate the download, which appears to have exactly the URL you posted. Go figger! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 08, 2005 12:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> ********************************************************************* >> ** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 8 15:10:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 8 Nov 2005 15:10:14 -0600 Subject: [AccessD] Best way to fix database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD827@corp-es01.fleetpride.com> This way worked, thanks Jim -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 08, 2005 2:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...works here Jim ...you may have wrapped. ...try http://www.rogersaccesslibrary.com ...then search for EatBloatv2 ...hth :) William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 08, 2005 3:24 PM Subject: Re: [AccessD] Best way to fix database > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new mdb, I > try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > >> Is this the correct order of operations to fix a flaky mdb? I can't >> remember >> what order works best. >> >> decompile >> compile >> save >> compact and repair >> import to new container >> >> TIA >> Jim Hale >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From hkotsch at arcor.de Tue Nov 8 15:12:40 2005 From: hkotsch at arcor.de (Helmut Kotsch) Date: Tue, 8 Nov 2005 22:12:40 +0100 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: I got the same error. making sure that the trailing (') is after .mdb fixed the problem. http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2. mdb' Helmut -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Charlotte Foust Gesendet: Dienstag, 8. November 2005 22:04 An: Access Developers discussion and problem solving Betreff: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Nov 8 15:24:26 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 8 Nov 2005 16:24:26 -0500 Subject: [AccessD] Best way to fix database Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F18999CF2@xlivmbx21.aig.com> If you click the link on Bill's email it may go to this url [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 .mdb] (square brackets used to delineate the whole url). The problem with this is that the parameter value is missing the ending single quote. Good old Outlook has trouble with urls I suppose. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 08, 2005 4:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 8 16:22:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 8 Nov 2005 17:22:24 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <5D5043687CFCE44288407A73E4CC6E17013EF39E@redstone819.ad.redstone.army.mil> Message-ID: <000501c5e4b2$e571cfc0$667aa8c0@ColbyM6805> And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 8 20:34:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 8 Nov 2005 18:34:16 -0800 (PST) Subject: [AccessD] Access data to Excel Chart Message-ID: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From wdhindman at bellsouth.net Tue Nov 8 21:24:51 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 8 Nov 2005 22:24:51 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> Message-ID: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> ...need some ideas here ...or if someone knows of something already. ...Access 2003 runtime compatible. ...I need to display on a single Access form ...a grid of as many as 2000 rectangles. ...the rectangles would represent booths in a trade show floor plan ...each distinctly numbered and each clickable to call detail data ...and each individually colored to reflect status. ...did I mention that I'd like to be able to zoom and pan the grid? ...I've tried a number of activex products like metadraw ...but all require compromises I don't want to make. ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram workstations? ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my head hurts from too much pounding against the wall :) ...still no electric as a result of Wilma ...working on a laptop sucks bigtime ...but it is work. William From paul.hartland at isharp.co.uk Wed Nov 9 01:58:45 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 07:58:45 -0000 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: I wouldn't have thought Access would be ny good for this sort of thing, have you had a look at smartdraw http://www.smartdraw.com/specials/ukfloorplans.asp?id=12707 But if someone knows how to create plans, on which you can zoom and pan in Access, please let me know. I would be very interested in this, as I have an idea for a piece of software to create designs for software. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 03:25 To: Access Developers discussion and problem solving Subject: [AccessD] Floor Plan Grid ...need some ideas here ...or if someone knows of something already. ...Access 2003 runtime compatible. ...I need to display on a single Access form ...a grid of as many as 2000 rectangles. ...the rectangles would represent booths in a trade show floor plan ...each distinctly numbered and each clickable to call detail data ...and each individually colored to reflect status. ...did I mention that I'd like to be able to zoom and pan the grid? ...I've tried a number of activex products like metadraw ...but all require compromises I don't want to make. ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram workstations? ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my head hurts from too much pounding against the wall :) ...still no electric as a result of Wilma ...working on a laptop sucks bigtime ...but it is work. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Nov 9 02:00:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 08:00:06 -0000 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> Message-ID: The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Nov 9 02:25:30 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 08:25:30 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F18999CF2@xlivmbx21.aig.com> Message-ID: EATBloatV2 is a program that I wrote (last year I think - maybe before). If you want me to email you a copy, let me know off-line. Regards Max accessd at sherman.org.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: 08 November 2005 21:24 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Best way to fix database If you click the link on Bill's email it may go to this url [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 .mdb] (square brackets used to delineate the whole url). The problem with this is that the parameter value is missing the ending single quote. Good old Outlook has trouble with urls I suppose. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 08, 2005 4:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database I got an error too, and the link wasn't wrapped. It got to Roger's site but the message was this: ADODB.Recordset error '800a0bb9' Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /Otherdownload.asp, line 32 Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, November 08, 2005 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Hi Jim, That link worked for me OK. Did it wrap on your system due to it's length perhaps?? GK On 11/8/05, Hale, Jim wrote: > Thanks, but the link gives an error? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Tuesday, November 08, 2005 2:28 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Jim > > My routine for a "flaky" mdb: > ...backup > ...save > ...compile > ...Access compact&repair > ...decompile > ...Jet Compact Utility > ...and when all else fails, rather than the normal import to a new > mdb, I try this first: > http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl > oatV2. > mdb' > ...its worked wonders for me. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, November 08, 2005 1:51 PM > Subject: [AccessD] Best way to fix database > > > > Is this the correct order of operations to fix a flaky mdb? I can't > > remember what order works best. > > > > decompile > > compile > > save > > compact and repair > > import to new container > > > > TIA > > Jim Hale > > > > ******************************************************************** > > *** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 9 02:37:00 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 11:37:00 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> William, I think that with VSFlexGrid Pro by ComponentOne - http://www.componentsource.com/catalog.asp?SC=CS&PO=504721&option=15435&bhcp=1 you can do(simulate) all the tricks you need using simple VBA coding. HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 6:24 AM Subject: [AccessD] Floor Plan Grid > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Nov 9 05:32:29 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 03:32:29 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: Message-ID: <20051109113229.66580.qmail@web33113.mail.mud.yahoo.com> I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From paul.hartland at isharp.co.uk Wed Nov 9 05:53:38 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 9 Nov 2005 11:53:38 -0000 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <20051109113229.66580.qmail@web33113.mail.mud.yahoo.com> Message-ID: In that case unfortunately I am stuck for another idea, I have never had a problem with Excel being open in the background after using Close, Quit, and setting both the workbook object and excel object to nothing.....Only other thing is to have a look at your code if you didn't mind....can send it to paul.hartland at orridge.co.uk if you want, I can have a quick look at it, but quite busy today. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dba.email at gmail.com Wed Nov 9 05:58:51 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 9 Nov 2005 06:58:51 -0500 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <5f2de2420511090358tde32f40v88c35f0402890445@mail.gmail.com> William, Unfortunately I'm working on a similar problem, but from the other end of the spectrum. It seems that you would like to view interactive graphics from Access, however I took another approach. For my situation, I'm choosing to utilize the graphics capabilities of AutoCAD, then couple that with AutoCAD's database connectivity feature to get the updated data for any one particular graphic. My project is similar in that I am working with an office layout and the data relates to all the personnel and IT hardware and software information. Although I do not need this functionality at the moment, an educated assumption would be that, from Access, one could automate AutoCAD to produce a current "snapshot" as a ".DWF" (for lack of a better description it is their light-weight web format) on-the-fly, then view that image in an embedded browser control. Using their ".DWF" format, you are able to pan, zoom, turn layers on/off, etc. right from the browser. Mark On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Wed Nov 9 06:43:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 04:43:00 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: Message-ID: <20051109124300.73670.qmail@web33112.mail.mud.yahoo.com> Ok. I clean it up and send it. "Paul Hartland (ISHARP)" wrote:In that case unfortunately I am stuck for another idea, I have never had a problem with Excel being open in the background after using Close, Quit, and setting both the workbook object and excel object to nothing.....Only other thing is to have a look at your code if you didn't mind....can send it to paul.hartland at orridge.co.uk if you want, I can have a quick look at it, but quite busy today. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart I tried that but then it tells me that I do not have permission to delete it. I think it is because Excel is still open in the background. I use the Close, Quit and set the Object to Nothing and still it is open more than once when I go to task manager after a few runs. "Paul Hartland (ISHARP)" wrote:The easiest thing I can think of is to check for the name your exporting to, if it exists either rename or kill it, then carry on with the export. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 09 November 2005 02:34 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] Access data to Excel Chart I have been banging my head on this one. I have a query that I need to get the results into Excel, then create a pivot table, then create a three line chart from the pivot table. One successful attempt was to export the data into Excel, but then I get the message saying that "TableName" already exist after my first attempt. This will have to be done with automation over and over depending upon the user selections. Has anyone done this before and already has a device in place? I am running out of time and have been trying different options for over a week. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Gustav at cactus.dk Wed Nov 9 06:58:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 13:58:12 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all Just noticed that FreeBASIC has a command line option for processor type. Set to 686 it adds 10% speed for this test compared to the default setting of 486: ArrayTimeDLL: 2.0 seconds (FreeBASIC dll measured with 10^7 loops) Still C++ dll is at least 10 times faster ... /gustav >>> Gustav at cactus.dk 01-11-2005 11:19 >>> To summarize, this means that the result table for 10^6 loops now is (with converted time for PowerBasic from Stuart): ArrayTimeLocal: 34 seconds ArrayTimeDLL: 3.4 seconds (PowerBasic dll measured with 10^7 loops) ArrayTimeDLL: 2.2 seconds (FreeBASIC dll measured with 10^7 loops) IArrayTimeLocal_ArrayTimeLocal: 0.2 seconds (measured with 10^8 loops) Or to express it as speed improvement compared to VBA: VBA: 1:1 PowerBasic dll: 10:1 FreeBASIC dll: 15.5:1 C++ dll: 170:1 and compared to the FreeBASIC dll: C++ dll: 11:1 From erbachs at gmail.com Wed Nov 9 07:26:24 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 07:26:24 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090526r77df26afk4f72f2445ff6ce4d@mail.gmail.com> William, Back a few years ago I posted a question about placing colored boxes on an Access form. I was futzing with Stephen Wolfram's book at the time. I believe it was you who mentioned the graphic routines of Stephan Lebans. I downloaded his stuff and successfully created one of Wolfram's automaton generators in a 22" x 22" form...which I subsequently made available for download for my pals on AccessD who had helped me create it. What I'm driving at is a way to display the colored grid using Lebans' routines. 2000 rectangles is only a 40x50 grid. My Wolfram automaton generator creates over 800,000 colored rectangles in just over 3 seconds on a 2.1 GHz AMD 64. I don't know about the clickability of the generated rectangles, but methinks one could at least place a co-ordinate system around the grid, sort of like the labels on spreadsheet columns and rows, and, perhaps, click on a column indicator and then a row indicator to pinpoint a square. Since the Lebans routines are so fast, you might be able to "highlight" the entire column of grid squares at once based on the column button or indicator you click...similarly for the row indicator. That would give the user a cross-hair-like thingie for finding a particular grid square. Yeah, I know it's two clicks instead of one. Whaddaya want fer nothin'? Steve Erbach Neenah, WI On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 07:43:53 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 08:43:53 -0500 Subject: [AccessD] Floor Plan Grid References: Message-ID: <001401c5e533$9ffa4900$6101a8c0@JISREGISTRATION.local> ...thanks Paul ...but smartdraw lets you draw floor plans but not tie a database to them ...visio is a much better tool if I wanted to go outside of access for an answer. William ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 2:58 AM Subject: Re: [AccessD] Floor Plan Grid >I wouldn't have thought Access would be ny good for this sort of thing, >have > you had a look at smartdraw > > http://www.smartdraw.com/specials/ukfloorplans.asp?id=12707 > > But if someone knows how to create plans, on which you can zoom and pan in > Access, please let me know. I would be very interested in this, as I have > an > idea for a piece of software to create designs for software. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 03:25 > To: Access Developers discussion and problem solving > Subject: [AccessD] Floor Plan Grid > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered and each clickable to call detail data ...and each > individually colored to reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 07:47:08 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 08:47:08 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <001801c5e534$141e0920$6101a8c0@JISREGISTRATION.local> ...hey Max! ...didn't know you were here ...what a great little program ...it works just as advertised plus does wonders for some corrupted mdbs :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 3:25 AM Subject: Re: [AccessD] Best way to fix database > EATBloatV2 is a program that I wrote (last year I think - maybe before). > If > you want me to email you a copy, let me know off-line. > > Regards > Max > accessd at sherman.org.uk > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: 08 November 2005 21:24 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Best way to fix database > > If you click the link on Bill's email it may go to this url > > [http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBloatV2 > .mdb] (square brackets used to delineate the whole url). > > The problem with this is that the parameter value is missing the ending > single quote. Good old Outlook has trouble with urls I suppose. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Tuesday, November 08, 2005 4:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > I got an error too, and the link wasn't wrapped. It got to Roger's site > but > the message was this: > > ADODB.Recordset error '800a0bb9' > > Arguments are of the wrong type, are out of acceptable range, or are in > conflict with one another. > > /Otherdownload.asp, line 32 > > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, November 08, 2005 12:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > > Hi Jim, That link worked for me OK. Did it wrap on your system due to > it's > length perhaps?? > > GK > > On 11/8/05, Hale, Jim wrote: >> Thanks, but the link gives an error? >> Jim Hale >> >> -----Original Message----- >> From: William Hindman [mailto:wdhindman at bellsouth.net] >> Sent: Tuesday, November 08, 2005 2:28 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Best way to fix database >> >> >> Jim >> >> My routine for a "flaky" mdb: >> ...backup >> ...save >> ...compile >> ...Access compact&repair >> ...decompile >> ...Jet Compact Utility >> ...and when all else fails, rather than the normal import to a new >> mdb, I try this first: >> http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='EATBl >> oatV2. >> mdb' >> ...its worked wonders for me. >> >> William >> >> ----- Original Message ----- >> From: "Hale, Jim" >> To: "'Accessd (E-mail)" >> Sent: Tuesday, November 08, 2005 1:51 PM >> Subject: [AccessD] Best way to fix database >> >> >> > Is this the correct order of operations to fix a flaky mdb? I can't >> > remember what order works best. >> > >> > decompile >> > compile >> > save >> > compact and repair >> > import to new container >> > >> > TIA >> > Jim Hale >> > >> > ******************************************************************** >> > *** >> > The information transmitted is intended solely for the individual or >> > entity to which it is addressed and may contain confidential and/or >> > privileged material. Any review, retransmission, dissemination or >> > other use of or taking action in reliance upon this information by >> > persons or entities other than the intended recipient is prohibited. >> > If you have received this email in error please contact the sender > and >> > delete the material from any computer. As a recipient of this email, >> > you are responsible for screening its contents and the contents of > any >> > attachments for the presence of viruses. No liability is accepted > for >> > any damages caused by any virus transmitted by this email. >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> ********************************************************************** >> * >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max at sherman.org.uk Wed Nov 9 07:49:47 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 13:49:47 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <001801c5e534$141e0920$6101a8c0@JISREGISTRATION.local> Message-ID: Thanks William, Well, I lurk a lot and pick up some really great tips from the other contributors. Glad you like the program. I still use it and it has saved my neck a few times. Regards Max accessd at sherman.org.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 13:47 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...hey Max! ...didn't know you were here ...what a great little program ...it works just as advertised plus does wonders for some corrupted mdbs :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 3:25 AM Subject: Re: [AccessD] Best way to fix database > EATBloatV2 is a program that I wrote (last year I think - maybe before). > If > you want me to email you a copy, let me know off-line. > > Regards > Max > accessd at sherman.org.uk > From erbachs at gmail.com Wed Nov 9 07:56:31 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 07:56:31 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> William, Another thought: is this something that might be more appropriate in a Data Access Page or as an embedded spreadsheet grid? Steve Erbach Neenah, WI On 11/8/05, William Hindman wrote: > > ...need some ideas here ...or if someone knows of something already. > > ...Access 2003 runtime compatible. > > ...I need to display on a single Access form ...a grid of as many as 2000 > rectangles. > > ...the rectangles would represent booths in a trade show floor plan > ...each > distinctly numbered > and each clickable to call detail data ...and each individually colored to > reflect status. > > ...did I mention that I'd like to be able to zoom and pan the grid? > > ...I've tried a number of activex products like metadraw ...but all > require > compromises I > don't want to make. > > ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram > workstations? > > ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my > head hurts from too much > pounding against the wall :) > > ...still no electric as a result of Wilma ...working on a laptop sucks > bigtime ...but it is work. > > William > > From wdhindman at bellsouth.net Wed Nov 9 08:24:59 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 09:24:59 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> Message-ID: <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> ...hhmmm ...an embedded spreadsheet grid? ...that would mean I'd have to learn Excel :( ...plus ...these are runtime installs without Office being a given. ...but ...when all else seems lost, maybe :) William ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 8:56 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > Another thought: is this something that might be more appropriate in a > Data > Access Page or as an embedded spreadsheet grid? > > Steve Erbach > Neenah, WI > > On 11/8/05, William Hindman wrote: >> >> ...need some ideas here ...or if someone knows of something already. >> >> ...Access 2003 runtime compatible. >> >> ...I need to display on a single Access form ...a grid of as many as 2000 >> rectangles. >> >> ...the rectangles would represent booths in a trade show floor plan >> ...each >> distinctly numbered >> and each clickable to call detail data ...and each individually colored >> to >> reflect status. >> >> ...did I mention that I'd like to be able to zoom and pan the grid? >> >> ...I've tried a number of activex products like metadraw ...but all >> require >> compromises I >> don't want to make. >> >> ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram >> workstations? >> >> ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my >> head hurts from too much >> pounding against the wall :) >> >> ...still no electric as a result of Wilma ...working on a laptop sucks >> bigtime ...but it is work. >> >> William >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Nov 9 08:20:19 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 08:20:19 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <29659131.1131488946916.JavaMail.root@sniper19> Message-ID: <000001c5e538$b74f1630$0200a8c0@danwaters> John - what is the problem with 2005 Express? Is there a discussion of this you could point to, or has this been your experience? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 08, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 9 08:23:29 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 15:23:29 +0100 Subject: [AccessD] Best way to fix database Message-ID: Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. From max at sherman.org.uk Wed Nov 9 08:28:17 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:28:17 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 9 08:36:46 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 09 Nov 2005 15:36:46 +0100 Subject: [AccessD] Best way to fix database Message-ID: Hi Max A3000? I used A2003 but it claims that to be something else ... /gustav >>> max at sherman.org.uk 09-11-2005 15:28 >>> Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. From jwcolby at ColbyConsulting.com Wed Nov 9 08:40:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 9 Nov 2005 09:40:47 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: <001401c5e53b$93325e30$667aa8c0@ColbyM6805> There is nothing wrong with it as long as you are using ONLY 2005 stuff. IIS gets totally confused when you have more than one version of the framework installed. I was trying to get DotNetNuke (which uses v1.1 of the framework) to run locally on my machine and spent about 10 hours cleaning my machine to get rid of 2005 stuff (v2.0 of the framework). There are tons of postings of similar experiences out there. Again, if you just want to uninstall the old, and install the new, then you will probably not have any problems. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Wednesday, November 09, 2005 9:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition John - what is the problem with 2005 Express? Is there a discussion of this you could point to, or has this been your experience? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 08, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition And it screws up everything. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Tuesday, November 08, 2005 3:58 PM To: dba-SQLServer at databaseadvisors.com; AccessD at databaseadvisors.com; dba-ot at databaseadvisors.com Subject: [AccessD] Microsoft SQL Server 2005 Express Edition Hey folks, Look what Microsoft just released - for "free" no less! http://www.microsoft.com/downloads/details.aspx?familyid=220549b5-0b07-4 448-8848-dcc397514b41&displaylang=en It's advertised as the replacement for MSDE in the "Introduction" section of the "ReadMe" file. You also need to have the Microsoft .NET Framework version 2.0 installed - which is a HUGE download - before you download SQL Server 2005 Express Edition. (I guess I should ditch dial-up and get broadband ...) Looks to me like this is the "training wheels" version of SQL Server 2005. Alan C. Lawhon -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 08:51:36 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 09:51:36 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <008601c5e53d$1550cdb0$6101a8c0@JISREGISTRATION.local> Max ...I get the same thing on your original version even though I'm running A2K3 (11) on an otherwise clean system. William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:28 AM Subject: Re: [AccessD] Best way to fix database > Hi Gustav, > Yes it was written for A3K > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 09 November 2005 14:23 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Best way to fix database > > Hi Max > > Had a brief look with A2003 .. though it ignores that: > > You are running Access Version:- > 2000/2002? - (DAO: 4.0) > This program was designed for A03: V11.0 > > /gustav > >>>> max at sherman.org.uk 09-11-2005 14:49 >>> > Glad you like the program. I still use it and it has saved my neck a few > times. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darsant at gmail.com Wed Nov 9 08:48:49 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 9 Nov 2005 08:48:49 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> References: <29659131.1131488946916.JavaMail.root@sniper19> <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: <53c8e05a0511090648n6ddce3abpd1da2f21e915693b@mail.gmail.com> On 11/9/05, Dan Waters wrote: > John - what is the problem with 2005 Express? Is there a discussion of this > you could point to, or has this been your experience? > > Thanks, > Dan Waters Microsoft Visual Studio Beta products were not designed to be "side-by-side" installations. If you installed them with other previous products it would corrupt one of the installations. Supposedly this was for the beta builds only, but it wouldn't surprise me if there was a bug and some of the incompatibility seeped into Express Release. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From erbachs at gmail.com Wed Nov 9 08:55:29 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 9 Nov 2005 08:55:29 -0600 Subject: [AccessD] Floor Plan Grid In-Reply-To: <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com> <000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com> <004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511090655h759e89b8r7f18ae2f3e732240@mail.gmail.com> William, Don't get me wrong, I ain't no authority on embedded spreadsheets. But your requirements are outlandish. My REAL first thought was to try doing it with ASP or ASP.NET . VBScript or VB.NET code to display a table grid by reading the current status of each "cell" from a SQL Server table or view. Each cell can be individually colored based on the status; and each cell can contain, say, an anchor that displays the grid co-ordinates. The anchor could fire a server-side routine to display another window to allow the status of that cell to be changed. The zooming could, I believe, be handled with JavaScript. The panning by scroll bars. How fast would a 40x50 grid (or whatever makes 2000 cells) render? Good question. I'm just beginning to think more along the lines of browser-based solutions than standard Access approaches. Steve Erbach On 11/9/05, William Hindman wrote: > > ...hhmmm ...an embedded spreadsheet grid? > > ...that would mean I'd have to learn Excel :( > > ...plus ...these are runtime installs without Office being a given. > > ...but ...when all else seems lost, maybe :) > > William > > ----- Original Message ----- > From: "Steve Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 8:56 AM > Subject: Re: [AccessD] Floor Plan Grid > > > > William, > > > > Another thought: is this something that might be more appropriate in a > > Data > > Access Page or as an embedded spreadsheet grid? > > > > Steve Erbach > > Neenah, WI > From max at sherman.org.uk Wed Nov 9 08:59:27 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:59:27 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: Message-ID: Hi Gustav, It is probably something to do with the way Access tries to recognize what version you are using. It won't (shouldn't) affect its operation. Make a backup and then try it out. Also, once it has exported all your objects, you can then view them on disk and see exactly how much space they are taking up - this visibility is not available (afaik) within Access itself. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:37 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max A3000? I used A2003 but it claims that to be something else ... /gustav >>> max at sherman.org.uk 09-11-2005 15:28 >>> Hi Gustav, Yes it was written for A3K Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 09 November 2005 14:23 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Best way to fix database Hi Max Had a brief look with A2003 .. though it ignores that: You are running Access Version:- 2000/2002? - (DAO: 4.0) This program was designed for A03: V11.0 /gustav >>> max at sherman.org.uk 09-11-2005 14:49 >>> Glad you like the program. I still use it and it has saved my neck a few times. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Wed Nov 9 08:59:27 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 14:59:27 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <008601c5e53d$1550cdb0$6101a8c0@JISREGISTRATION.local> Message-ID: Hi William, It is probably something to do with the way Access tries to recognize what version you are using. It won't (shouldn't) affect its operation. Make a backup and then try it out. Also, once it has exported all your objects, you can then view them on disk and see exactly how much space they are taking up - this visibility is not available (afaik) within Access itself. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 14:52 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database Max ...I get the same thing on your original version even though I'm running A2K3 (11) on an otherwise clean system. William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:28 AM Subject: Re: [AccessD] Best way to fix database > Hi Gustav, > Yes it was written for A3K > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 09 November 2005 14:23 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Best way to fix database > > Hi Max > > Had a brief look with A2003 .. though it ignores that: > > You are running Access Version:- > 2000/2002? - (DAO: 4.0) > This program was designed for A03: V11.0 > > /gustav > >>>> max at sherman.org.uk 09-11-2005 14:49 >>> > Glad you like the program. I still use it and it has saved my neck a few > times. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Nov 9 09:15:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 10:15:45 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><39cb22f30511090556r67815abeo26225f241d074386@mail.gmail.com><004e01c5e539$5dab9670$6101a8c0@JISREGISTRATION.local> <39cb22f30511090655h759e89b8r7f18ae2f3e732240@mail.gmail.com> Message-ID: <00bb01c5e540$75777d80$6101a8c0@JISREGISTRATION.local> ...not a bad idea Steve since I can stick a browser control in an Access form :) ...and hey, outlandish requests are the meat that the gurus here feed on, eh. William ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 9:55 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > Don't get me wrong, I ain't no authority on embedded spreadsheets. But > your > requirements are outlandish. My REAL first thought was to try doing it > with > ASP or ASP.NET . VBScript or VB.NET code > to > display a table grid by reading the current status of each "cell" from a > SQL > Server table or view. Each cell can be individually colored based on the > status; and each cell can contain, say, an anchor that displays the grid > co-ordinates. The anchor could fire a server-side routine to display > another > window to allow the status of that cell to be changed. > > The zooming could, I believe, be handled with JavaScript. The panning by > scroll bars. > > How fast would a 40x50 grid (or whatever makes 2000 cells) render? Good > question. I'm just beginning to think more along the lines of > browser-based > solutions than standard Access approaches. > > Steve Erbach > > On 11/9/05, William Hindman wrote: >> >> ...hhmmm ...an embedded spreadsheet grid? >> >> ...that would mean I'd have to learn Excel :( >> >> ...plus ...these are runtime installs without Office being a given. >> >> ...but ...when all else seems lost, maybe :) >> >> William >> >> ----- Original Message ----- >> From: "Steve Erbach" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 09, 2005 8:56 AM >> Subject: Re: [AccessD] Floor Plan Grid >> >> >> > William, >> > >> > Another thought: is this something that might be more appropriate in a >> > Data >> > Access Page or as an embedded spreadsheet grid? >> > >> > Steve Erbach >> > Neenah, WI >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 09:20:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 10:20:38 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local> <002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> Message-ID: <00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> ...yes and no Shamil ...no pan and zoom and no way to make the grid transparent so that I can see a facility plan behnd the booths ...did I forget to mention that? ...and when I install it in Access many of its properties/methods are not exposed ...its written to the MS ActiveX standard and thus doesn't fully interface with Access :( William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 3:37 AM Subject: Re: [AccessD] Floor Plan Grid > William, > > I think that with > > VSFlexGrid Pro by ComponentOne - > http://www.componentsource.com/catalog.asp?SC=CS&PO=504721&option=15435&bhcp=1 > > you can do(simulate) all the tricks you need using simple VBA coding. > > HTH, > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 6:24 AM > Subject: [AccessD] Floor Plan Grid > > >> ...need some ideas here ...or if someone knows of something already. >> >> ...Access 2003 runtime compatible. >> >> ...I need to display on a single Access form ...a grid of as many as 2000 >> rectangles. >> >> ...the rectangles would represent booths in a trade show floor plan > ...each >> distinctly numbered >> and each clickable to call detail data ...and each individually colored >> to >> reflect status. >> >> ...did I mention that I'd like to be able to zoom and pan the grid? >> >> ...I've tried a number of activex products like metadraw ...but all > require >> compromises I >> don't want to make. >> >> ...did I mention this needs to be reasonably fast in 2.6Mhz, 1gb ram >> workstations? >> >> ...ok ...I'm nuts ...but I thought I'd at least throw it out there ...my >> head hurts from too much >> pounding against the wall :) >> >> ...still no electric as a result of Wilma ...working on a laptop sucks >> bigtime ...but it is work. >> >> William >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Wed Nov 9 09:20:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 09:20:21 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <2517645.1131547963613.JavaMail.root@sniper18> Message-ID: <000001c5e541$19c78bf0$0200a8c0@danwaters> It sounds like if I wanted to use a released version 2005 Express BE to an Access FE, and a customer already has SQL Server 2000 full version, then the two applications should not conflict. Does this sound correct? Thanks, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Wednesday, November 09, 2005 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition On 11/9/05, Dan Waters wrote: > John - what is the problem with 2005 Express? Is there a discussion of this > you could point to, or has this been your experience? > > Thanks, > Dan Waters Microsoft Visual Studio Beta products were not designed to be "side-by-side" installations. If you installed them with other previous products it would corrupt one of the installations. Supposedly this was for the beta builds only, but it wouldn't surprise me if there was a bug and some of the incompatibility seeped into Express Release. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 9 09:31:50 2005 From: john at winhaven.net (John Bartow) Date: Wed, 9 Nov 2005 09:31:50 -0600 Subject: [AccessD] Developer tools and Access 2003 Message-ID: <006b01c5e542$b4ac2530$6d01a8c0@ScuzzPaq> Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. From Jim.Hale at FleetPride.com Wed Nov 9 09:42:21 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 9 Nov 2005 09:42:21 -0600 Subject: [AccessD] Access data to Excel Chart Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82C@corp-es01.fleetpride.com> Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From shamil at users.mns.ru Wed Nov 9 09:52:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 18:52:16 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru> <00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> Message-ID: <003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> <<< ...did I forget to mention that? >>> William, yes, you did. If no picture then all the other MENTIONED requirements can be satisfied with a few lines of code. But I'd make it this way: A static picture of a facility plan on the left of the form with static grid drawn on top of this picture. And on the left of the form ComponentOne Flexgrid simulating all the other requirements. You can even implement a "location pan", which you can drag over the static plan with dynamic simulation grid getting synchronized with the current position of this "location pan". Easy, relatively inexpensive, effective and user-friendly solution <<< > ...and when I install it in Access many of its properties/methods are not > exposed >>> I have just checked - all the properties are visible in MS Access 97 and 2003. Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 6:20 PM Subject: Re: [AccessD] Floor Plan Grid > ...yes and no Shamil ...no pan and zoom and no way to make the grid > transparent so that I can see a facility plan behnd the booths ...did I > forget to mention that? > > ...and when I install it in Access many of its properties/methods are not > exposed ...its written to the MS ActiveX standard and thus doesn't fully > interface with Access :( > > William > <<< tail trimmed>>> From wdhindman at bellsouth.net Wed Nov 9 10:07:50 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 11:07:50 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local> <003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> Message-ID: <010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> ...ok ..I uninstalled and then reinstalled following the instructions this time ...it works, call me a dummy :) ...I'll have to play with it ...your idea of a "few lines of code" and mine probably differ by a mile :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 10:52 AM Subject: Re: [AccessD] Floor Plan Grid > <<< > ...did I forget to mention that? >>>> > William, yes, you did. If no picture then all the other MENTIONED > requirements can be satisfied with a few lines of code. > > But I'd make it this way: > > A static picture of a facility plan on the left of the form with static > grid > drawn on top of this picture. > And on the left of the form ComponentOne Flexgrid simulating all the other > requirements. > You can even implement a "location pan", which you can drag over the > static plan with dynamic simulation grid getting synchronized with the > current position of this "location pan". > > Easy, relatively inexpensive, effective and user-friendly solution > > <<< >> ...and when I install it in Access many of its properties/methods are not >> exposed >>>> > I have just checked - all the properties are visible in MS Access 97 and > 2003. > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 6:20 PM > Subject: Re: [AccessD] Floor Plan Grid > > >> ...yes and no Shamil ...no pan and zoom and no way to make the grid >> transparent so that I can see a facility plan behnd the booths ...did I >> forget to mention that? >> >> ...and when I install it in Access many of its properties/methods are not >> exposed ...its written to the MS ActiveX standard and thus doesn't fully >> interface with Access :( >> >> William >> > <<< tail trimmed>>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 9 10:13:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 11:13:20 -0500 Subject: [AccessD] Best way to fix database References: Message-ID: <010b01c5e548$806b0330$6101a8c0@JISREGISTRATION.local> ...I just revised the form/code to eliminate it since everything I do now is A2K3 ...since this is a developer tool that my users never see, I can live with that ...one of these days I might get around to looking at why your code produces different results than my own sysinfo form ...one of these days, eh :) ...in the meantime, its a very minor annoyance compared to the results your code produces :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:59 AM Subject: Re: [AccessD] Best way to fix database > Hi William, > It is probably something to do with the way Access tries to recognize what > version you are using. It won't (shouldn't) affect its operation. Make a > backup and then try it out. > Also, once it has exported all your objects, you can then view them on > disk > and see exactly how much space they are taking up - this visibility is not > available (afaik) within Access itself. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 14:52 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > Max > > ...I get the same thing on your original version even though I'm running > A2K3 (11) on an otherwise clean system. > > William > > ----- Original Message ----- > From: "Max Sherman" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 09, 2005 9:28 AM > Subject: Re: [AccessD] Best way to fix database > > >> Hi Gustav, >> Yes it was written for A3K >> >> Regards >> Max >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >> Sent: 09 November 2005 14:23 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Best way to fix database >> >> Hi Max >> >> Had a brief look with A2003 .. though it ignores that: >> >> You are running Access Version:- >> 2000/2002? - (DAO: 4.0) >> This program was designed for A03: V11.0 >> >> /gustav >> >>>>> max at sherman.org.uk 09-11-2005 14:49 >>> >> Glad you like the program. I still use it and it has saved my neck a few >> times. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Wed Nov 9 10:33:02 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 19:33:02 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru> <010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> Message-ID: <002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> > ...I'll have to play with it ...your idea of a "few lines of code" and mine > probably differ by a mile :) William, a few lines of code are I guess <=200 code lines without "location pan" functionality. With "location pan" another 200-300 code lines should be enough I guess. And I think I was wrong with my proposal to put static picture with "location pan" on the left side of the form - it should be better placed on the right or bottom part of the form. And grid on the left-top part respectively. Another advanced solution could be to use LEADTools Imaging libraries http://www.leadtools.co.uk/ but it's a heavy solution - quite expensive and it forces to install almost hundred .dlls and support files on users PC. Such "heavy" LEADTools Imaging installation works well but to prepare and to test it is an advanced task.... HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 7:07 PM Subject: Re: [AccessD] Floor Plan Grid > ...ok ..I uninstalled and then reinstalled following the instructions this > time ...it works, call me a dummy :) > > ...I'll have to play with it ...your idea of a "few lines of code" and mine > probably differ by a mile :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 10:52 AM > Subject: Re: [AccessD] Floor Plan Grid > <<< tail skipped >>> From prodevmg at yahoo.com Wed Nov 9 10:29:22 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 9 Nov 2005 08:29:22 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82C@corp-es01.fleetpride.com> Message-ID: <20051109162922.40857.qmail@web33113.mail.mud.yahoo.com> Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From cfoust at infostatsystems.com Wed Nov 9 10:39:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 9 Nov 2005 08:39:42 -0800 Subject: [AccessD] Developer tools and Access 2003 Message-ID: I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 9 10:41:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 09 Nov 2005 08:41:41 -0800 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition References: <000001c5e541$19c78bf0$0200a8c0@danwaters> Message-ID: <437226C5.20101@shaw.ca> You have to watch out for a few problems because of the replacement of SQL-DMO by SMO which may cause a conflict Download SQL Server Management Studio Express instead of old Express Manager if you are using latest version of Express CTP http://msdn.microsoft.com/vstudio/express/sql/default.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx FAQ: Installing SQL Express side by side with SQL 2000 Enterprise Manager seems to break it, Because of changes in the SQL Server 2005 metadata we have updated SQLDMO, the new version is SQLDMO9, it should work with SQL Server 7/2000 and 2005. For backwards compatibility it is installed by SQL Express so that existing DMO apps should just work. Due to the way that SQLDMO is versioned, only one version can exist on a machine at one time, so when Express is installed the SQLDMO9 version is the one that is registered http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx SMO Replaces SQL-DMO http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=40993&DisplayTab=Article Dan Waters wrote: >It sounds like if I wanted to use a released version 2005 Express BE to an >Access FE, and a customer already has SQL Server 2000 full version, then the >two applications should not conflict. Does this sound correct? > >Thanks, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane >Sent: Wednesday, November 09, 2005 8:49 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition > >On 11/9/05, Dan Waters wrote: > > >>John - what is the problem with 2005 Express? Is there a discussion of >> >> >this > > >>you could point to, or has this been your experience? >> >>Thanks, >>Dan Waters >> >> > >Microsoft Visual Studio Beta products were not designed to be >"side-by-side" installations. If you installed them with other >previous products it would corrupt one of the installations. >Supposedly this was for the beta builds only, but it wouldn't surprise >me if there was a bug and some of the incompatibility seeped into >Express Release. > >-- >Josh McFarlane >"Peace cannot be kept by force. It can only be achieved by understanding." >-Albert Einstein > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Wed Nov 9 11:04:17 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 11:04:17 -0600 Subject: [AccessD] Access data to Excel Chart In-Reply-To: <25859890.1131554129616.JavaMail.root@sniper22> Message-ID: <000401c5e54f$9f42a810$0200a8c0@danwaters> Lonnie, I haven't read this thread till now so if my suggestion has been covered already . . . Have you considered or tried using MS Graph? I've used this with success. It has the same (I believe) functionality for regular charts that Excel has. If it works out then you can stay in Access. Note: You'll need to set a reference to MS Graph if you want to use it, which I'm pretty sure will be on your client's PCs. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Nov 9 11:04:17 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 9 Nov 2005 11:04:17 -0600 Subject: [AccessD] Microsoft SQL Server 2005 Express Edition In-Reply-To: <22941650.1131554845174.JavaMail.root@sniper23> Message-ID: <000501c5e54f$9f82e560$0200a8c0@danwaters> Thanks Marty! I'll keep this as a reference. :-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, November 09, 2005 10:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition You have to watch out for a few problems because of the replacement of SQL-DMO by SMO which may cause a conflict Download SQL Server Management Studio Express instead of old Express Manager if you are using latest version of Express CTP http://msdn.microsoft.com/vstudio/express/sql/default.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc(basically anything that is not using .Net 2.0 or the new SQL Native Client)) http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx FAQ: Installing SQL Express side by side with SQL 2000 Enterprise Manager seems to break it, Because of changes in the SQL Server 2005 metadata we have updated SQLDMO, the new version is SQLDMO9, it should work with SQL Server 7/2000 and 2005. For backwards compatibility it is installed by SQL Express so that existing DMO apps should just work. Due to the way that SQLDMO is versioned, only one version can exist on a machine at one time, so when Express is installed the SQLDMO9 version is the one that is registered http://blogs.msdn.com/sqlexpress/archive/2004/07/04/172956.aspx SMO Replaces SQL-DMO http://www.windowsitpro.com/Articles/Index.cfm?ArticleID=40993&DisplayTab=Ar ticle Dan Waters wrote: >It sounds like if I wanted to use a released version 2005 Express BE to an >Access FE, and a customer already has SQL Server 2000 full version, then the >two applications should not conflict. Does this sound correct? > >Thanks, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane >Sent: Wednesday, November 09, 2005 8:49 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Microsoft SQL Server 2005 Express Edition > >On 11/9/05, Dan Waters wrote: > > >>John - what is the problem with 2005 Express? Is there a discussion of >> >> >this > > >>you could point to, or has this been your experience? >> >>Thanks, >>Dan Waters >> >> > >Microsoft Visual Studio Beta products were not designed to be >"side-by-side" installations. If you installed them with other >previous products it would corrupt one of the installations. >Supposedly this was for the beta builds only, but it wouldn't surprise >me if there was a bug and some of the incompatibility seeped into >Express Release. > >-- >Josh McFarlane >"Peace cannot be kept by force. It can only be achieved by understanding." >-Albert Einstein > > -- 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 wdhindman at bellsouth.net Wed Nov 9 11:22:44 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 9 Nov 2005 12:22:44 -0500 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru><010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local> <002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> Message-ID: <000301c5e552$32793390$6101a8c0@JISREGISTRATION.local> Shamil ...any sources for examples of coding this control using Access ...all of the samples and documentation are for VB6 or C, neither of which I can access ...don't see anything on their web site either. ...as for your "few" lines adding up to maybe 400 ...we use different dictionaries :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 11:33 AM Subject: Re: [AccessD] Floor Plan Grid >> ...I'll have to play with it ...your idea of a "few lines of code" and > mine >> probably differ by a mile :) > William, a few lines of code are I guess <=200 code lines without > "location > pan" functionality. > With "location pan" another 200-300 code lines should be enough I guess. > > And I think I was wrong with my proposal to put static picture with > "location pan" on the left side of the form - it should be better placed > on > the right or bottom part of the form. And grid on the left-top part > respectively. > > Another advanced solution could be to use LEADTools Imaging libraries > http://www.leadtools.co.uk/ > but it's a heavy solution - quite expensive and it forces to install > almost hundred .dlls and support files on users PC. Such "heavy" > LEADTools Imaging installation works well but to prepare > and to test it is an advanced task.... > > HTH, > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 7:07 PM > Subject: Re: [AccessD] Floor Plan Grid > > >> ...ok ..I uninstalled and then reinstalled following the instructions >> this >> time ...it works, call me a dummy :) >> >> ...I'll have to play with it ...your idea of a "few lines of code" and > mine >> probably differ by a mile :) >> >> William >> >> ----- Original Message ----- >> From: "Shamil Salakhetdinov" >> To: "Access Developers discussion and problem solving" >> >> Sent: Wednesday, November 09, 2005 10:52 AM >> Subject: Re: [AccessD] Floor Plan Grid >> > > <<< tail skipped >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From newsgrps at dalyn.co.nz Wed Nov 9 11:46:34 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 10 Nov 2005 06:46:34 +1300 Subject: [AccessD] Fit to Page Reports Message-ID: <6.2.3.4.0.20051110064408.030f4b80@mail.dalyn.co.nz> Is it possible for Access 97 reports (or later version) to be printed so that they fit on one page without physically changing the design of the report (for example if a report normally runs to 2 pages it can be condensed to 1 - similar to Excel's option). Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua 6006 Phone (04) 235-6782 Fax (04) 235-6783 Mob (027) 280-9348 From shamil at users.mns.ru Wed Nov 9 11:55:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 9 Nov 2005 20:55:57 +0300 Subject: [AccessD] Floor Plan Grid References: <20051109023416.28368.qmail@web33105.mail.mud.yahoo.com><000401c5e4dd$26f939e0$6101a8c0@JISREGISTRATION.local><002201c5e508$c4240080$6401a8c0@fincomplex.spb.ru><00bf01c5e541$2418d7d0$6101a8c0@JISREGISTRATION.local><003901c5e545$a2b433b0$6401a8c0@fincomplex.spb.ru><010701c5e547$bc0637d0$6101a8c0@JISREGISTRATION.local><002001c5e54b$51f13f80$6401a8c0@fincomplex.spb.ru> <000301c5e552$32793390$6101a8c0@JISREGISTRATION.local> Message-ID: <000901c5e556$fd2fe5d0$6401a8c0@fincomplex.spb.ru> William, I don't have MS Access samples. You can open VB6 code sample files' text and copy and paste it in MS Access modules. It will work OK. Also their online help is good and has good samples AFAIKR. You'll need for starters the following properties: Cell ColHidden Cols ColWidth FixedCols FixedRows flexcpBackColor flexcpText RowHeight RowHidden Rows ScrollBars > ...as for your "few" lines adding up to maybe 400 ...we use different > dictionaries :) OK:) I meant 400 lines including blank lines and functions/subs/properties declarations. Looks like a few, isn't it? I have a ~30,000 code lines project here now - this I'd call a small project (in fact four projects having these 30,000 codes lines shared + another ~5000-6000 each project specific code lines). FYI: I will have some free time soon. I can make this your small project on subcontracting basis if you decide to use VSFlexGrid and if your customer pays for this work. For sure I will make available a small sample simulating zooming and shifting and coloring and numbering the visible part of the grid's cells. I think this weekend the latest. Although I can't promise a lot - I need for work to make my family's living... HTH, Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 09, 2005 8:22 PM Subject: Re: [AccessD] Floor Plan Grid > Shamil > > ...any sources for examples of coding this control using Access ...all of > the samples and documentation are for VB6 or C, neither of which I can > access ...don't see anything on their web site either. > > ...as for your "few" lines adding up to maybe 400 ...we use different > dictionaries :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 09, 2005 11:33 AM > Subject: Re: [AccessD] Floor Plan Grid > > > >> ...I'll have to play with it ...your idea of a "few lines of code" and > > mine > >> probably differ by a mile :) > > William, a few lines of code are I guess <=200 code lines without > > "location > > pan" functionality. > > With "location pan" another 200-300 code lines should be enough I guess. > > > > And I think I was wrong with my proposal to put static picture with > > "location pan" on the left side of the form - it should be better placed > > on > > the right or bottom part of the form. And grid on the left-top part > > respectively. > > > > Another advanced solution could be to use LEADTools Imaging libraries > > http://www.leadtools.co.uk/ > > but it's a heavy solution - quite expensive and it forces to install > > almost hundred .dlls and support files on users PC. Such "heavy" > > LEADTools Imaging installation works well but to prepare > > and to test it is an advanced task.... > > > > HTH, > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, November 09, 2005 7:07 PM > > Subject: Re: [AccessD] Floor Plan Grid > > > > > >> ...ok ..I uninstalled and then reinstalled following the instructions > >> this > >> time ...it works, call me a dummy :) > >> > >> ...I'll have to play with it ...your idea of a "few lines of code" and > > mine > >> probably differ by a mile :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: "Shamil Salakhetdinov" > >> To: "Access Developers discussion and problem solving" > >> > >> Sent: Wednesday, November 09, 2005 10:52 AM > >> Subject: Re: [AccessD] Floor Plan Grid > >> > > > > <<< tail skipped >>> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Wed Nov 9 11:56:23 2005 From: dmcafee at pacbell.net (David McAfee) Date: Wed, 9 Nov 2005 09:56:23 -0800 Subject: [AccessD] Developer tools and Access 2003 In-Reply-To: Message-ID: Charlotte, where do I look (or what do I have to install) to get access to CodeLibrarian in VS2003? I miss it. I used it very much with Office 2000 Developer, but my copy of 2003 isn't a developers edition. I do have VS2003 installed. David -----Original Message----- From: Charlotte Foust Sent: Wednesday, November 09, 2005 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. From cfoust at infostatsystems.com Wed Nov 9 12:14:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 9 Nov 2005 10:14:42 -0800 Subject: [AccessD] Developer tools and Access 2003 Message-ID: It's a standalone product you can start from the program menu. You'll have to use the 2000 CodeLibrarian if you don't have the XP version. I have an icon on my desktop so I can get to it quickly. Doesn't integrate the way it did in A2k. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Wednesday, November 09, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 Charlotte, where do I look (or what do I have to install) to get access to CodeLibrarian in VS2003? I miss it. I used it very much with Office 2000 Developer, but my copy of 2003 isn't a developers edition. I do have VS2003 installed. David -----Original Message----- From: Charlotte Foust Sent: Wednesday, November 09, 2005 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Developer tools and Access 2003 I've used every version of the CodeLibrarian that has been available and I still use the XP version with VB.Net. I don't bother with the others you mentioned because I use MZ-Tools. Charlotte Foust -----Original Message----- From: John Bartow Sent: Wednesday, November 09, 2005 7:32 AM To: _DBA-Access Subject: [AccessD] Developer tools and Access 2003 Does anyone use the ODE tools - code librarian, string editor, error handler, code commenter tools from A2k with A2k3? Or with any version? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 9 12:17:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 10:17:38 -0800 Subject: [AccessD] att Moderators Message-ID: <000e01c5e559$ddf750b0$0a01a8c0@desktop> I tried unsubscribing my second id access at joe2.endjunk.com but for some reason it did not take. Would you please unsubscribe that account for me. Thanks Joe From carbonnb at sympatico.ca Wed Nov 9 12:21:12 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 09 Nov 2005 13:21:12 -0500 Subject: [AccessD] att Moderators In-Reply-To: <000e01c5e559$ddf750b0$0a01a8c0@desktop> Message-ID: >From: "Joe Hecht" >I tried unsubscribing my second id access at joe2.endjunk.com but for some >reason it did not take. Would you please unsubscribe that account for me. Done. -- Bryan Carbonnell - carbonnb at sympatico.ca 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 jmhecht at earthlink.net Wed Nov 9 12:26:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 10:26:11 -0800 Subject: [AccessD] att Moderators In-Reply-To: Message-ID: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Thanks Bryan, That will reduce my duplicate e mails by half. Now I just need to figure out why this account gets 2 copies of a lot of the messages -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, November 09, 2005 10:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] att Moderators >From: "Joe Hecht" >I tried unsubscribing my second id access at joe2.endjunk.com but for some >reason it did not take. Would you please unsubscribe that account for me. Done. -- Bryan Carbonnell - carbonnb at sympatico.ca Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Nov 9 12:46:33 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 09 Nov 2005 13:46:33 -0500 Subject: [AccessD] att Moderators In-Reply-To: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Message-ID: >From: "Joe Hecht" >Thanks Bryan, >That will reduce my duplicate e mails by half. Now I just need to figure >out >why this account gets 2 copies of a lot of the messages Joe, Forward me, as attachments, 3 sets of duplicates (ie 6 e-mails total) and I'll look at them tonight and see if I can see why you are getting duplicates. Send them to carbonnb at sympatico.ca. My feeling is that you have some sort of alias that forwards e-mail to that account as well as your subscription at that account. But that's just a guess. -- Bryan Carbonnell - carbonnb at sympatico.ca 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 max at sherman.org.uk Wed Nov 9 12:50:25 2005 From: max at sherman.org.uk (Max Sherman) Date: Wed, 9 Nov 2005 18:50:25 -0000 Subject: [AccessD] Best way to fix database In-Reply-To: <010b01c5e548$806b0330$6101a8c0@JISREGISTRATION.local> Message-ID: William, Any and all fixes from anybody are most welcome. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 09 November 2005 16:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Best way to fix database ...I just revised the form/code to eliminate it since everything I do now is A2K3 ...since this is a developer tool that my users never see, I can live with that ...one of these days I might get around to looking at why your code produces different results than my own sysinfo form ...one of these days, eh :) ...in the meantime, its a very minor annoyance compared to the results your code produces :) William ----- Original Message ----- From: "Max Sherman" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 09, 2005 9:59 AM Subject: Re: [AccessD] Best way to fix database > Hi William, > It is probably something to do with the way Access tries to recognize what > version you are using. It won't (shouldn't) affect its operation. Make a > backup and then try it out. > Also, once it has exported all your objects, you can then view them on > disk > and see exactly how much space they are taking up - this visibility is not > available (afaik) within Access itself. > > Regards > Max > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 09 November 2005 14:52 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Best way to fix database > > Max > > ...I get the same thing on your original version even though I'm running > A2K3 (11) on an otherwise clean system. > > William > > ----- Original Message ----- > From: "Max Sherman" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 09, 2005 9:28 AM > Subject: Re: [AccessD] Best way to fix database > > >> Hi Gustav, >> Yes it was written for A3K >> >> Regards >> Max >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >> Sent: 09 November 2005 14:23 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Best way to fix database >> >> Hi Max >> >> Had a brief look with A2003 .. though it ignores that: >> >> You are running Access Version:- >> 2000/2002? - (DAO: 4.0) >> This program was designed for A03: V11.0 >> >> /gustav >> >>>>> max at sherman.org.uk 09-11-2005 14:49 >>> >> Glad you like the program. I still use it and it has saved my neck a few >> times. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Nov 9 13:15:27 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 9 Nov 2005 13:15:27 -0600 Subject: [AccessD] Access data to Excel Chart Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82F@corp-es01.fleetpride.com> Ok, then you need solution three. I do similar things where I create multiple budget books at a time selected from a menu. How much of the code do you have written? Is the real question how best to structure the process or is it how to write the code to create multiple workbooks from different recordsets or is it you have an Excel instance stuck in memory that is giving your code problems? Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From kathryn at bassett.net Wed Nov 9 13:22:46 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 9 Nov 2005 11:22:46 -0800 Subject: [AccessD] att Moderators In-Reply-To: <001601c5e55b$0fe7c7c0$0a01a8c0@desktop> Message-ID: <20051109112252.59D09394@dm18.mta.everyone.net> I don't get a *lot* of duplicates, but I have noticed that I frequently get two copies of (can't remember who) one person's emails. I've just put it down to some glitch on my end. If I notice who it is that I get the duplicates from, I'll send along. BTW, Joe, if you are getting dups of most of them, it may be a rule doing it. I can't remember since it's been awhile, but when I was first experimenting with rules, I had a couple that kinda ended up duplicating each other, resulting in two copies of each message ending up in the designated folder. Once I finally figured it out and deleted the extra rule that was only slightly different from another, I stopped getting two copies in the folder. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: 09 Nov 2005 10:26 am > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] att Moderators > > Thanks Bryan, > > That will reduce my duplicate e mails by half. Now I just > need to figure out why this account gets 2 copies of a lot of > the messages From andy at minstersystems.co.uk Wed Nov 9 13:32:20 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 9 Nov 2005 19:32:20 -0000 Subject: [AccessD] att Moderators In-Reply-To: <20051109112252.59D09394@dm18.mta.everyone.net> Message-ID: <000201c5e564$4d93cf70$57b50c54@minster33c3r25> Yep. Easy to do that with rules. Outlook allows you to set 'Stop processing further rules' (or similar) at the end of a rule, so that if a later rule would also act on that email this stops it. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Kathryn Bassett > Sent: 09 November 2005 19:23 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] att Moderators > > > I don't get a *lot* of duplicates, but I have noticed that I > frequently get two copies of (can't remember who) one > person's emails. I've just put it down to some glitch on my > end. If I notice who it is that I get the duplicates from, > I'll send along. > > BTW, Joe, if you are getting dups of most of them, it may be > a rule doing it. I can't remember since it's been awhile, but > when I was first experimenting with rules, I had a couple > that kinda ended up duplicating each other, resulting in two > copies of each message ending up in the designated folder. > Once I finally figured it out and deleted the extra rule that > was only slightly different from another, I stopped getting > two copies in the folder. > > -- From dmcafee at pacbell.net Wed Nov 9 13:33:42 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 9 Nov 2005 11:33:42 -0800 (PST) Subject: [AccessD] att Moderators In-Reply-To: <20051109112252.59D09394@dm18.mta.everyone.net> Message-ID: <20051109193342.99506.qmail@web80803.mail.yahoo.com> A lot of times this is due to Outlook Rules. I get duplicates of messages that are cross posted to Access-D and Access-L (so I end up getting four messages). David --- Kathryn Bassett wrote: > I don't get a *lot* of duplicates, but I have > noticed that I frequently get two copies of (can't > remember who) one person's emails. I've just put it > down to some glitch on my end. If I notice who it is > that I get the duplicates from, I'll send along. > > BTW, Joe, if you are getting dups of most of them, > it may be a rule doing it. I can't remember since > it's been awhile, but when I was first experimenting > with rules, I had a couple that kinda ended up > duplicating each other, resulting in two copies of > each message ending up in the designated folder. > Once I finally figured it out and deleted the extra > rule that was only slightly different from another, > I stopped getting two copies in the folder. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Joe Hecht > > Sent: 09 Nov 2005 10:26 am > > To: 'Access Developers discussion and problem > solving' > > Subject: Re: [AccessD] att Moderators > > > > Thanks Bryan, > > > > That will reduce my duplicate e mails by half. Now > I just > > need to figure out why this account gets 2 copies > of a lot of > > the messages > > -- > 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 Nov 9 14:12:43 2005 From: mwp.reid at qub.ac.uk (Martin) Date: Wed, 9 Nov 2005 20:12:43 -0000 Subject: [AccessD] att Moderators Message-ID: <200511092012.jA9KChJ21714@databaseadvisors.com> Got 2 copies of this. Happens every day no rules set -----Original Message----- From: "David Mcafee" Sent: 09/11/05 19:33:42 To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] att Moderators A lot of times this is due to Outlook Rules. I get duplicates of messages that are cross posted to Access-D and Access-L (so I end up getting four messages). David --- Kathryn Bassett wrote: > I don't get a *lot* of duplicates, but I have > noticed that I frequently get two copies of (can't > remember who) one person's emails. I've just put it > down to some glitch on my end. If I notice who it is > that I get the duplicates from, I'll send along. > > BTW, Joe, if you are getting dups of most of them, > it may be a rule doing it. I can't remember since > it's been awhile, but when I was first experimenting > with rules, I had a couple that kinda ended up > duplicating each other, resulting in two copies of > each message ending up in the designated folder. > Once I finally figured it out and deleted the extra > rule that was only slightly different from another, > I stopped getting two copies in the folder. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Joe Hecht > > Sent: 09 Nov 2005 10:26 am > > To: 'Access Developers discussion and problem > solving' > > Subject: Re: [AccessD] att Moderators > > > > Thanks Bryan, > > > > That will reduce my duplicate e mails by half. Now > I just > > need to figure out why this account gets 2 copies > of a lot of > > the messages > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Wed Nov 9 14:20:57 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 9 Nov 2005 12:20:57 -0800 (PST) Subject: [AccessD] att Moderators In-Reply-To: <200511092012.jA9KChJ21714@databaseadvisors.com> Message-ID: <20051109202057.85321.qmail@web80806.mail.yahoo.com> I sent it twice, just to mess with you :) (kidding) --- Martin wrote: > Got 2 copies of this. Happens every day no rules set > > -----Original Message----- > From: "David Mcafee" > Sent: 09/11/05 19:33:42 > To: "Access Developers discussion and problem > solving" > Subject: Re: [AccessD] att Moderators > > A lot of times this is due to Outlook Rules. I > get > duplicates of messages that are cross posted to > Access-D and Access-L (so I end up getting four > messages). > > David > > --- Kathryn Bassett wrote: > > > I don't get a *lot* of duplicates, but I have > > noticed that I frequently get two copies of > (can't > > remember who) one person's emails. I've just > put it > > down to some glitch on my end. If I notice who > it is > > that I get the duplicates from, I'll send > along. > > > > BTW, Joe, if you are getting dups of most of > them, > > it may be a rule doing it. I can't remember > since > > it's been awhile, but when I was first > experimenting > > with rules, I had a couple that kinda ended up > > duplicating each other, resulting in two > copies of > > each message ending up in the designated > folder. > > Once I finally figured it out and deleted the > extra > > rule that was only slightly different from > another, > > I stopped getting two copies in the folder. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On > > Behalf Of Joe Hecht > > > Sent: 09 Nov 2005 10:26 am > > > To: 'Access Developers discussion and > problem > > solving' > > > Subject: Re: [AccessD] att Moderators > > > > > > Thanks Bryan, > > > > > > That will reduce my duplicate e mails by > half. Now > > I just > > > need to figure out why this account gets 2 > copies > > of a lot of > > > the messages > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Nov 9 14:24:36 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 9 Nov 2005 15:24:36 -0500 Subject: [AccessD] att Moderators In-Reply-To: <200511092012.jA9KChJ21714@databaseadvisors.com> References: <200511092012.jA9KChJ21714@databaseadvisors.com> Message-ID: On 09/11/05, Martin wrote: > Got 2 copies of this. Happens every day no rules set Same offer to you Martin. Send 'em as attachments to carbonnb at sympatico.ca and I'll see if I can see anything unusual. Same goes for anyone experiencing the same thing. -- 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 mboyd at deloitte.com Wed Nov 9 15:12:43 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:12:43 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: I need to use conditional formatting on a continuous form. This would be easy, but I need to change the color of TextBox1 when CheckBox1 is clicked. The key here is to not change the color for every record on the form, just the selected one. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From stuart at lexacorp.com.pg Wed Nov 9 15:25:28 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 10 Nov 2005 07:25:28 +1000 Subject: [AccessD] Continuous Forms Formatting In-Reply-To: Message-ID: <4372F5E8.17868.4B8A9F8F@stuart.lexacorp.com.pg> On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart From mboyd at deloitte.com Wed Nov 9 15:46:33 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:46:33 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: This is exactly what I needed! Thanks Stuart. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 09, 2005 4:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Continuous Forms Formatting On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mboyd at deloitte.com Wed Nov 9 15:57:25 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 9 Nov 2005 16:57:25 -0500 Subject: [AccessD] Continuous Forms Formatting Message-ID: Thanks again Stuart. Another question regarding conditional formatting. If Checkbox1 is disabled, is there a way to enable it when ComboBox1 is selected? Again, I only want to do this with the current record, not all of them. I tried the conditional formatting option under the Format menu, but this option is disabled for checkboxes. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 09, 2005 4:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Continuous Forms Formatting On 9 Nov 2005 at 16:12, Boyd, Mark Thomas (US - Phila wrote: > I need to use conditional formatting on a continuous form. > This would be easy, but I need to change the color of TextBox1 when > CheckBox1 is clicked. The key here is to not change the color for every > record on the form, just the selected one. > In Design view: 1.Select TextBox1 2.On the main menu, select "Format - Conditional formatting..." 3. In Condition 1, select "Expression is" in the combo box, enter "[Checkbox1] = True" in the text box and select a fore/background combination. 4. Click OK -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From prosoft6 at hotmail.com Wed Nov 9 16:21:44 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 09 Nov 2005 17:21:44 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: <000001c5e538$b74f1630$0200a8c0@danwaters> Message-ID: I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From djkr at msn.com Wed Nov 9 16:38:25 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 9 Nov 2005 22:38:25 -0000 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: Message-ID: Birmingham UK worked just fine. The deal was take Standard Edition now, or a voucher for Professional when they've burnt them. Needless to say, most took the vouchers. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 09 November 2005 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft SQL Server 2005 Launch I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Wed Nov 9 16:42:31 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 9 Nov 2005 22:42:31 -0000 Subject: [AccessD] Microsoft SQL Server 2005 Launch Message-ID: Should have qualified that - the 'Professional' bit was for VS; the others were SQLS Standard and BizTalk Server Developer. J -----Original Message----- From: DJK(John) Robinson [mailto:djkr at msn.com] Sent: 09 November 2005 22:38 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Microsoft SQL Server 2005 Launch Birmingham UK worked just fine. The deal was take Standard Edition now, or a voucher for Professional when they've burnt them. Needless to say, most took the vouchers. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 09 November 2005 22:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Microsoft SQL Server 2005 Launch I attended the lauch in Syracuse, NY yesterday, both morning and afternoon. They are giving away SQL 2005 , Visual Studio 2005 Standard Edition, and BizTalk Server 2006. If you attend the Sql launch you get a copy, and then the msdn in the pm, you get another copy. The sql launch was excellent. The presenter in the pm had all kinds of technical and coding probelms. She couldn't get much of anything to work! Highly recommend attending, however, it was worth it. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Nov 9 17:38:08 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 10 Nov 2005 10:38:08 +1100 Subject: [AccessD] OT: vb.net course Message-ID: <001101c5e586$a47756f0$6501a8c0@user> Just wondering whether anyone on the list has done the Programming with VB.net course at Monash IT? (Melb / Australia) ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From jmhecht at earthlink.net Wed Nov 9 18:00:07 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 9 Nov 2005 16:00:07 -0800 Subject: [AccessD] OT: vb.net course Att Bryan In-Reply-To: <001101c5e586$a47756f0$6501a8c0@user> Message-ID: <001d01c5e589$b6818930$0a01a8c0@desktop> Got this twice -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, November 09, 2005 3:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: vb.net course Just wondering whether anyone on the list has done the Programming with VB.net course at Monash IT? (Melb / Australia) ______________________________________________ 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 prosoft6 at hotmail.com Thu Nov 10 07:37:45 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 10 Nov 2005 08:37:45 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: <000001c5e57e$4be84380$1a00a8c0@dabsight> Message-ID: Wow. We didnt' get that choice. Nice! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Susan.Klos at fldoe.org Thu Nov 10 07:40:51 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 10 Nov 2005 08:40:51 -0500 Subject: [AccessD] Print to PDF Message-ID: I have 75 separate reports that I want to print to file in PDF. Right now I am manually setting the default printer to my PDF driver and it prints them. Is there a way to set the default printer in code? I would like to set it at the beginning and then unset it at the end. Also, every time I print a report, Adobe opens up. I would like to prevent that. Any help would be greatly appreciated. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From mmm at tbig.com Thu Nov 10 07:45:51 2005 From: mmm at tbig.com (Myke Myers) Date: Thu, 10 Nov 2005 08:45:51 -0500 Subject: [AccessD] FW: Access 12 Demos from the PDC Message-ID: <000001c5e5fd$10934260$6501a8c0@tbig1> -----Original Message----- From: Erik Rucker Subject: Access 12 Demos from the PDC http://blogs.msdn.com/access/archive/2005/11/08/490406.aspx | Comments All of the session from PDC content is also available online to anyone, for free, for six full months. For more information, refer to this blog post. There are a few sessions that are interesting from the Access perspective: OFF307: "Access 12": Developing Collaboration Solutions with "Access 12" and Windows SharePoint Services "v3" Speaker: Clint Covington - Broad overview of many new features. OFF201: "Office 12": Introduction to the Programmable Customization Model for the "Office 12" User Experience (Part 1) Speaker: Jensen Harris - explains the philosophy behind the new UI and the ribbon changes. OFF302: "Office 12": Developing with the Programmable Customization Model for the "Office 12" User Experience (Part 2) Speaker: Savraj Dhanjal - explains how to customize the new UI. OFF310: Windows SharePoint Services: Developing Collaboration and Tracking Applications Speaker: Mike Morton - explains many of the changes to WSS that can be used while building Access applications with WSS link tables. OFF417: Visual Studio Tools for Office "v3": Creating Office Application Customizations Speaker: Andrew Whitechapel - details around how to develop managed task panes and addins for Office including Access OFF415: Windows SharePoint Services: Developing Custom Workflows Speakers: George Hatoun; Pravin Indurkar - details about workflow that can be used while building applications with WSS. Access will have hooks for working with WSS workflow. Last, if you don't read the blog post, know that you can right-click on the speaker video, choose Play Speed, then Fast to watch the presentations at a higher speeds. Enjoy! Related... From wdhindman at bellsouth.net Thu Nov 10 08:05:43 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 10 Nov 2005 09:05:43 -0500 Subject: [AccessD] Print to PDF References: Message-ID: <002001c5e5ff$d7319820$6101a8c0@JISREGISTRATION.local> Susan ...try this first: http://www.mvps.org/access/reports/rpt0011.htm William ----- Original Message ----- From: "Klos, Susan" To: Sent: Thursday, November 10, 2005 8:40 AM Subject: [AccessD] Print to PDF >I have 75 separate reports that I want to print to file in PDF. Right > now I am manually setting the default printer to my PDF driver and it > prints them. Is there a way to set the default printer in code? I > would like to set it at the beginning and then unset it at the end. > Also, every time I print a report, Adobe opens up. I would like to > prevent that. Any help would be greatly appreciated. TIA. > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Nov 10 09:17:09 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 10 Nov 2005 16:17:09 +0100 Subject: [AccessD] Getting Emailadress from my Outlook (Exchange server) mailbox. Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6090@stekelbes.ithelps.local> Does anyone has some code or tool to extract all e-mailadresses in my Outlook (Exchange server) mailbox. More specificly those from the last two years or so. I started recently started with a promotion newsletter but a lot of e-mail adresses are missing in my database from my customers and their personal. Once I have them in a table I could add them to my customer database based on domain, Because I manage all those mailservers from my customers, I also know that the e-mail address is in firstname.lastname at companyname.something format. The thing is that I organize all my mails in subfolders so it needs to look in all subfolders to and not only the in/send box. Thx. Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Lambert.Heenan at AIG.com Thu Nov 10 10:20:44 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 10 Nov 2005 10:20:44 -0600 Subject: [AccessD] Getting Emailadress from my Outlook (Exchange serve r) mailbox. Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1899A1D0@xlivmbx21.aig.com> I have a tool written in Access 2002 (XP) that allows you to browse to any folder in your Outlook account and save the emails to .MSG files. The code could easily be modified to retrieve the sender's email address and then save it to a table. I can send you this in a Zip file off list if you'd like. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, November 10, 2005 10:17 AM To: Access Developers discussion and problem solving Subject: [AccessD] Getting Emailadress from my Outlook (Exchange server) mailbox. Does anyone has some code or tool to extract all e-mailadresses in my Outlook (Exchange server) mailbox. More specificly those from the last two years or so. I started recently started with a promotion newsletter but a lot of e-mail adresses are missing in my database from my customers and their personal. Once I have them in a table I could add them to my customer database based on domain, Because I manage all those mailservers from my customers, I also know that the e-mail address is in firstname.lastname at companyname.something format. The thing is that I organize all my mails in subfolders so it needs to look in all subfolders to and not only the in/send box. Thx. Erwin Craps Zaakvoerder www.ithelps.be/onsgezin From dba.email at gmail.com Thu Nov 10 10:27:37 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 10 Nov 2005 11:27:37 -0500 Subject: [AccessD] Microsoft SQL Server 2005 Launch In-Reply-To: References: <000001c5e57e$4be84380$1a00a8c0@dabsight> Message-ID: <5f2de2420511100827t5d528b3u6f751f7872762f6@mail.gmail.com> Julie (and any others who have attended this launch event), I have two questions. I'm confirmed for the 1/11/2006 launch in Washington DC. Without additional information regarding specific content, I took the liberty of confirming for both the developer track and the data platform track. First, based on your experience, would you recommend one track over the other? Secondly, are all three products (SQL Server 2005, Visual Studio 2005, & BizTalk Server 2006) distributed regardless of which track is chosen? Thanks for any feedback, Mark On 11/10/05, Julie Reardon-Taylor wrote: > > Wow. We didnt' get that choice. Nice! > > > > Julie Reardon-Taylor > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone/Fax: (315) 785-0319 > www.pro-soft.net > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mike.W.Gowey at doc.state.or.us Thu Nov 10 16:10:41 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 10 Nov 2005 15:10:41 -0700 Subject: [AccessD] Create OverDue Table Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B92D@srciml1.ds.doc.state.or.us> I need to create a table from a list of Overdue accounts. I need to be able to pull from a Payments table the last payment made by each customer and than if that payment is more than 60 days ago, I need to copy it over to the overdue table. Could someone please show me the easiest way to accomplish this. Thanks in advance for any help provided. /Mike From stuart at lexacorp.com.pg Thu Nov 10 16:24:29 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 11 Nov 2005 08:24:29 +1000 Subject: [AccessD] Create OverDue Table In-Reply-To: <05EBB8A3BEB95B4F8216BE4EF48607780579B92D@srciml1.ds.doc.state.or.us> Message-ID: <4374553D.16069.1FECD23@stuart.lexacorp.com.pg> On 10 Nov 2005 at 15:10, Gowey Mike W wrote: > > > I need to create a table from a list of Overdue accounts. I need to be > able to pull from a Payments table the last payment made by each > customer and than if that payment is more than 60 days ago, I need to > copy it over to the overdue table. > Create a new query on the payments table with the fields "Customer" and "PaymentDate" (or whatever you have named them). Select "View-Totals" on the main menu. A "Totals" row will appear in the grid. Select "GroupBy" for the Customer column and "Max" for the PaymentDate column In the Criteria row of the PaymentDate column enter "< Date() - 60" Select "Query-Append query..." on the main menu Enter the overdue table name in the Append to: field. An "Append To:" row will appear in the grid. Select the correct fields in this row in each column. To ensure that you only have overdue accounts in the overdue table, you can either: Run a delete query to remove all records before running this query or Change this query to be a "Make Table" query so that you create a new table every time your run it. -- Stuart From accessd at shaw.ca Thu Nov 10 21:49:04 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 10 Nov 2005 19:49:04 -0800 Subject: [AccessD] A Question of MSExpress and MS SQL In-Reply-To: <002001c5e5ff$d7319820$6101a8c0@JISREGISTRATION.local> Message-ID: <000001c5e672$dc8ebf50$017ba8c0@xpserver> I must admit that I currently have done no research on the subject but the night is still young. I tried the simple way of 'attaching' an mdf and ldf files, created in MS SQL Express to my MS SQL 2000 sever but the process crashed saying something like 'Could not find row in sysindexes for database ID 10, object ID 1, Run DBCC Checktable on sysindexes....' I was wondering if it does not work because SQL Express is of a much newer format than SQL 2000 or is it because they are like apples and oranges and 'Express' will never be compatible with any version of 'MS SQL'? What would be the easiest way to transfer structure and data across? TIA Jim From prodevmg at yahoo.com Fri Nov 11 05:02:20 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 11 Nov 2005 03:02:20 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <000401c5e54f$9f42a810$0200a8c0@danwaters> Message-ID: <20051111110220.22956.qmail@web33106.mail.mud.yahoo.com> Thanks Dan. Yes. Actually part of the routine is to create the graphs on a report in Access and also to export them to excel. The end user wants both. Dan Waters wrote:Lonnie, I haven't read this thread till now so if my suggestion has been covered already . . . Have you considered or tried using MS Graph? I've used this with success. It has the same (I believe) functionality for regular charts that Excel has. If it works out then you can stay in Access. Note: You'll need to set a reference to MS Graph if you want to use it, which I'm pretty sure will be on your client's PCs. Best of Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean Dim wksUpl As Worksheet, y As Long, lngRetval As Long, blSheet As Boolean, blRange As Boolean On Error GoTo PROC_ERR blSheet = SheetExists(strSheetName) blRange = RangeNameExists(strWSRange) If strWSRange = "" Then blRange = True If rstData.RecordCount = 0 Then MsgBox rstData.Name & " is empty. There are no records to paste ", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Empty Recordset" PasteRecSetExcel = False ElseIf blSheet = False Then MsgBox strSheetName & " doesn't exist.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Non-existent Sheet" PasteRecSetExcel = False ElseIf blRange = False Then MsgBox strWSRange & " is not a valid range name. No data was pasted.", _ vbOKOnly + vbCritical + vbSystemModal + vbDefaultButton1, _ "Range does not exist" PasteRecSetExcel = False Else 'Load Data into Excel Set wksUpl = appXcel.Worksheets(strSheetName) If strWSRange = "" Then 'if range name exists use different paste method If blPaste = True Then 'true means find first empty cell before pasting the recordset y = appXcel.WorksheetFunction.CountA(wksUpl.Range("A:A")) wksUpl.Cells(y + 1, 1).CopyFromRecordset rstData Else 'false means clear th sheet and paste the new data beginning in A2 wksUpl.Range("A2:IV65536").ClearContents wksUpl.Range("A2").CopyFromRecordset rstData End If Else wksUpl.Range(strWSRange).ClearContents wksUpl.Range(strWSRange).CopyFromRecordset rstData End If PasteRecSetExcel = True End If PROC_EXIT: If (rstData Is Nothing) = False Then Set rstData = Nothing If (wksUpl Is Nothing) = False Then Set wksUpl = Nothing Exit Function PROC_ERR: PasteRecSetExcel = False If Err.Number = 1004 Then MsgBox "UseExcel.Class Error: Range " & strWSRange & " does not exist.", , _ "PasteRecSetExcel Method" Else MsgBox "UseExcel.Class Error: " & Err.Number & ". " & Err.Description, , _ "PasteRecSetExcel Method" End If Resume PROC_EXIT End Function *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From prodevmg at yahoo.com Fri Nov 11 05:03:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 11 Nov 2005 03:03:28 -0800 (PST) Subject: [AccessD] Access data to Excel Chart In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD82F@corp-es01.fleetpride.com> Message-ID: <20051111110328.40241.qmail@web33113.mail.mud.yahoo.com> I think it is two and three of your questions below. I will clean up the code and mail it this afternoon. Thanks Jim. "Hale, Jim" wrote:Ok, then you need solution three. I do similar things where I create multiple budget books at a time selected from a menu. How much of the code do you have written? Is the real question how best to structure the process or is it how to write the code to create multiple workbooks from different recordsets or is it you have an Excel instance stuck in memory that is giving your code problems? Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, November 09, 2005 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access data to Excel Chart Thanks, The actual application is a process where the user can select one or more clients from a listbox. An excel workbook would then be created for EACH client with four different graphs in each workbook. "Hale, Jim" wrote: Lonnie, The fastest, easiest way to do this is from within Excel. When you create the pivot table when it asks for the data source select "external data source." You can then navigate to your mdb and select the query you want to run. When it comes time to update the data simply hit refresh from the data menu in Excel. This solution means the user runs it from Excel and doesn't need to know anything about Access. If it is used on multiple machines the mdb has to be available to them and the connection to the mdb should use the network path. Also, if your query uses parameters or function calls it will not work. The way around this is to use sub queries to provide the criteria. The second easiest way is to create your pivot table and chart and then use the "analyze it with excel" selection on the toolbar to dump the results to Excel. You then cut and paste into your spreadsheet and refresh the pivot table from the data menu. This is fast but manual. The third way is to fully automate the process. To do this create the pivot table and chart and store it as an Excel template without data. Then open the Excel sheet using automation and paste the query results into the spreadsheet. This is the best solution for the long term but of course requires development time. Assuming you have already opened an Excel instance AppXcel the following function can be used to paste recordsets into the named worksheet: (this is from a class I created to move data to Excel) Jim Hale Public Function PasteRecSetExcel(strSheetName As String, _ rstData As Recordset, Optional blPaste As Boolean = False, Optional strWSRange As String) As Boolean *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Gustav at cactus.dk Fri Nov 11 10:50:22 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 11 Nov 2005 17:50:22 +0100 Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) Message-ID: Hi all Anyone having experience with this? http://www.enterprisedb.com/ Though you have to dig a little to find that info, it is totally free to use whatever size your database would be. However, they recommend buying support for database setups exceeding the capacity of those of Oracle's and MS's "Express" editions. /gustav From accessd at shaw.ca Fri Nov 11 11:05:29 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 09:05:29 -0800 Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) In-Reply-To: Message-ID: <002601c5e6e2$1e927800$017ba8c0@xpserver> Hi Gustav: It looks very interesting. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, November 11, 2005 8:50 AM To: accessd at databaseadvisors.com Subject: [AccessD] EnterpriseDB (PostgreSQL enhanced) Hi all Anyone having experience with this? http://www.enterprisedb.com/ Though you have to dig a little to find that info, it is totally free to use whatever size your database would be. However, they recommend buying support for database setups exceeding the capacity of those of Oracle's and MS's "Express" editions. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Nov 11 11:49:36 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 12:49:36 -0500 Subject: [AccessD] Duplex printing question. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF27C@ADGSERVER> I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby From jwcolby at ColbyConsulting.com Fri Nov 11 11:56:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 11 Nov 2005 12:56:26 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF27C@ADGSERVER> Message-ID: <00c701c5e6e9$3cb6d270$667aa8c0@ColbyM6805> So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 12:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 11 12:09:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 12:09:43 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <9734270.1131732089603.JavaMail.root@sniper15> Message-ID: <000001c5e6eb$1816af10$0200a8c0@danwaters> Well - I've tried that. I just see the back of the first page! Dan Waters ;-) Wait - if I scrolled up first maybe that would help?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 11:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 12:50 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Nov 11 12:32:34 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 11 Nov 2005 13:32:34 -0500 Subject: [AccessD] Duplex printing question. References: <000001c5e6eb$1816af10$0200a8c0@danwaters> Message-ID: <007401c5e6ee$488974e0$6101a8c0@JISREGISTRATION.local> ...shakes head ...checks calendar ...ok, its Friday :) William ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 11, 2005 1:09 PM Subject: Re: [AccessD] Duplex printing question. > Well - I've tried that. > > I just see the back of the first page! > > Dan Waters > ;-) > > Wait - if I scrolled up first maybe that would help?? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Friday, November 11, 2005 11:56 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Duplex printing question. > > So what does happen when you view a report in duplex? Do you have to go > around behind your monitor to see the other side? > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Friday, November 11, 2005 12:50 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Duplex printing question. > > > I looked in the archives and Google, but did not find what I was looking > for. > > In designing and testing of reports, I will click on file/print to print > the > report. To save paper, I generally will go to options (on the print > dialog) > and tell it to print double-sided. Many times, this value will stick on > the > report. If I do not remember later to go and change this back to > non-duplex, it prints that way by default. > > In researching this, I saw some things that allowed you to change various > printer values, but the implication was that these changes were actually > changing the values in the design of the report. We distribute MDEs for > our > application. > > Is there some method that can be used in an MDE that will, upon opening > the > report, change the report to print in simplex (I think that's the right > word) mode? The user would be free to change that in their options when > they go to print. I just want to make sure that duplex is off when > previewing it or printing it directly. > > Thanks, > Bobby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Fri Nov 11 12:37:26 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 13:37:26 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CD48E8@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF280@ADGSERVER> LOL. Ya'll need a 21" LCD monitor to be able to see page 2 from the back of the monitor. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 1:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Well - I've tried that. I just see the back of the first page! Dan Waters ;-) Wait - if I scrolled up first maybe that would help?? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 11:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. So what does happen when you view a report in duplex? Do you have to go around behind your monitor to see the other side? ;-) John W. Colby From Jim.Hale at FleetPride.com Fri Nov 11 13:10:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 11 Nov 2005 13:10:01 -0600 Subject: [AccessD] Trigger help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD83E@corp-es01.fleetpride.com> Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DElam at jenkens.com Fri Nov 11 13:27:06 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 11 Nov 2005 13:27:06 -0600 Subject: [AccessD] Trigger help Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492D063@natexch.jenkens.com> Perhaps the remainder could give you the result you needed. It is called a modulo in SQL. If the remainder of the identity divided by 10 is less than 5, then use the record for the second process. Debbie -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Friday, November 11, 2005 1:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From bheid at appdevgrp.com Fri Nov 11 13:36:51 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 11 Nov 2005 14:36:51 -0500 Subject: [AccessD] Trigger help In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CD48FE@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF281@ADGSERVER> First of all, do you mean the 1st 60% of the records? Last 60%, etc? I think I would capture all of the events for the day and have a nightly SPROC that goes through and processes the particular 60% that you wanted. Maybe store a random number in an extra field and when you go to process it, sort the table by the random number and count the number of records and then take the top 60% of them and write them out to the event table. If you have a very high volume, this may not be a good way. A lot really depends on which 50% of the records you want. Like in your example, you could write 6, skip 4, write 6, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, November 11, 2005 2:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale From Jim.Hale at FleetPride.com Fri Nov 11 14:03:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 11 Nov 2005 14:03:53 -0600 Subject: [AccessD] Trigger help Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD840@corp-es01.fleetpride.com> The object is to not process 40% of the records at all. They do not need a random sample so the first 6 of each 10 would suffice. The volume is so high the client wants to skip doing anything with 40% of the universe of possible records. 60% is an adequate sample for what they need. In SQL Server how does one identify a record before it is written to the database and determine if it is the 2nd or 9th record? Something analgous to running a counter function in the before update event of an Access table Jim Hale -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Friday, November 11, 2005 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Trigger help First of all, do you mean the 1st 60% of the records? Last 60%, etc? I think I would capture all of the events for the day and have a nightly SPROC that goes through and processes the particular 60% that you wanted. Maybe store a random number in an extra field and when you go to process it, sort the table by the random number and count the number of records and then take the top 60% of them and write them out to the event table. If you have a very high volume, this may not be a good way. A lot really depends on which 50% of the records you want. Like in your example, you could write 6, skip 4, write 6, etc. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, November 11, 2005 2:10 PM To: 'Accessd (E-mail) Subject: [AccessD] Trigger help Assume a large SQL Server database where actions by many employees can be captured. Assume you only want to capture (ie write to the datasbase) 60% of the events. Of course you don't know the total number of events that will occur during the day so the best thing to do is write the first 6 of every ten. I've not used SQL server so I'm not sure the proper way to count the hits (candidate records) and write six and discard four. What is the efficient way to do this in SQL server? TIA Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Fri Nov 11 14:35:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 14:35:43 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <5305830.1131731653899.JavaMail.root@sniper23> Message-ID: <000201c5e6ff$7d834110$0200a8c0@danwaters> Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Nov 11 15:09:53 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 11 Nov 2005 16:09:53 -0500 Subject: [AccessD] Duplex printing question. In-Reply-To: <000201c5e6ff$7d834110$0200a8c0@danwaters> Message-ID: <00d001c5e704$43df72d0$667aa8c0@ColbyM6805> Unfortunately not me. I know that this stuff is way easier in Office XP (I think) where you suddenly get a printer object. I have never spent much time looking at this though so no help here. Plus, I try to not to do Duplex printing. Every time I go around behind my monitor to look at the other side of the report I get all tangled up in the cables and spend an hour cleaning. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Fri Nov 11 15:35:35 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 11 Nov 2005 15:35:35 -0600 Subject: [AccessD] R-base Message-ID: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From dmcafee at pacbell.net Fri Nov 11 15:44:54 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Fri, 11 Nov 2005 13:44:54 -0800 (PST) Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <20051111214454.88944.qmail@web80810.mail.yahoo.com> Rbase to Acess was my first upsizing experience :) Rbase was actually a great product for its time. You'll need to be able to get into the rbase gateway editor to extract the data using SELECT statements. Once you have the tables extracted to text files, you can import the files into access. PS, have you tried ALt+Enter while in rbase? David --- Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS > system? Unsure if it is > a product or one-time custom built thing. > > We have client using our Access-based system, but > they've been holding > out on converting their R-Base data. That is, until > now, as it appears > to have broke. The screens minimized themselves to > about an inch or two > tall, and they are unable to maximize. What ever > caused this also caused > the screens not to be able to print. > > Thanks in advance! > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Nov 11 15:57:31 2005 From: john at winhaven.net (John Bartow) Date: Fri, 11 Nov 2005 15:57:31 -0600 Subject: [AccessD] R-base In-Reply-To: <20051111214454.88944.qmail@web80810.mail.yahoo.com> Message-ID: <001d01c5e70a$ea595760$6401a8c0@ScuzzPaq> Hi David, Did you get involved with any of the government stuff that was in R:Base? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Mcafee Sent: Friday, November 11, 2005 3:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] R-base Rbase to Acess was my first upsizing experience :) Rbase was actually a great product for its time. You'll need to be able to get into the rbase gateway editor to extract the data using SELECT statements. Once you have the tables extracted to text files, you can import the files into access. PS, have you tried ALt+Enter while in rbase? David --- Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS system? Unsure if it > is a product or one-time custom built thing. > > We have client using our Access-based system, but they've been holding > out on converting their R-Base data. That is, until now, as it > appears to have broke. The screens minimized themselves to about an > inch or two tall, and they are unable to maximize. What ever caused > this also caused the screens not to be able to print. > > Thanks in advance! > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Nov 11 15:57:31 2005 From: john at winhaven.net (John Bartow) Date: Fri, 11 Nov 2005 15:57:31 -0600 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <001e01c5e70a$eb0c2ca0$6401a8c0@ScuzzPaq> Which version is it? I worked a lot in R:Base for DOS System V. I still have it and R:Base for Windows 6.1 I used migrate data from R:Base into Access on a regular basis. Let me know if I can help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Friday, November 11, 2005 3:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] R-base Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Nov 11 16:03:44 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 12 Nov 2005 01:03:44 +0300 Subject: [AccessD] Duplex printing question. References: <00d001c5e704$43df72d0$667aa8c0@ColbyM6805> Message-ID: <005901c5e70b$d06c4460$6401a8c0@fincomplex.spb.ru> <<< Every time I go around behind my > monitor to look at the other side of the report I get all tangled up in the > cables and spend an hour cleaning. >>> LOL :) Next time put a mirror behind your monitor to look a the other side of the report! It's Saturday here already... :) Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 12, 2005 12:09 AM Subject: Re: [AccessD] Duplex printing question. > Unfortunately not me. I know that this stuff is way easier in Office XP (I > think) where you suddenly get a printer object. I have never spent much > time looking at this though so no help here. > > Plus, I try to not to do Duplex printing. Every time I go around behind my > monitor to look at the other side of the report I get all tangled up in the > cables and spend an hour cleaning. > > John W. Colby > www.ColbyConsulting.com > <<< tail skipped>>> From dwaters at usinternet.com Fri Nov 11 15:59:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 11 Nov 2005 15:59:41 -0600 Subject: [AccessD] Duplex printing question. In-Reply-To: <997627.1131742747906.JavaMail.root@sniper21> Message-ID: <000001c5e70b$384a3110$0200a8c0@danwaters> An hour? Ok - I won't ask . . . Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, November 11, 2005 3:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Unfortunately not me. I know that this stuff is way easier in Office XP (I think) where you suddenly get a printer object. I have never spent much time looking at this though so no help here. Plus, I try to not to do Duplex printing. Every time I go around behind my monitor to look at the other side of the report I get all tangled up in the cables and spend an hour cleaning. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, November 11, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Duplex printing question. Bobby - Since all I gave was a smart-'aleck' answer, I'll try to do better. I'm going to take a guess that you might need to resort to using API's to change the print settings on the PC, which I presume could be done using an MDE. Once the printing is done, you can change back to what the settings were to begin with. But - I don't know where to direct you to get help with the correct API's. Perhaps someone else on this list knows that. Maybe John Colby . . . . . . ??? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, November 11, 2005 11:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Duplex printing question. I looked in the archives and Google, but did not find what I was looking for. In designing and testing of reports, I will click on file/print to print the report. To save paper, I generally will go to options (on the print dialog) and tell it to print double-sided. Many times, this value will stick on the report. If I do not remember later to go and change this back to non-duplex, it prints that way by default. In researching this, I saw some things that allowed you to change various printer values, but the implication was that these changes were actually changing the values in the design of the report. We distribute MDEs for our application. Is there some method that can be used in an MDE that will, upon opening the report, change the report to print in simplex (I think that's the right word) mode? The user would be free to change that in their options when they go to print. I just want to make sure that duplex is off when previewing it or printing it directly. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 11 18:06:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 16:06:21 -0800 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <004101c5e71c$ea1ac290$017ba8c0@xpserver> Hi Steve: I played with it about twenty years ago. It was one of the first relational(?) multi-user PC databases and was ported from a main-frame product used Boeing company out of Seattle. I understand it was used up at our local university as an instructional tool. I had a copy for a while but it was too slow...running on a 128K PC box. I have heard nothing about the application since then. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Friday, November 11, 2005 1:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] R-base Anyone have experience with R-Base, an old DOS system? Unsure if it is a product or one-time custom built thing. We have client using our Access-based system, but they've been holding out on converting their R-Base data. That is, until now, as it appears to have broke. The screens minimized themselves to about an inch or two tall, and they are unable to maximize. What ever caused this also caused the screens not to be able to print. Thanks in advance! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Nov 11 19:16:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 11 Nov 2005 17:16:39 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: Message-ID: <000301c5e726$bbd66290$017ba8c0@xpserver> OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. Jim From papparuff at comcast.net Fri Nov 11 19:31:08 2005 From: papparuff at comcast.net (John Ruff) Date: Fri, 11 Nov 2005 17:31:08 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: <000301c5e726$bbd66290$017ba8c0@xpserver> Message-ID: <001101c5e728$c5599e20$6501a8c0@DDMJWX41> connectionString = "Provider=SQLOLEDB.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=CommonTables; Data Source=MONSTER This connects to a SQL Server 2000 called Monster and the table CommonTables By the way, there is a relatively easy way of capturing a connection string for any SQL Server DB. 1. Create a blank text file (FindSQL.txt for example). 2. Change its extension to .udl (FindSQL.udl) 3. Open the .udl file and follow the Wizard to connect to the SQL Server of your choice. 4. After completing the Wizard, close the file and change its extension back to .txt (FindSQL.txt) 5. Open the FindSQL.txt file again and you will find that the 2nd line has your connection string all ready for you to cut and paste into your code. Enjoy, John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, November 11, 2005 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Accessing a SQL DB OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. Jim -- 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 Nov 11 19:33:16 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 12 Nov 2005 11:33:16 +1000 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <4375D2FC.22714.7D2019C@stuart.lexacorp.com.pg> On 11 Nov 2005 at 15:35, Steve Capistrant wrote: > Anyone have experience with R-Base, an old DOS system? Unsure if it is > a product or one-time custom built thing. > > We have client using our Access-based system, but they've been holding > out on converting their R-Base data. That is, until now, as it appears > to have broke. The screens minimized themselves to about an inch or two > tall, and they are unable to maximize. What ever caused this also caused > the screens not to be able to print. > Never worked with it myself, but here's a couple of llinks that will tell you a fair bit about it, including it's history. http://www.razzak.com/fte/ http://www.rbase.com/ -- Stuart From artful at rogers.com Fri Nov 11 20:32:29 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 11 Nov 2005 21:32:29 -0500 Subject: [AccessD] Print to PDF In-Reply-To: Message-ID: <200511120232.jAC2WRJ01038@databaseadvisors.com> I have had great success with a thing called PDFMailClass, which apparently has problems with the latest Acrobat, but it does have features such as printing several Access reports into a single PDF file. This feature was enormously beneficial on a gig I had recently, where upon purchase, we had to email the client about 5-7 reports all in a single PDF. The company that makes it is called Attac Consulting, as I recall. There may be other solutions available now, but that one worked well for me. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: November 10, 2005 8:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] Print to PDF I have 75 separate reports that I want to print to file in PDF. Right now I am manually setting the default printer to my PDF driver and it prints them. Is there a way to set the default printer in code? I would like to set it at the beginning and then unset it at the end. Also, every time I print a report, Adobe opens up. I would like to prevent that. Any help would be greatly appreciated. TIA. Susan Klos From accessd at shaw.ca Sat Nov 12 03:25:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 12 Nov 2005 01:25:13 -0800 Subject: [AccessD] Accessing a SQL DB In-Reply-To: <001101c5e728$c5599e20$6501a8c0@DDMJWX41> Message-ID: <003301c5e76a$fcc31480$017ba8c0@xpserver> Hi John: Thanks you for all your information. I will test it out right away. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff Sent: Friday, November 11, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Accessing a SQL DB connectionString = "Provider=SQLOLEDB.1; Integrated Security=SSPI; Persist Security Info=False; Initial Catalog=CommonTables; Data Source=MONSTER This connects to a SQL Server 2000 called Monster and the table CommonTables By the way, there is a relatively easy way of capturing a connection string for any SQL Server DB. 1. Create a blank text file (FindSQL.txt for example). 2. Change its extension to .udl (FindSQL.udl) 3. Open the .udl file and follow the Wizard to connect to the SQL Server of your choice. 4. After completing the Wizard, close the file and change its extension back to .txt (FindSQL.txt) 5. Open the FindSQL.txt file again and you will find that the 2nd line has your connection string all ready for you to cut and paste into your code. Enjoy, John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, November 11, 2005 5:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Accessing a SQL DB OT: Hi All: This is a little off topic but has anyone had experience connecting to a full MS SQL DB from a beta version of Visual Studio 2003? I am currently working with an ASP project and just can not get the program to recognize the MS SQL server. It is local but I just can not get the correct connection string sequence. This is a connection string used to connect to an MS SQL Express DB: connectionString="Data Source=.\SQLExpress;Integrated Security=True; UserInstance=True; MyDBFilename=|DataDirectory|mydbfilename.mdf" providerName="System.Data.SqlClient" The above connects fine. I can even view the 'Express' server in the 'Server Explorer' but the scan ignores the MS SQL 2000. It is definitely there as other applications have no difficulty see and connecting to it. Below is one of the many connection string combinations that I have tried. connectionString="Provider=sqloledb; Data Source=xpserver; Initial Catalog=pubs; Integrated Security=SSPI;" Or The above was modeled from proven strings and from samples at http://www.connectionstrings.com/ Any comments of assistance would be greatly appreciated. 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 wdhindman at bellsouth.net Sat Nov 12 11:03:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 12 Nov 2005 12:03:20 -0500 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver> Message-ID: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> ...is there any way to make Access (A2K3) use the Windows System Colors? ...AND when the user changes the System Colors ...in Windows ...make an Access form color follow the changes? ...references, samples, code, suggestions ...any and all appreciated. William From bgeldart at verizon.net Sat Nov 12 09:49:17 2005 From: bgeldart at verizon.net (Bob Geldart) Date: Sat, 12 Nov 2005 10:49:17 -0500 Subject: [AccessD] R-base In-Reply-To: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.loca l> References: <855499653F55AD4190B242717DF132BC10BC05@dewey.Symphony.local> Message-ID: <6.2.1.2.0.20051112104047.020ea7c8@incoming.verizon.net> Steve, I worked with R:Base for DOS for a few years back in the mid-80s. My first real experience with relational dbs. I loved it, and (I think) I built some pretty good programs. Rewrote them in Access before Y2K. I loved R:Base. Didn't really get into the later versions (v3, 5, 6) much, but R:Base for DOS like QuickBasic--simple to read and follow but able to build fairly complex dbs. I don't think I can help you with your specific problem, as I haven't done serious R:Base programming for 15 years or so. However, when I retired last year, I took the full set of R:Base for DOS manuals. If you can use them you're welcome to them as I no longer need them. Bob At 11/11/2005 04:35 PM, you wrote: >Anyone have experience with R-Base, an old DOS system? Unsure if it is >a product or one-time custom built thing. > >We have client using our Access-based system, but they've been holding >out on converting their R-Base data. That is, until now, as it appears >to have broke. The screens minimized themselves to about an inch or two >tall, and they are unable to maximize. What ever caused this also caused >the screens not to be able to print. > >Thanks in advance! > >Steve Capistrant >scapistrant at symphonyinfo.com >Symphony Information Services >7308 Aspen Lane North, Suite 132 >Brooklyn Park, MN 55428 >763-391-7400 >www.symphonyinfo.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Bob Geldart BGeldart at verizon.net Maynard, MA From martyconnelly at shaw.ca Sat Nov 12 11:51:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 12 Nov 2005 09:51:58 -0800 Subject: [AccessD] Accessing a SQL DB References: <003301c5e76a$fcc31480$017ba8c0@xpserver> Message-ID: <43762BBE.2070504@shaw.ca> Here is Carl Prothman's site that recently moved. It has samples of many database OLEDB and .Net Providers , ODBC Driver Connection strings along with a series of ADO and ADOX FAQ's http://www.carlprothman.net/ One other trick I use is to check the connection is open right after opening Dim cnn As ADODB.Connection Set cnn = New ADODB.Connection with .cnn ....... etc .Open End With 'Make sure the connection opened: If Not CBool(cnn.State AND adStateOpen) Then 'Could not open the connection: MsgBox "Could not open connection..." Else 'Process data as usual here... End If The Connection object supports several descriptive values: adStateClosed, adStateOpen, adStateConnecting, adStateExecuting, and adStateFetching. Each constant represents a number, but you really don't care about the numeric value. What's important is that two expressions, evaluated with the AND operator, return True if the values are the same and False if they're different. Jim Lawrence wrote: >Hi John: > >Thanks you for all your information. I will test it out right away. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Ruff >Sent: Friday, November 11, 2005 5:31 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Accessing a SQL DB > >connectionString = "Provider=SQLOLEDB.1; > Integrated Security=SSPI; > Persist Security Info=False; > Initial Catalog=CommonTables; > Data Source=MONSTER > >This connects to a SQL Server 2000 called Monster and the table CommonTables > >By the way, there is a relatively easy way of capturing a connection string >for any SQL Server DB. > >1. Create a blank text file (FindSQL.txt for example). >2. Change its extension to .udl (FindSQL.udl) >3. Open the .udl file and follow the Wizard to connect to the SQL Server of >your choice. >4. After completing the Wizard, close the file and change its extension back >to .txt (FindSQL.txt) >5. Open the FindSQL.txt file again and you will find that the 2nd line has >your connection string all ready for you to cut and paste into your code. > >Enjoy, > > >John V. Ruff - The Eternal Optimist :-) > >"Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >Sent: Friday, November 11, 2005 5:17 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Accessing a SQL DB > >OT: > >Hi All: > >This is a little off topic but has anyone had experience connecting to a >full MS SQL DB from a beta version of Visual Studio 2003? > >I am currently working with an ASP project and just can not get the program >to recognize the MS SQL server. It is local but I just can not get the >correct connection string sequence. > >This is a connection string used to connect to an MS SQL Express DB: >connectionString="Data Source=.\SQLExpress;Integrated > Security=True; > UserInstance=True; > MyDBFilename=|DataDirectory|mydbfilename.mdf" >providerName="System.Data.SqlClient" > >The above connects fine. I can even view the 'Express' server in the 'Server >Explorer' but the scan ignores the MS SQL 2000. It is definitely there as >other applications have no difficulty see and connecting to it. > >Below is one of the many connection string combinations that I have tried. > >connectionString="Provider=sqloledb; > Data Source=xpserver; > Initial Catalog=pubs; > Integrated Security=SSPI;" > >Or > >The above was modeled from proven strings and from samples at >http://www.connectionstrings.com/ > > >Any comments of assistance would be greatly appreciated. >Jim > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Nov 12 12:13:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 12 Nov 2005 10:13:55 -0800 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver> <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <437630E3.4050401@shaw.ca> Maybe look up themes in Access help It should change to the Windows XP Style If you have the "Use Windows Themed Controls on Forms" check box checked in Options--> Forms & Reports If the operating system is Microsoft Windows XP SP 1 or later, and you have chosen a theme other than Windows Classic, Access will inherit the theme from the operating system. Most of the views, controls (control: A graphical user interface object, such as a text box, check box, scroll bar, or command button, that lets users control the program. You use controls to display data or choices, perform an action, or make the user interface easier to read.), and dialog boxes will be customized to match the Windows theme William Hindman wrote: >...is there any way to make Access (A2K3) use the Windows System Colors? >...AND when the user changes the System Colors ...in Windows ...make an >Access form color follow the changes? > >...references, samples, code, suggestions ...any and all appreciated. > >William > > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Sat Nov 12 13:00:43 2005 From: john at winhaven.net (John Bartow) Date: Sat, 12 Nov 2005 13:00:43 -0600 Subject: [AccessD] System Colors In-Reply-To: <437630E3.4050401@shaw.ca> Message-ID: <00fa01c5e7bb$6288cbc0$6401a8c0@ScuzzPaq> "Access Help"... That was a good one ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Maybe look up themes in Access help From john at winhaven.net Sat Nov 12 13:00:43 2005 From: john at winhaven.net (John Bartow) Date: Sat, 12 Nov 2005 13:00:43 -0600 Subject: [AccessD] System Colors In-Reply-To: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <00fb01c5e7bb$63322b20$6401a8c0@ScuzzPaq> Here are some links that should help out: http://www.peterssoftware.com/sysclrs.htm http://vb.mvps.org/hardcore/html/systemcolorssizes.htm HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 12, 2005 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] System Colors ...is there any way to make Access (A2K3) use the Windows System Colors? ...AND when the user changes the System Colors ...in Windows ...make an Access form color follow the changes? ...references, samples, code, suggestions ...any and all appreciated. William -- 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 Nov 12 16:08:51 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 13 Nov 2005 08:08:51 +1000 Subject: [AccessD] System Colors In-Reply-To: <00fb01c5e7bb$63322b20$6401a8c0@ScuzzPaq> References: <000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> Message-ID: <4376F493.12735.C3D2563@stuart.lexacorp.com.pg> On 12 Nov 2005 at 13:00, John Bartow wrote: > Here are some links that should help out: > http://www.peterssoftware.com/sysclrs.htm The download available here (sc.zip) is very useful - it lets you see and copy/paste the system colour values. -- Stuart From wdhindman at bellsouth.net Sat Nov 12 17:49:07 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 12 Nov 2005 18:49:07 -0500 Subject: [AccessD] System Colors References: <003301c5e76a$fcc31480$017ba8c0@xpserver><000601c5e7aa$fd3a9a60$6101a8c0@JISREGISTRATION.local> <437630E3.4050401@shaw.ca> Message-ID: <001d01c5e7e3$f32afb80$6101a8c0@JISREGISTRATION.local> ...are you suggesting there's actually something there a person can find without losing more snatches of hair than they can rightly afford to part with? :))) ...thanks to all who responded ...actually John put me on to what I was really after ...how to feed those colors to API calls that expect RGB values ...now if I can only decipher it :) ...been beatin' my head most of today trying to get a treeview node to call an application.quit ...did I mention lately that I hate microsoft :) William ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Saturday, November 12, 2005 1:13 PM Subject: Re: [AccessD] System Colors > Maybe look up themes in Access help > It should change to the Windows XP Style If you have the "Use Windows > Themed Controls on > Forms" check box checked in Options--> Forms & Reports > > If the operating system is Microsoft Windows XP SP 1 or later, and you > have > chosen a theme other than Windows Classic, Access will inherit the theme > from the operating system. Most of the views, controls (control: A > graphical > user interface object, such as a text box, check box, scroll bar, or > command > button, that lets users control the program. You use controls to display > data or choices, perform an action, or make the user interface easier to > read.), and dialog boxes will be customized to match the Windows theme > > William Hindman wrote: > >>...is there any way to make Access (A2K3) use the Windows System Colors? >>...AND when the user changes the System Colors ...in Windows ...make an >>Access form color follow the changes? >> >>...references, samples, code, suggestions ...any and all appreciated. >> >>William >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kimjwiggins at yahoo.com Sat Nov 12 21:50:32 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Sat, 12 Nov 2005 19:50:32 -0800 (PST) Subject: [AccessD] Date picker Message-ID: <20051113035032.53617.qmail@web53603.mail.yahoo.com> Hi all, Can someone tell me of a way to make the date in the date picker null and then allow me to chose the date that I want to pick? I want all the dates to be blank and then I chose the date from the calendar. I have been trying to work on this and I can make it blank but then it does not allow me to choose a date from the calender. It has become very frustrating. Thanks Kim --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From iggy at nanaimo.ark.com Sun Nov 13 10:24:03 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 08:24:03 -0800 Subject: [AccessD] Trap for Error Message-ID: <437768A3.5080300@nanaimo.ark.com> Hey All Does anyone know how to trap for the error message "The text is too long to be edited", when someone trys to paste text, into a field, that exceeds the maximum characters for that field. I would just like to change the message to something a little more informative for the user, like "The text is too long maximum characters allowed 75" From andy at minstersystems.co.uk Sun Nov 13 12:33:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 13 Nov 2005 18:33:28 -0000 Subject: [AccessD] Trap for Error In-Reply-To: <437768A3.5080300@nanaimo.ark.com> Message-ID: <009a01c5e880$bd97fe80$57b50c54@minster33c3r25> Hi Tony Rather than trap the error why not validate it yourself in the field's BeforeUpdate event? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav > Sent: 13 November 2005 16:24 > To: accessd at databaseadvisors.com > Subject: [AccessD] Trap for Error > > > Hey All > Does anyone know how to trap for the error message "The text > is too long > to be edited", when someone trys to paste text, into a field, that > exceeds the maximum characters for that field. I would just like to > change the message to something a little more informative for > the user, > like "The text is too long maximum characters allowed 75" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Sun Nov 13 13:00:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Nov 2005 20:00:48 +0100 Subject: [AccessD] Cryptlib for encryption/decrypting/signing Message-ID: Hi all This site of Peter Gutmann contains much info and links for en-/decrypting: http://www.cs.auckland.ac.nz/~pgut001 One link is for Cryptlib, a library with interfaces to many programming languages: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ containing all sorts of functions, also for S/MIME signing and encryption of e-mail. There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. Nevertheless, much info on the topic is available here. /gustav From iggy at nanaimo.ark.com Sun Nov 13 13:00:51 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 11:00:51 -0800 Subject: [AccessD] Trap for Error Message-ID: <43778D63.60305@nanaimo.ark.com> Hey Andy The problem is the message fires and the data never gets added to the field, so as far as I can tell there is no BeforeUpdate event occurring. I think this is a system message. From martyconnelly at shaw.ca Sun Nov 13 13:11:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 13 Nov 2005 11:11:10 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing References: Message-ID: <43778FCE.3090108@shaw.ca> You'll need to use constants in Access 97. Enum was added in Access 2000. Gustav Brock wrote: >Hi all > >This site of Peter Gutmann contains much info and links for en-/decrypting: > > http://www.cs.auckland.ac.nz/~pgut001 > >One link is for Cryptlib, a library with interfaces to many programming languages: > > http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ > >containing all sorts of functions, also for S/MIME signing and encryption of e-mail. > >There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. >Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. > >Nevertheless, much info on the topic is available here. > >/gustav > > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Sun Nov 13 13:30:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Nov 2005 11:30:38 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: Message-ID: <006101c5e888$ba7a7130$017ba8c0@xpserver> Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, November 13, 2005 11:01 AM To: accessd at databaseadvisors.com Subject: [AccessD] Cryptlib for encryption/decrypting/signing Hi all This site of Peter Gutmann contains much info and links for en-/decrypting: http://www.cs.auckland.ac.nz/~pgut001 One link is for Cryptlib, a library with interfaces to many programming languages: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/ containing all sorts of functions, also for S/MIME signing and encryption of e-mail. There's a link for an ActiveX implementation too, but unfortunately this seems not be maintained any more. Thus, for VB(A) the only library left is the VB6 bas module. Unfortunately this makes heavy use of Enum which - as far as I know - is not supported in VBA so a lot of rewriting would be needed. Nevertheless, much info on the topic is available here. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Nov 13 13:34:08 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 13 Nov 2005 20:34:08 +0100 Subject: [AccessD] Cryptlib for encryption/decrypting/signing Message-ID: Hi Marty Right you are. Then for A2000 and above this is a copy/paste into a new module. One line must be commented out, that's it. Thanks! /gustav >>> martyconnelly at shaw.ca 13-11-2005 20:11 >>> You'll need to use constants in Access 97. Enum was added in Access 2000. From martyconnelly at shaw.ca Sun Nov 13 13:57:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 13 Nov 2005 11:57:42 -0800 Subject: [AccessD] Trap for Error References: <437768A3.5080300@nanaimo.ark.com> Message-ID: <43779AB6.5050103@shaw.ca> Just find which event is firing the error Before Update, Enter etc then add something like below Sub BeforeUpdateevent() On Error GoTo Err_btnSave ' ' Exit_btnSave_Click: Exit Sub Err_btnSave_Click: If Err.Number =2221 then MsgBox "You are being too verbose, use less than 75 characters" else MsgBox "Error in Before Update" & " " & Err.Description & Err.Number end if Resume Exit_btnSave_Click End Sub Tony Septav wrote: >Hey All >Does anyone know how to trap for the error message "The text is too long >to be edited", when someone trys to paste text, into a field, that >exceeds the maximum characters for that field. I would just like to >change the message to something a little more informative for the user, >like "The text is too long maximum characters allowed 75" > > -- Marty Connelly Victoria, B.C. Canada From iggy at nanaimo.ark.com Sun Nov 13 14:45:33 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sun, 13 Nov 2005 12:45:33 -0800 Subject: [AccessD] Trap for Error Message-ID: <4377A5ED.6050206@nanaimo.ark.com> Hey All Thanks for your responses. That is what I was inquring about, the error message does not seem to be fired by any control event (but I will try them all again, I may have missed something), but rather during the process of pressing Ctrl V to paste the text into the textbox. Anyway onwards and upwards, thanks again. From artful at rogers.com Sun Nov 13 21:41:36 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 13 Nov 2005 22:41:36 -0500 Subject: [AccessD] System Colors In-Reply-To: <001d01c5e7e3$f32afb80$6101a8c0@JISREGISTRATION.local> Message-ID: <200511140341.jAE3fXJ30661@databaseadvisors.com> I don't think that a treeview node should call Application.Quit, even if you do figure out a way to do it. Instead tie that event to the OnClose method of the form, IMO. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: November 12, 2005 6:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] System Colors ...been beatin' my head most of today trying to get a treeview node to call an application.quit ...did I mention lately that I hate microsoft :) William From artful at rogers.com Sun Nov 13 21:47:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 13 Nov 2005 22:47:48 -0500 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: <006101c5e888$ba7a7130$017ba8c0@xpserver> Message-ID: <200511140347.jAE3lkJ32306@databaseadvisors.com> Personally, I would never venture to say that an encryption system has never been cracked, unless I worked for the NSA and/or the Mossad. And even then I would be reluctant. Bringing to mind a central theme of Neal Stephenson's Crytonomicon: given that you have a crack to the Nazi encryption scheme, if you suddenly prevent U-boats from sinking troop-and-transport ships, then they will know you have cracked the system -- therefore you must allow some ships to be sunk; and therefore, aside from the guilt factor, the salient question becomes -- how many ships can you save before the Nazis realize you're on to their scheme? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: November 13, 2005 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim From darsant at gmail.com Sun Nov 13 23:38:14 2005 From: darsant at gmail.com (Josh McFarlane) Date: Sun, 13 Nov 2005 23:38:14 -0600 Subject: [AccessD] Design Question Message-ID: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Hey guys got a quick question about design. I'm making a database for a non-profit service organization I'm working for. There's going to be membership data per person, however, at the same time the person may be a contact to an external organization for part of their projects, or it may be some completely unrelated person. Here's my question: Should I have only one table, called say People, or should I have two seperate tables of data: Members and Contacts? Option A would require intermediate tables linking anything to the people table, but Option B would maintain duplicate data for members that are also in external contact organizations. Any suggestions? Thanks! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Mon Nov 14 00:08:07 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 13 Nov 2005 22:08:07 -0800 Subject: [AccessD] Design Question References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> IIUC, then I would do two tables - Members and External Organizations with a linking table containing the PKs from both. That assumes that many Members could be contacts for the same External Organization and one External Organization can have many members as contacts. Rocky ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Sunday, November 13, 2005 9:38 PM Subject: [AccessD] Design Question > Hey guys got a quick question about design. > > I'm making a database for a non-profit service organization I'm > working for. There's going to be membership data per person, however, > at the same time the person may be a contact to an external > organization for part of their projects, or it may be some completely > unrelated person. > > Here's my question: > > Should I have only one table, called say People, or should I have two > seperate tables of data: Members and Contacts? > > Option A would require intermediate tables linking anything to the > people table, but Option B would maintain duplicate data for members > that are also in external contact organizations. > > Any suggestions? > > Thanks! > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon Nov 14 00:17:40 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 13 Nov 2005 22:17:40 -0800 Subject: [AccessD] Cryptlib for encryption/decrypting/signing In-Reply-To: <200511140347.jAE3lkJ32306@databaseadvisors.com> Message-ID: <006f01c5e8e3$1e3fe010$017ba8c0@xpserver> Arthur; that is quite true. The only thing that makes me think that the 'Blowfish' encryption algorithm has not been cracked yet is that the 'brag' has not be posted yet. Considering that the concept is open-source and totally viewable, it stands as an open challenge to anyone in the world and has remained so since 1993. When the DES encryption scheme was cracked the event spread around the world in days though its official demise had long been predicted. In today's world it is almost impossible to keep secrets... Officials spend most of their time putting a correct spin to an event rather than hiding it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, November 13, 2005 7:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Personally, I would never venture to say that an encryption system has never been cracked, unless I worked for the NSA and/or the Mossad. And even then I would be reluctant. Bringing to mind a central theme of Neal Stephenson's Crytonomicon: given that you have a crack to the Nazi encryption scheme, if you suddenly prevent U-boats from sinking troop-and-transport ships, then they will know you have cracked the system -- therefore you must allow some ships to be sunk; and therefore, aside from the guilt factor, the salient question becomes -- how many ships can you save before the Nazis realize you're on to their scheme? A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: November 13, 2005 2:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cryptlib for encryption/decrypting/signing Hi Gustav: This is very interesting. Have you looked at Blowfish the open-source encryption scheme? It does not have an export block on it like some versions of PGP (or a suspected American security back-door like AES and TwoFish) and has never been cracked even though everyone knows how it works, unlike DES (http://www.eff.org/Privacy/Crypto/Crypto_misc/DESCracker/): http://en.wikipedia.org/wiki/Blowfish_%28cipher%29 Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 00:21:24 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 00:21:24 -0600 Subject: [AccessD] Design Question In-Reply-To: <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> <01c001c5e8e1$c8a884a0$6501a8c0@HAL9004> Message-ID: <53c8e05a0511132221o5ed0adf2w6ce3b5a7c3302f27@mail.gmail.com> Basically yes. Our organization can have one or many members. External Organizations can have one or many contacts. A person may be a member, may be a contact, or may be both. On 11/14/05, Rocky Smolin - Beach Access Software wrote: > IIUC, then I would do two tables - Members and External Organizations with a > linking table containing the PKs from both. That assumes that many Members > could be contacts for the same External Organization and one External > Organization can have many members as contacts. > > Rocky > > ----- Original Message ----- > From: "Josh McFarlane" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, November 13, 2005 9:38 PM > Subject: [AccessD] Design Question > > > > Hey guys got a quick question about design. > > > > I'm making a database for a non-profit service organization I'm > > working for. There's going to be membership data per person, however, > > at the same time the person may be a contact to an external > > organization for part of their projects, or it may be some completely > > unrelated person. > > > > Here's my question: > > > > Should I have only one table, called say People, or should I have two > > seperate tables of data: Members and Contacts? > > > > Option A would require intermediate tables linking anything to the > > people table, but Option B would maintain duplicate data for members > > that are also in external contact organizations. > > > > Any suggestions? > > > > Thanks! > > -- > > Josh McFarlane > > > > "Peace cannot be kept by force. It can only be achieved by understanding." > > -Albert Einstein > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From wdhindman at bellsouth.net Mon Nov 14 06:33:24 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 14 Nov 2005 07:33:24 -0500 Subject: [AccessD] System Colors References: <200511140341.jAE3fXJ30661@databaseadvisors.com> Message-ID: <000301c5e917$9b076580$6101a8c0@JISREGISTRATION.local> ...thanks Arthur, but I figured it out ...another "duh" moment :) ...I used CallByName to pull a module function that properly closes any open forms first ...I need the treeview switchboard (tvsb) to work as a full blown switchboard ...after futzing around with many different approaches over the last couple of years, including both your's, Bryan's, and several other treeview switchboard samples, I could never find one that did what "I" wanted it to do ...most try to use the native MS switchboard table structure, or mods thereof, and its inherent limitations ...and I finally abandoned that and cobbled together some code and ideas that I' learned along the way ...I'm using a table structure that gives me both function calls and openargs as well as the image index in addition to the calls the normal MS switchboard provides ...one of the things that I learned early on is that a tvsb looks great but is inherently limited in its interaction with forms and reports other than opening them ...the native sb has that limitation as well but I know of no one trying to use it as I want to do ...I'm doing a port of a major legacy app for a client and I'm trying to incorporate the tvsb as its core nav component ...one main form with all other objects as subs or dialog calls ...not the easiest thing to code, at least for me, but so far I've managed to beat anything that's raised it's head. ...Bryan Carbonell wrote a great little treeview switchboard wizard that I'm going to port to my table structure once I get the bugs in it worked out ...and when/if I get most of the bugs worked out I'll post a sample of the front end for critique. William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Sunday, November 13, 2005 10:41 PM Subject: Re: [AccessD] System Colors >I don't think that a treeview node should call Application.Quit, even if >you > do figure out a way to do it. Instead tie that event to the OnClose method > of the form, IMO. > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: November 12, 2005 6:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] System Colors > > ...been beatin' my head most of today trying to get a treeview node to > call > an application.quit ...did I mention lately that I hate microsoft :) > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Mon Nov 14 06:53:51 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 14 Nov 2005 07:53:51 -0500 Subject: [AccessD] Design Question References: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <000701c5e91a$76dd4000$6101a8c0@JISREGISTRATION.local> ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 12:38 AM Subject: [AccessD] Design Question > Hey guys got a quick question about design. > > I'm making a database for a non-profit service organization I'm > working for. There's going to be membership data per person, however, > at the same time the person may be a contact to an external > organization for part of their projects, or it may be some completely > unrelated person. > > Here's my question: > > Should I have only one table, called say People, or should I have two > seperate tables of data: Members and Contacts? > > Option A would require intermediate tables linking anything to the > people table, but Option B would maintain duplicate data for members > that are also in external contact organizations. > > Any suggestions? > > Thanks! > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Nov 14 14:41:09 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Mon, 14 Nov 2005 14:41:09 (MET) Subject: [AccessD] date format Message-ID: <200511141341.jAEDf9GA017452@mailhostC.plex.net> Hello Group, i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? TIA Pedro Janssen From harkinsss at bellsouth.net Mon Nov 14 07:51:01 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Mon, 14 Nov 2005 08:51:01 -0500 Subject: [AccessD] Design Question In-Reply-To: <000701c5e91a$76dd4000$6101a8c0@JISREGISTRATION.local> Message-ID: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> I'm with William on this one. I'd have just one table of people and use another table to track their roles. Susan H. ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. From cyx5 at cdc.gov Mon Nov 14 07:53:46 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 14 Nov 2005 08:53:46 -0500 Subject: [AccessD] date format Message-ID: Did you check your control panel to see the default format for dates? That has caused me problems in the past. Just a thought. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Monday, November 14, 2005 9:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] date format Hello Group, i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 14 10:34:01 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Nov 2005 08:34:01 -0800 Subject: [AccessD] Design Question Message-ID: That sounds pretty much like the way I do it too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 14, 2005 4:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William From jwcolby at ColbyConsulting.com Mon Nov 14 10:42:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 11:42:54 -0500 Subject: [AccessD] Design Question In-Reply-To: Message-ID: <002301c5e93a$7673c240$667aa8c0@ColbyM6805> Yea, William just prides himself on being different. I didn't want to break the news to him... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question That sounds pretty much like the way I do it too. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 14, 2005 4:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Design Question ...as usual, I do it a bit differently ...master table for "entity" with an ID, and type ...one to one child tables for orgs and persons using the entity ID ...then build a many to one role table as child to the master in which the entity can show in several different roles without denormalizing the relationships or data ...then you can show the person's role in both internal and external orgs ...hope that makes sense. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 14 10:52:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 08:52:21 -0800 Subject: [AccessD] Design Question References: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <4378C0C5.4000801@shaw.ca> Here is a data model example using people and roles People in households and companies - modelling human relationships http://allenbrowne.com/AppHuman.html Susan Harkins wrote: >I'm with William on this one. I'd have just one table of people and use >another table to track their roles. > >Susan H. > >...as usual, I do it a bit differently ...master table for "entity" with an >ID, and type ...one to one child tables for orgs and persons using the >entity ID ...then build a many to one role table as child to the master in >which the entity can show in several different roles without denormalizing >the relationships or data ...then you can show the person's role in both >internal and external orgs ...hope that makes sense. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Nov 14 11:13:24 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 09:13:24 -0800 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> Message-ID: <4378C5B4.5080008@shaw.ca> This might help International Dates in Access http://allenbrowne.com/ser-36.html Also here is code to determine regional control panel settings http://www.mvps.org/access/api/api0017.htm called like so '?fLocaleInfo(LOCALE_SSHORTDATE) '?fLocaleInfo(LOCALE_SENGCOUNTRY) pedro at plex.nl wrote: >Hello Group, > >i have to date-fields in a table, both with the same preferences and both display there data in format dd-MM-yyyy. >When i use mailmerge with word, with the prps.item i get a different result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function TodayDate is used, this gives dd-MM-yyyy. I now have changed the different format in the worddocument, to the same output, by using: >{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} > >How is possible that two the same fields in access give different results? Is there a hidden format in the date fields? > >When the Date-seperator in the country-preferences is choosen as "-", how can access gives "\" as seperator and why not in TodayDate? > >TIA > >Pedro Janssen > > -- Marty Connelly Victoria, B.C. Canada From dmcafee at pacbell.net Mon Nov 14 12:00:50 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 14 Nov 2005 10:00:50 -0800 Subject: [AccessD] Trap for Error In-Reply-To: <437768A3.5080300@nanaimo.ark.com> Message-ID: You can put a label above they text box that reads "75 characters left". In design mode, right-click on the text field in question, then properties. In the events tab, click in the On Change event field. a button with 3 dots will appear, click it. You should now be in the VBA editor. Place the following code (renaming the label and textbox name to those of yours: Private Sub MyTextBoxName_Change() If Len(Me.MyTextBoxName.Text) < 76 Then Me.MyLabelName.Caption = (75 - Len(Me.MyTextBoxName.Text)) & " characters left" Else MsgBox "You have exceeded the amount of characters allowed in this box", , "Too much info!" Me.MyTextBoxName = Left(Me.MyTextBoxName.Text, 75) Me.MyTextBoxName.SelStart = 75 Me.MyLabelName.Caption = "0 characters left" End If End Sub If your form is unbound, or doesn't allow navigation between records then you should be fine with only the code above. If you do allow navigation between records, then you will need to add this line to the On Current event of the FORM, so the correct number of available characters are displayed on the label: Me.MyLabelName.Caption = (75 - Len(Me.MyTextBoxName.Text)) & " characters left" I have a working sample if you need one. Hope this helps, David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Sunday, November 13, 2005 8:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Does anyone know how to trap for the error message "The text is too long to be edited", when someone trys to paste text, into a field, that exceeds the maximum characters for that field. I would just like to change the message to something a little more informative for the user, like "The text is too long maximum characters allowed 75" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Mon Nov 14 13:11:49 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 14 Nov 2005 11:11:49 -0800 Subject: [AccessD] Trap for Error Message-ID: <4378E175.4050306@nanaimo.ark.com> Hey All Thanks again. But I could not trap (and I don't think you can, using the form control events) for the Paste from clipboard error " "The text is too long to be edited". So I trap for it on the on keydown event for the text box. ClipBoard_GetData() = Is a function (not mine) that will allow you to get the text currently stored in the clipboard. Hope this may be of use to others. Dim msg As String If Shift = 2 Then If KeyCode = 86 Then 'or vbKeyP If Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) > 125 Then DoCmd.Beep msg = "The text you are trying to paste creates an entry that is too long " & Chr(13) & Chr(13) msg = msg & "Non - selected text - " & (Len(Me!DName.Text) - Len(Me!DName.SelText)) & Chr(13) msg = msg & "Plus Text to Paste - " & Len(ClipBoard_GetData()) & Chr(13) msg = msg & "Equals - " & Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) & " characters..." & Chr(13) & Chr(13) MsgBox msg & "The maximum number of characters for this entry is 125.", 48, "MyChecker" Shift = 0 KeyCode = 0 End If End If End If If Shift = 1 Then If KeyCode = vbKeyInsert Then If Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) > 125 Then DoCmd.Beep msg = "The text you are trying to paste creates an entry that is too long " & Chr(13) & Chr(13) msg = msg & "Non - selected text - " & (Len(Me!DName.Text) - Len(Me!DName.SelText)) & Chr(13) msg = msg & "Plus Text to Paste - " & Len(ClipBoard_GetData()) & Chr(13) msg = msg & "Equals - " & Len(ClipBoard_GetData()) + (Len(Me!DName.Text) - Len(Me!DName.SelText)) & " characters..." & Chr(13) & Chr(13) MsgBox msg & "The maximum number of characters for this entry is 125.", 48, "MyChecker" Shift = 0 KeyCode = 0 End If End If End From pedro at plex.nl Mon Nov 14 13:22:14 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 20:22:14 +0100 Subject: [AccessD] date format References: Message-ID: <003001c5e950$bd4c0ae0$4001a8c0@laptop> Hello Karen, the default format for dates in the control panel is Ok. Thanks ps. do you have time to look at the structure of the database i send you? I have send you ofline two emails, but did not receive an answer. Pedro Janssen ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 2:53 PM Subject: Re: [AccessD] date format > Did you check your control panel to see the default format for dates? > That has caused me problems in the past. Just a thought. > > > Karen S. Nicholson > Programmer Analyst > EG&G Technical Services, Inc. > Pittsburgh, PA > Phone: 412-386-6649 > Email: cyx5 at cdc.gov > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl > Sent: Monday, November 14, 2005 9:41 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] date format > > Hello Group, > > i have to date-fields in a table, both with the same preferences and > both display there data in format dd-MM-yyyy. > When i use mailmerge with word, with the prps.item i get a different > result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function > TodayDate is used, this gives dd-MM-yyyy. I now have changed the > different format in the worddocument, to the same output, by using: > {DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} {DOCPROPERTY > "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} > > How is possible that two the same fields in access give different > results? Is there a hidden format in the date fields? > > When the Date-seperator in the country-preferences is choosen as "-", > how can access gives "\" as seperator and why not in TodayDate? > > TIA > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Nov 14 13:30:45 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 20:30:45 +0100 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> <4378C5B4.5080008@shaw.ca> Message-ID: <003101c5e951$f45374a0$4001a8c0@laptop> Thanks for the help Marty, but something strange is going on. This morning i mailmerged eight times data from access into word. Three times the dataformat for one field (DDatum) was different as the other five. These three were actualy good, because i changed the format for the wrong outcome, so that i received the right date. So now i even can't adjust the format wrong or good, because it is changing during the different mailmerge's. Could it have something to do with citrix. We use 15 different servers for access? I thought that the regional control panel settings were the default settings? Pedro Janssen ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 6:13 PM Subject: Re: [AccessD] date format > This might help International Dates in Access > http://allenbrowne.com/ser-36.html > > Also here is code to determine regional control panel settings > http://www.mvps.org/access/api/api0017.htm > called like so > > '?fLocaleInfo(LOCALE_SSHORTDATE) > '?fLocaleInfo(LOCALE_SENGCOUNTRY) > > pedro at plex.nl wrote: > >>Hello Group, >> >>i have to date-fields in a table, both with the same preferences and both >>display there data in format dd-MM-yyyy. >>When i use mailmerge with word, with the prps.item i get a different >>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>TodayDate is used, this gives dd-MM-yyyy. I now have changed the different >>format in the worddocument, to the same output, by using: >>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >> >>How is possible that two the same fields in access give different results? >>Is there a hidden format in the date fields? >> >>When the Date-seperator in the country-preferences is choosen as "-", how >>can access gives "\" as seperator and why not in TodayDate? >> >>TIA >> >>Pedro Janssen >> >> > > -- > 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 Mon Nov 14 13:33:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 14:33:11 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <006101c5e888$ba7a7130$017ba8c0@xpserver> Message-ID: <002f01c5e952$405a0a80$667aa8c0@ColbyM6805> I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dmcafee at pacbell.net Mon Nov 14 13:39:39 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 14 Nov 2005 11:39:39 -0800 Subject: [AccessD] Trap for Error In-Reply-To: <4378E175.4050306@nanaimo.ark.com> Message-ID: The event that I mentioned isn't a form event, it is a control event. In design mode, you have to click on the text box in question, then choose properties (either by clicking on the tool bar icon which looks like a finger pointing at a paper. or by right clicking on the control and choosing properties. With the code that I just sent you (OnChange event), you dont have to worry about the clip board, it warns you that too many characters have been entered and then it truncates the text to 75 characters. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tony Septav Sent: Monday, November 14, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Thanks again. But I could not trap (and I don't think you can, using the form control events) for the Paste from clipboard error " "The text is too long to be edited". So I trap for it on the on keydown event for the text box. ClipBoard_GetData() = Is a function (not mine) that will allow you to get the text currently stored in the clipboard. Hope this may be of use to others. From KIsmert at texassystems.com Mon Nov 14 14:20:00 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 14 Nov 2005 14:20:00 -0600 Subject: [AccessD] Trap for Error Message-ID: Tony, Here's some form-level error handling code I have written. I just drop into my forms when I need form-level error handling. You can call if from any procedure in the form, and hook it to the Form_Error event. * It uses Screen.ActiveControl to find the offending control * It assumes you have descriptive text in the control's .ValidationText field You can comment out parts you don't need, and customize the error messages as you see fit. Not fancy, but gets the job done. -Ken ' Provides Customizable List of Errors for Form. Can be ' called from Procedure error handlers, or Form_Error ' ' Automatically handles User-defined errors in the range of ' vbObjectError To (vbObjectError + 65535) ' ' Call from Procedure error handler: ' ErrorDisplay "ProcName" ' ' Call from Form_Error: ' Response = acDataErrContinue ' ErrorDisplay Me.Name & ".Form_Error", DataErr ' Private Sub ErrorDisplay(Optional ByVal sCalledBy As String = "", _ Optional ByVal lAccessFormError As Long = 0) Dim rCtl As Access.Control Dim lErrNumber As Long Dim sErrDescription As String Dim sErrSource As String ' Record Error If Err.Number <> 0 Then lErrNumber = Err.Number sErrDescription = Err.Description sErrSource = Err.Source Else Debug.Assert lAccessFormError <> 0 lErrNumber = lAccessFormError sErrDescription = AccessError(lAccessFormError) sErrSource = "" End If If sCalledBy > " " Then sErrSource = sCalledBy & vbCrLf & sErrSource End If ' Resets Err object On Error GoTo HandleErr Select Case lErrNumber Case pcErrVBInputMask Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetFieldRequired ' Use "Not Is Null" validation on field Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetDuplicateValues ' Duplicate Item number for BOM MsgBox "Duplicate Item Number" & vbCr & vbCr _ & "Item " & txtItem & " is already in this BOM." & vbCr & vbCr _ & "Enter a unique new Item Number.", vbExclamation, AppTitle Case pcErrJetFieldValidation, pcErrJetValidation, pcErrJetAppError ' Validation failed Set rCtl = Screen.ActiveControl MsgBox rCtl.ValidationText, vbInformation, AppTitle Case pcErrJetCantSaveObject MsgBox "Changes to this record are invalid and will not be saved.", vbExclamation, AppTitle Case pcErrVBObjectVarNotSet ' Some earlier error forced reset of Interpreter MsgBox "Warning: " & vbCr & vbCr _ & "This form has experienced a severe error," & vbCr _ & "and will be closed." & vbCr & vbCr _ & "Call IT with a description of the previous error.", vbCritical, AppTitle DoCmd.Close acForm, Me.Name, acSavePrompt Case vbObjectError To (vbObjectError + 65535) ' Friendly Object Errors MsgBox sErrDescription, vbExclamation, AppTitle Case Else MsgBox "Error: " & lErrNumber & vbCrLf _ & sErrDescription & vbCrLf _ & "Source: " & sErrSource, vbCritical, AppTitle End Select Exit Sub HandleErr: MsgBox "Error: " & Err.Number & vbCrLf _ & Err.Description & vbCrLf _ & "Source: ErrorDisplay" & vbCrLf & Err.Source, vbCritical, AppTitle Exit Sub End Sub -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Sunday, November 13, 2005 2:46 PM To: accessd at databaseadvisors.com Subject: [AccessD] Trap for Error Hey All Thanks for your responses. That is what I was inquring about, the error message does not seem to be fired by any control event (but I will try them all again, I may have missed something), but rather during the process of pressing Ctrl V to paste the text into the textbox. Anyway onwards and upwards, thanks again. From cfoust at infostatsystems.com Mon Nov 14 14:28:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 14 Nov 2005 12:28:44 -0800 Subject: [AccessD] Building classes for tables Message-ID: Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 14:39:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 15:39:10 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <003401c5e95b$77e29180$667aa8c0@ColbyM6805> 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 14 14:49:48 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 14:49:48 -0600 Subject: [AccessD] Building classes for tables In-Reply-To: <15999826.1131997055495.JavaMail.root@sniper19> Message-ID: <000301c5e95c$f3da7310$0200a8c0@danwaters> This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 14:55:08 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 15:55:08 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <000301c5e95c$f3da7310$0200a8c0@danwaters> Message-ID: <003501c5e95d$b31cb300$667aa8c0@ColbyM6805> LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 14 15:01:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 14 Nov 2005 13:01:32 -0800 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net> <4378C5B4.5080008@shaw.ca> <003101c5e951$f45374a0$4001a8c0@laptop> Message-ID: <4378FB2C.3060402@shaw.ca> You may have different user profiles on different servers, haven't played with citrix too much I believe there are several ways of setting this via Citrix. You might want to call Dev Ashish code to display locale and keyboard settings to check when running By the way I have heard there are problems with Mail Merge and latest Office XP and 2003 Service Pack released in last month. > > CTX103288 - How to ensure users have the desired regional settings > > http://ctxex10.citrix.com/kb/entry.jspa?externalID=CTX103288 > > you can use this setlocale command line tool. you can add it to your > login script. it will then "reset" the regional settings each time a > user logs on. you will not have to reboot or logoff first. > > > http://www.spectrodisplay.nl/download/setlocale.zip Pedro Janssen wrote: >Thanks for the help Marty, > >but something strange is going on. >This morning i mailmerged eight times data from access into word. >Three times the dataformat for one field (DDatum) was different as the other >five. These three were actualy good, because i changed the format for the >wrong outcome, so that i received the right date. So now i even can't adjust >the format wrong or good, because it is changing during the different >mailmerge's. > >Could it have something to do with citrix. We use 15 different servers for >access? I thought that the regional control panel settings were the default >settings? > >Pedro Janssen > > > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Monday, November 14, 2005 6:13 PM >Subject: Re: [AccessD] date format > > > > >>This might help International Dates in Access >>http://allenbrowne.com/ser-36.html >> >>Also here is code to determine regional control panel settings >>http://www.mvps.org/access/api/api0017.htm >>called like so >> >>'?fLocaleInfo(LOCALE_SSHORTDATE) >>'?fLocaleInfo(LOCALE_SENGCOUNTRY) >> >>pedro at plex.nl wrote: >> >> >> >>>Hello Group, >>> >>>i have to date-fields in a table, both with the same preferences and both >>>display there data in format dd-MM-yyyy. >>>When i use mailmerge with word, with the prps.item i get a different >>>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>>TodayDate is used, this gives dd-MM-yyyy. I now have changed the different >>>format in the worddocument, to the same output, by using: >>>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >>> >>>How is possible that two the same fields in access give different results? >>>Is there a hidden format in the date fields? >>> >>>When the Date-seperator in the country-preferences is choosen as "-", how >>>can access gives "\" as seperator and why not in TodayDate? >>> >>>TIA >>> >>>Pedro Janssen >>> >>> >>> >>> >>-- >> > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Mon Nov 14 15:08:48 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 15:08:48 -0600 Subject: [AccessD] Building classes for tables In-Reply-To: <21854665.1132000802917.JavaMail.root@sniper21> Message-ID: <000001c5e95f$9ba7fd90$0200a8c0@danwaters> I should have figured it was you! By the way, I was reading through your chapter on WithEvents last night. I'll see if I can come up with something useful to do with it. The instructional writing style worked well for me - I need a lot of repetition. And it helps to read the same thing again, just stated differently. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Nov 14 15:36:35 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 14 Nov 2005 22:36:35 +0100 Subject: [AccessD] date format References: <200511141341.jAEDf9GA017452@mailhostC.plex.net><4378C5B4.5080008@shaw.ca> <003101c5e951$f45374a0$4001a8c0@laptop> <4378FB2C.3060402@shaw.ca> Message-ID: <002501c5e963$7d209a90$4001a8c0@laptop> Thanks Marty, i will check this. Pedro ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, November 14, 2005 10:01 PM Subject: Re: [AccessD] date format > You may have different user profiles on different servers, haven't > played with citrix too much > I believe there are several ways of setting this via Citrix. > You might want to call Dev Ashish code to display locale and keyboard > settings to check when running > By the way I have heard there are problems with Mail Merge and latest > Office XP and 2003 Service Pack released in last month. > >> >> CTX103288 - How to ensure users have the desired regional settings >> >> http://ctxex10.citrix.com/kb/entry.jspa?externalID=CTX103288 >> >> you can use this setlocale command line tool. you can add it to your >> login script. it will then "reset" the regional settings each time a >> user logs on. you will not have to reboot or logoff first. >> >> >> http://www.spectrodisplay.nl/download/setlocale.zip > > > > Pedro Janssen wrote: > >>Thanks for the help Marty, >> >>but something strange is going on. >>This morning i mailmerged eight times data from access into word. >>Three times the dataformat for one field (DDatum) was different as the >>other >>five. These three were actualy good, because i changed the format for the >>wrong outcome, so that i received the right date. So now i even can't >>adjust >>the format wrong or good, because it is changing during the different >>mailmerge's. >> >>Could it have something to do with citrix. We use 15 different servers for >>access? I thought that the regional control panel settings were the >>default >>settings? >> >>Pedro Janssen >> >> >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Monday, November 14, 2005 6:13 PM >>Subject: Re: [AccessD] date format >> >> >> >> >>>This might help International Dates in Access >>>http://allenbrowne.com/ser-36.html >>> >>>Also here is code to determine regional control panel settings >>>http://www.mvps.org/access/api/api0017.htm >>>called like so >>> >>>'?fLocaleInfo(LOCALE_SSHORTDATE) >>>'?fLocaleInfo(LOCALE_SENGCOUNTRY) >>> >>>pedro at plex.nl wrote: >>> >>> >>> >>>>Hello Group, >>>> >>>>i have to date-fields in a table, both with the same preferences and >>>>both >>>>display there data in format dd-MM-yyyy. >>>>When i use mailmerge with word, with the prps.item i get a different >>>>result, MM\dd\yyyy and dd\MM\yyyy. In this mailmerge also the function >>>>TodayDate is used, this gives dd-MM-yyyy. I now have changed the >>>>different >>>>format in the worddocument, to the same output, by using: >>>>{DOCPROPERTY "GebDat" \@ "dd-MM-yyyy" \*MERGEFORMAT} >>>>{DOCPROPERTY "DDatum" \@ "MM-dd-yyyy" \*MERGEFORMAT} >>>> >>>>How is possible that two the same fields in access give different >>>>results? >>>>Is there a hidden format in the date fields? >>>> >>>>When the Date-seperator in the country-preferences is choosen as "-", >>>>how >>>>can access gives "\" as seperator and why not in TodayDate? >>>> >>>>TIA >>>> >>>>Pedro Janssen >>>> >>>> >>>> >>>> >>>-- >>> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Mon Nov 14 16:04:22 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 09:04:22 +1100 Subject: [AccessD] Design Question References: <20051114135102.BOBT29677.ibm57aec.bellsouth.net@SUSANONE> <4378C0C5.4000801@shaw.ca> Message-ID: <002d01c5e967$5f39e460$6501a8c0@user> That's a great one - perfect for lots of businesses which struggle with family level and personal data etc. Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 3:52 AM Subject: Re: [AccessD] Design Question Here is a data model example using people and roles People in households and companies - modelling human relationships http://allenbrowne.com/AppHuman.html Susan Harkins wrote: >I'm with William on this one. I'd have just one table of people and use >another table to track their roles. > >Susan H. > >...as usual, I do it a bit differently ...master table for "entity" with an >ID, and type ...one to one child tables for orgs and persons using the >entity ID ...then build a many to one role table as child to the master in >which the entity can show in several different roles without denormalizing >the relationships or data ...then you can show the person's role in both >internal and external orgs ...hope that makes sense. > > > > > -- 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 DWUTKA at marlow.com Mon Nov 14 16:14:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 14 Nov 2005 16:14:45 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA6005@main2.marlow.com> I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Mon Nov 14 17:56:05 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 10:56:05 +1100 Subject: [AccessD] OT: OEM software bundles Message-ID: <000a01c5e976$fa436260$6501a8c0@user> Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath From darsant at gmail.com Mon Nov 14 18:06:30 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:06:30 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <53c8e05a0511141606q154813e6w5af4b36ddc0a8f86@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? > > Some of these bundles do look tempting: http://www.softdisks.net Legit OEM is the exact same as retail, minus any support options. IIRC, around SP1, WinXP Pro was $130 cost from Teir 1 distribution. If you have access to legal distributors such as Ingram Micro, then by all means, buy OEM when you're building the machines yourself. Technically it is suppose to be sold with a piece of hardware, which is why it's slightly discounted (but not a giant discount) Anything that is priced such as that site, well, is illegal. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From darsant at gmail.com Mon Nov 14 18:10:33 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:10:33 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dba.email at gmail.com Mon Nov 14 18:12:45 2005 From: dba.email at gmail.com (Admin Sparky) Date: Mon, 14 Nov 2005 19:12:45 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <5f2de2420511141612r2c937023s378bbe0cea0a4dfd@mail.gmail.com> I can't speak for the Office versions because I utilize a company perk "home use" program for that, but as for Windows XP...yes, I use an OEM version of Windows XP. My original copy (media and license) was purchased legitimately with hardware as required. I then copied my original CD and slipstreamed in SP2. For my additional machines, I purchased several OEM licenses (sticker only, no media). I use my slipstreamed copy of the CD when installing/reinstalling with the appropriate license. IIRC, the cost per license was ~$140 per sticker...versus $200 for the retail box. Mark On 11/14/05, Kath Pelletti wrote: > > Have any of you purchased or considered purchasing OEM versions of Office > or Windows? > > Is there any guarantee at all that it will be the full version? And how do > MS handle the activation aspect of Office with these versions? Can they be > re-installed? It seems to be very difficult to find a list of *all* of the > limitations of the OEM's. Is it in the hands of the distributor to select > what goes into the package? > > Some of these bundles do look tempting: http://www.softdisks.net > > Kath > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Mon Nov 14 18:31:51 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 11:31:51 +1100 Subject: [AccessD] OT: OEM software bundles References: <000a01c5e976$fa436260$6501a8c0@user> <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> Message-ID: <000b01c5e97b$f9110aa0$6501a8c0@user> Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 18:40:20 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 18:40:20 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000b01c5e97b$f9110aa0$6501a8c0@user> References: <000a01c5e976$fa436260$6501a8c0@user> <53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com> <000b01c5e97b$f9110aa0$6501a8c0@user> Message-ID: <53c8e05a0511141640h198877f0t4ba7e29eb2822ba1@mail.gmail.com> On 11/14/05, Kath Pelletti wrote: > Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) > > Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) > > ? > Kath For Retail vs OEM Windows, that's the only difference. Just to make it clear, OEM Windows licenses can only be legally installed on one computer at a time. You make the call to them to activate it if you have to change hardware or machines (like if it gets hit by lightning). Installing it on two computers is a no-no. Granted, at the time, retail windows was $159, and OEM was $130-139 in a 3 pack, so the price savings isn't drastic, but any website offering it for under $100 with some spiel about no COA is complete crap. All Windows offer COA, so don't buy without it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From kathryn at bassett.net Mon Nov 14 18:41:39 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 14 Nov 2005 16:41:39 -0800 Subject: [AccessD] Anybody using SmartListToGo with Access? Message-ID: <20051114164143.59D229A1@dm16.mta.everyone.net> DataViz has a Palm program that synchs with Access http://www.dataviz.com/products/smartlisttogo/index.html I have an Access2000 file called books that has 3 tables - books, authors, and status. Books table has ID number as primary key, title and memo are text fields, and tblAuthorLookup and tblStatusLookup. I can provide a zipped copy if needed. I'm new to SmartListToGo and working with trial version to see if I can get this to work. If it does, I intend to buy program. In the SmartList To Go User Reviews, it says in part "SmartList To Go is a complete database manager, including the major functions from Access. The one-to-many function makes more than lists, allowing you to link across several tables" That implies to me that I can link to a query that draws from more than one table. However, when I try linking to my query (Books Query order by Author) it says "The query you have selected cannot be synchronized because it is based on more than one source table. Please select a different table or query." If I choose the Books table, then it gives the ID number of the authors and status, instead of the author and the status. So the question is, can I do what I want to do, which is to have the authors and the status show? If not, then is there someone who can tell me what (easy) changes to make to my database so that it is possible? In case it makes a difference, for this database, I will not need to synch from the Palm back to Desktop, as all my changes will be in Access. I plan to use it when shopping for books so that I don't get a duplicate. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From KP at sdsonline.net Mon Nov 14 18:47:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 11:47:21 +1100 Subject: [AccessD] OT: OEM software bundles References: <000a01c5e976$fa436260$6501a8c0@user><53c8e05a0511141610m1127e233xabb59563520be739@mail.gmail.com><000b01c5e97b$f9110aa0$6501a8c0@user> <53c8e05a0511141640h198877f0t4ba7e29eb2822ba1@mail.gmail.com> Message-ID: <001901c5e97e$23f5f580$6501a8c0@user> Yeah - I've since had a talk to MS to clarify some of the issues and they do not authorise OEM software for sale unless it is packages with a hardware bundle (Therefore software bought alone would be considered illegal) and you're right - it can only be one one PC. Thanks Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:40 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) > > Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) > > ? > Kath For Retail vs OEM Windows, that's the only difference. Just to make it clear, OEM Windows licenses can only be legally installed on one computer at a time. You make the call to them to activate it if you have to change hardware or machines (like if it gets hit by lightning). Installing it on two computers is a no-no. Granted, at the time, retail windows was $159, and OEM was $130-139 in a 3 pack, so the price savings isn't drastic, but any website offering it for under $100 with some spiel about no COA is complete crap. All Windows offer COA, so don't buy without it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 19:22:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 20:22:23 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000b01c5e97b$f9110aa0$6501a8c0@user> Message-ID: <003e01c5e983$08d40f30$667aa8c0@ColbyM6805> >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 19:54:10 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 19:54:10 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> Hi Kath, I use OEM quite a bit. I would be very skeptical of this site. Prices are too low and they are not being upfront about things. For instance the Adobe Creative Suite is now v2 the one they describe would be v1 because it has Acrobat 6 included. They don't state this anywhere that I can see. Deceptive. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 5:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dajomigo at tpg.com.au Mon Nov 14 19:56:00 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 12:56:00 +1100 Subject: [AccessD] Delete button on continuous form Message-ID: <6.2.1.2.2.20051115124043.0360f0b0@mail.tpg.com.au> I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions From Bruce.Bruen at railcorp.nsw.gov.au Mon Nov 14 20:22:23 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 15 Nov 2005 13:22:23 +1100 Subject: [AccessD] MySQL Newbie Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02A@EXCHVS1.rail.nsw.gov.au> Consider PostgreSQL also - I found it a lot easier! bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Friday, 4 November 2005 4:20 AM To: Access Developers discussion and problem solving Subject: [AccessD] MySQL Newbie Hi All! I have been keeping an eye on MySQL for sometime now. I have been hesitant to use it because I have been accustomed to using SQL Server and like using stored procedures and triggers. Now that MySQL 5 is out, I very interested in checking it out. I have some newbie questions. 1) Does Access play nicely with MySQL? 2) Is MySQL really free? Are there fees somewhere for using the software? 3) Does MySQL come with management tools, like Enterprise Manager for SQL Server? 4) I see there is a Standard version and a MAX version on MySQL.com. What is the difference? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From michael at ddisolutions.com.au Mon Nov 14 20:31:41 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2005 13:31:41 +1100 Subject: [AccessD] Delete button on continuous form Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> Hi David, Been a while since I've used Access forms but I suspect the edit caused by the type change needs to be saved before you delete. Why do you want to edit and then delete? ;-))) Try docmd.saverecord or something like that after the edit???? cheers Michael M www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Tuesday, 15 November 2005 12:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] Delete button on continuous form I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 20:33:42 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 21:33:42 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <123701F54509D9119A4F00D0B7473490EA6005@main2.marlow.com> Message-ID: <004401c5e98c$ff3565f0$667aa8c0@ColbyM6805> I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 20:36:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 21:36:44 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <000001c5e95f$9ba7fd90$0200a8c0@danwaters> Message-ID: <004501c5e98d$6b8f2150$667aa8c0@ColbyM6805> >By the way, I was reading through your chapter on WithEvents last night. >From the VBA book? I rather liked that chapter. >I'll see if I can come up with something useful to do with it. LOL. Think controls and forms (and OCXs), and code that is used over and over again from form to form. I use that stuff pretty much weekly now that I know how. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 4:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I should have figured it was you! By the way, I was reading through your chapter on WithEvents last night. I'll see if I can come up with something useful to do with it. The instructional writing style worked well for me - I need a lot of repetition. And it helps to read the same thing again, just stated differently. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 2:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL, perhaps he will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 14, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables This sounds like the kind of thing that John Colby had already done. Perhaps he'll chime in on this one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 14 20:54:38 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 14 Nov 2005 20:54:38 -0600 Subject: [AccessD] Delete button on continuous form In-Reply-To: <295573.1132020146676.JavaMail.root@sniper17> Message-ID: <000001c5e98f$ec8520f0$0300a8c0@danwaters> David, In the code behind the Delete button, try inserting the code: Me.Undo Before the actual delete code. This will get rid of the unsaved changes which might be causing your error message. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne Gould Sent: Monday, November 14, 2005 7:56 PM To: Access Developers discussion and problem solving Subject: [AccessD] Delete button on continuous form I am working on a database for a video library. The hire form has a continuous form that has a delete button on each row. The users can also double-click on the combo box for selecting the movie title to change the rental type (eg overnight to weekly, etc). This is what causes the problem. The delete button was created using the wizard. If the user hasn't change the rental type then the delete button works fine. If they have they will get a message "Write conflict" telling them that another user has made changes to the record. They then have three choices: Save record: This gets the message "The record cannot be deleted or changed because 'tblHires' includes related records" Copy to Clipboard: This gets the message "No Current record" and then deletes the details as I wanted Drop Changes: This does the same thing as the Copy to Clipboard option. I believe I either need to make a change to the code used to change the Rental type (probably the right way to fix it) or find a way to suppress the error message when I am deleting so the user isn't bothered by it. I have tried turning warnings off but it made no difference. TIA David Gould DG Solutions -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Nov 14 21:00:16 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 14 Nov 2005 21:00:16 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> References: <000a01c5e976$fa436260$6501a8c0@user> <00fd01c5e987$797e8a40$6701a8c0@ScuzzPaq> Message-ID: <53c8e05a0511141900k493eb0c4yba4774a7d9b45d8c@mail.gmail.com> On 11/14/05, John Bartow wrote: > Hi Kath, > I use OEM quite a bit. I would be very skeptical of this site. Prices are > too low and they are not being upfront about things. For instance the Adobe > Creative Suite is now v2 the one they describe would be v1 because it has > Acrobat 6 included. They don't state this anywhere that I can see. > Deceptive. Not to mention, there is no such thing as DSP Windows, nor an OEM Windows without the holographic CD (if memory serves, Office is on a holograph too, completely different than their pictures) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dajomigo at tpg.com.au Mon Nov 14 21:43:48 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 14:43:48 +1100 Subject: [AccessD] Delete button on continuous form In-Reply-To: <000001c5e98f$ec8520f0$0300a8c0@danwaters> References: <295573.1132020146676.JavaMail.root@sniper17> <000001c5e98f$ec8520f0$0300a8c0@danwaters> Message-ID: <6.2.1.2.2.20051115144325.03628498@mail.tpg.com.au> Thanks, Dan It worked perfectly. David At 01:54 PM 15/11/2005, you wrote: >David, > >In the code behind the Delete button, try inserting the code: > > Me.Undo > >Before the actual delete code. This will get rid of the unsaved changes >which might be causing your error message. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & Joanne >Gould >Sent: Monday, November 14, 2005 7:56 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Delete button on continuous form > >I am working on a database for a video library. The hire form has a >continuous form that has a delete button on each row. The users can also >double-click on the combo box for selecting the movie title to change the >rental type (eg overnight to weekly, etc). This is what causes the problem. >The delete button was created using the wizard. If the user hasn't change >the rental type then the delete button works fine. If they have they will >get a message "Write conflict" telling them that another user has made >changes to the record. They then have three choices: > >Save record: This gets the message "The record cannot be deleted or changed >because 'tblHires' includes related records" >Copy to Clipboard: This gets the message "No Current record" and then >deletes the details as I wanted >Drop Changes: This does the same thing as the Copy to Clipboard option. > >I believe I either need to make a change to the code used to change the >Rental type (probably the right way to fix it) or find a way to suppress >the error message when I am deleting so the user isn't bothered by it. I >have tried turning warnings off but it made no difference. > >TIA > >David Gould >DG Solutions > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dajomigo at tpg.com.au Mon Nov 14 21:47:30 2005 From: dajomigo at tpg.com.au (David & Joanne Gould) Date: Tue, 15 Nov 2005 14:47:30 +1100 Subject: [AccessD] Delete button on continuous form In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D010DEBD0@ddi-01.DDI.local> Message-ID: <6.2.1.2.2.20051115144602.036136e0@mail.tpg.com.au> Thanks for your suggestion, Michael, didn't do the trick but Dan's suggestion got rid of the error message. The only reason to let the user delete after modifying is to give them the choice. David At 01:31 PM 15/11/2005, you wrote: > Hi David, > >Been a while since I've used Access forms but I suspect the edit caused >by the type change >needs to be saved before you delete. Why do you want to edit and then >delete? ;-))) >Try docmd.saverecord or something like that after the edit???? > >cheers > >Michael M > >www.ddisolutions.com.au > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David & >Joanne Gould >Sent: Tuesday, 15 November 2005 12:56 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Delete button on continuous form > >I am working on a database for a video library. The hire form has a >continuous form that has a delete button on each row. The users can also >double-click on the combo box for selecting the movie title to change >the rental type (eg overnight to weekly, etc). This is what causes the >problem. >The delete button was created using the wizard. If the user hasn't >change the rental type then the delete button works fine. If they have >they will get a message "Write conflict" telling them that another user >has made changes to the record. They then have three choices: > >Save record: This gets the message "The record cannot be deleted or >changed because 'tblHires' includes related records" >Copy to Clipboard: This gets the message "No Current record" and then >deletes the details as I wanted Drop Changes: This does the same thing >as the Copy to Clipboard option. > >I believe I either need to make a change to the code used to change the >Rental type (probably the right way to fix it) or find a way to suppress >the error message when I am deleting so the user isn't bothered by it. I >have tried turning warnings off but it made no difference. > >TIA > >David Gould >DG Solutions > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 21:49:17 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 21:49:17 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <53c8e05a0511141900k493eb0c4yba4774a7d9b45d8c@mail.gmail.com> Message-ID: <011b01c5e997$8db04480$6701a8c0@ScuzzPaq> True! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Monday, November 14, 2005 9:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, John Bartow wrote: > Hi Kath, > I use OEM quite a bit. I would be very skeptical of this site. Prices > are too low and they are not being upfront about things. For instance > the Adobe Creative Suite is now v2 the one they describe would be v1 > because it has Acrobat 6 included. They don't state this anywhere that I can see. > Deceptive. Not to mention, there is no such thing as DSP Windows, nor an OEM Windows without the holographic CD (if memory serves, Office is on a holograph too, completely different than their pictures) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Mon Nov 14 22:20:09 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 15 Nov 2005 15:20:09 +1100 Subject: [AccessD] OT: OEM software bundles References: <003e01c5e983$08d40f30$667aa8c0@ColbyM6805> Message-ID: <002f01c5e99b$e03109c0$6501a8c0@user> John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 14 22:34:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 14 Nov 2005 23:34:44 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <002f01c5e99b$e03109c0$6501a8c0@user> Message-ID: <011e01c5e99d$e7916550$667aa8c0@ColbyM6805> That's correct for WINDOWS. Each computer is expected to have an individual license for the Windows OS. You can however use (legally) Office on a laptop and a desktop as long as they aren't both in use at the same time. IOW, it is for the situation where a person has two computers, and switches between the laptop and desktop but doesn't use both at the same time. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 11:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Nov 14 22:40:44 2005 From: john at winhaven.net (John Bartow) Date: Mon, 14 Nov 2005 22:40:44 -0600 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <002f01c5e99b$e03109c0$6501a8c0@user> Message-ID: <012f01c5e99e$be2fdec0$6701a8c0@ScuzzPaq> OEM Windows is for one PC. Say your PC dies and you get a new box without an OS. Legally you are not supposed to move the copy of OEM Windows from the dead PC to the new box. If you change major parts you may have to re-register it and if you change too many parts then it may not work but I have never had that happen. I once changed out a motherboard (which many people say won't work) and it worked fine. OEM Office and other applications may be able to be installed on the original PC and a mobile device if used by the same person. With some of the newer applications you need to obtain a second install # from the company - sometimes for a small fee. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 10:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles John - you can only use the retail version once? ----- Original Message ----- From: John Colby To: 'Access Developers discussion and problem solving' Sent: Tuesday, November 15, 2005 12:22 PM Subject: Re: [AccessD] OT: OEM software bundles >Josh - I know that you can normally ring MS and get an authorization code for a 2nd (laptop) install That is only true for Office, not the Windows OS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 7:32 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Josh - I know that you can normally ring MS and get an authorisation code for a 2nd (laptop) install - but I have a feeling that that's NOT an option for an OEM? (I'm trying to get through to MS and ask that question....) Surely there are significant limitations for that price diff - (apart from no manuals and no help from MS via phone, which I have never used anyway.) ? Kath ----- Original Message ----- From: Josh McFarlane To: Access Developers discussion and problem solving Sent: Tuesday, November 15, 2005 11:10 AM Subject: Re: [AccessD] OT: OEM software bundles On 11/14/05, Kath Pelletti wrote: > Have any of you purchased or considered purchasing OEM versions of Office or Windows? > > Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Oh, and a few more notes: Microsoft OEMs still have certificates of authenticity and Product Keys. Any site that claims differently is trying to scam you. Activation is handled on first boot after installation, or on each use after installation of Office. You can reinstall, but if it's on a new machine / different hardware you may have to call a hotline that Microsoft runs and get an authorization code. Not that big of an issue and takes roughly 5 minutes max. Packages are packages, distributor does nothing but buy the product from MS and sell it to you. Any changes they make should make you HIGHLY suspect. Now, XP has two flavours in OEM last I checked, Home and Pro. Office has Pro OEM, and maybe a few others, not sure. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Mon Nov 14 22:49:25 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 15 Nov 2005 15:49:25 +1100 Subject: [AccessD] Counting group headers in a report (FAQ) Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02C@EXCHVS1.rail.nsw.gov.au> ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jwcolby at ColbyConsulting.com Mon Nov 14 23:08:20 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 00:08:20 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <012f01c5e99e$be2fdec0$6701a8c0@ScuzzPaq> Message-ID: <012601c5e9a2$99518f00$667aa8c0@ColbyM6805> >OEM Windows is for one PC. That's correct. An OEM version is supposed to come pre-installed on a specific PC, and when that PC dies, so does the license. If you buy a full version, then you own the license and when the PC dies you can legally transfer that license to another PC. In neither case are you legally allowed to use the license on a laptop as well as a desktop. As for APPLICATIONS, your rights to use them on a laptop and a desktop depends on the application itself. Microsoft Office allows this. I do not know that any other applications by Microsoft or other vendors do allow this. Some may but you should check your license to see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, November 14, 2005 11:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: OEM software bundles OEM Windows is for one PC. Say your PC dies and you get a new box without an OS. Legally you are not supposed to move the copy of OEM Windows from the dead PC to the new box. If you change major parts you may have to re-register it and if you change too many parts then it may not work but I have never had that happen. I once changed out a motherboard (which many people say won't work) and it worked fine. OEM Office and other applications may be able to be installed on the original PC and a mobile device if used by the same person. With some of the newer applications you need to obtain a second install # from the company - sometimes for a small fee. From Gustav at cactus.dk Tue Nov 15 04:51:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 11:51:44 +0100 Subject: [AccessD] OT: OEM software bundles Message-ID: Hi Kath That is, of course, pirated software. Guarantee ...? What do you think? We get spammed every day with offerings of that kind, like: --- Please visit our OEM software supertore! Please check our reduced price. MS Project 2003 Professional - $60 MS Visio 2003 Professional - $69.95 MS Office 2000 Premium Edition (2 CD Edition) - $59.95 Microsoft Office 2003 Professional (1 CD Edition) - $89.95 Corel Draw Graphics Suite 11 - $50 Windows NT 4.0 Terminal Server - $40 Windows 2k Pro - $59.95 MS Office 2k Premium Edition (2 CD) - $59.95 Windows XP Professional - $60 Win 95 - $49.95 FreeHand MX - $60 MS FileMaker 7.0 Professional - $69.95 MS Works 7 - $60 Windows NT 4.0 Server - $49.95 Fireworks MX 2004 - $60 --- Note the horrific price for MS Works. And Windows NT and 95 are certainly not available any more except in low volume at eBay and the like. Also note that the site is completely anonymous - which is no wonder if do your homework and look up the IP address and the city of that: http://www.dnsstuff.com/tools/city.ch?ip=221.11.133.99 IP: 221.11.133.99 Country: China City: Hainan, Hainan Country Code: CN Currency: CNY [China Yuan Renminbi] So no free lunch, and even when not free the taste is still ugly - if any, because chances are that if you buy a package you won't receive anything at all except the pleasure of having fed some Chinese criminals and payed a part of their Mercedes and learned a lesson. As a dealer I can tell you that margins on MS software are very low and magic/bargain/sell prices just don't exist. I always wonder why - and get a little disappointed too when - pros would even think of buying such stuff without first checking the advices and offerings at one of their trusted (local) suppliers. /gustav >>> KP at sdsonline.net 15-11-2005 00:56 >>> Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath From jimdettman at earthlink.net Tue Nov 15 06:12:47 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 15 Nov 2005 07:12:47 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: <000a01c5e976$fa436260$6501a8c0@user> Message-ID: Kath, As the others have said, this is probably illegal, especially if you note the text at the bottom of their order form: "By pressing this button you agree that you are purchasing the software that does not come with any printed manual and a box. This software does NOT include any COA label or a sticker from the manufacturer. There is no technical support provided by the software manufacturer. All the software we offer in the English language ONLY. " No Certificate of authenticity; that pretty much says it right there. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 6:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 15 06:34:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 07:34:23 -0500 Subject: [AccessD] OT: OEM software bundles In-Reply-To: Message-ID: <013101c5e9e0$e95d9e60$667aa8c0@ColbyM6805> OK, I think Kathy is up to speed on pirated software. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, November 15, 2005 7:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: OEM software bundles Kath, As the others have said, this is probably illegal, especially if you note the text at the bottom of their order form: "By pressing this button you agree that you are purchasing the software that does not come with any printed manual and a box. This software does NOT include any COA label or a sticker from the manufacturer. There is no technical support provided by the software manufacturer. All the software we offer in the English language ONLY. " No Certificate of authenticity; that pretty much says it right there. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kath Pelletti Sent: Monday, November 14, 2005 6:56 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: OEM software bundles Have any of you purchased or considered purchasing OEM versions of Office or Windows? Is there any guarantee at all that it will be the full version? And how do MS handle the activation aspect of Office with these versions? Can they be re-installed? It seems to be very difficult to find a list of *all* of the limitations of the OEM's. Is it in the hands of the distributor to select what goes into the package? Some of these bundles do look tempting: http://www.softdisks.net Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Nov 15 09:23:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 15 Nov 2005 09:23:05 -0600 Subject: [AccessD] Counting group headers in a report (FAQ) In-Reply-To: <16135409.1132030402543.JavaMail.root@sniper14> Message-ID: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Bruce, Something that still gets me occasionally is when I have a text box on a report that has the same name as an underlying field. Make sure this isn't the case. The text boxes on the report automatically get the same name as the field if you've used a wizard to create the report. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Monday, November 14, 2005 10:49 PM To: accessd at databaseadvisors.com Subject: [AccessD] Counting group headers in a report (FAQ) ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Nov 15 09:24:33 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 15 Nov 2005 10:24:33 -0500 Subject: [AccessD] Building classes for tables Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C40B4@TTNEXCHCL2.hshhp.com> I had mentioned a while back that I thought Arthur Fuller gave me such a class and he responded that he hadn't. If you search the archives you might find a reference to a tool he did mention. HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, November 14, 2005 9:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From mwp.reid at qub.ac.uk Tue Nov 15 09:32:59 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 15 Nov 2005 15:32:59 +0000 Subject: [AccessD] Access 12 In-Reply-To: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> References: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Message-ID: Some insights to Access 12 http://blogs.msdn.com/access/ Martin From harkinsss at bellsouth.net Tue Nov 15 09:33:55 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Tue, 15 Nov 2005 10:33:55 -0500 Subject: [AccessD] Counting group headers in a report (FAQ) In-Reply-To: <000201c5e9f8$7a1f4cc0$0200a8c0@danwaters> Message-ID: <20051115153355.YUAJ3361.ibm59aec.bellsouth.net@SUSANONE> I'm confused, you're counting group headers or the number of records in each group? Susan H. A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! From bheid at appdevgrp.com Tue Nov 15 09:51:04 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 15 Nov 2005 10:51:04 -0500 Subject: [AccessD] FastLaserPrinting? Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From Gustav at cactus.dk Tue Nov 15 10:03:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 17:03:12 +0100 Subject: [AccessD] FastLaserPrinting? Message-ID: Hi Bobby Good question. I've noticed any difference. /gustav >>> bheid at appdevgrp.com 15-11-2005 16:51 >>> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From jimdettman at earthlink.net Tue Nov 15 10:10:47 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 15 Nov 2005 11:10:47 -0500 Subject: [AccessD] FastLaserPrinting? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Message-ID: Bobby, I only play with it if a printer won't render the output the same as preview mode, although now that I think about it, it's been a *long* time since I needed to do that. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bobby Heid Sent: Tuesday, November 15, 2005 10:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] FastLaserPrinting? Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 15 10:28:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2005 17:28:36 +0100 Subject: [AccessD] FastLaserPrinting? Message-ID: Sorry: I've never noticed any difference ... /gustav >>> Gustav at cactus.dk 15-11-2005 17:03 >>> Hi Bobby Good question. I've noticed any difference. /gustav >>> bheid at appdevgrp.com 15-11-2005 16:51 >>> Has anyone played around with this setting on the reports? After reading the help file, it appears that on modern laser printers, this does not matter. But I wanted to get the list's take on this. Thanks, Bobby From cfoust at infostatsystems.com Tue Nov 15 10:39:48 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Nov 2005 08:39:48 -0800 Subject: [AccessD] Building classes for tables Message-ID: So you're trying to build the VBA equivalent of the dot net wizard that generates a typed dataset, right? You could use a typed dataset class as a model for the result and back into the code to build it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com From wdhindman at bellsouth.net Tue Nov 15 10:57:46 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 15 Nov 2005 11:57:46 -0500 Subject: [AccessD] FastLaserPrinting? References: <916187228923D311A6FE00A0CC3FAA30ABF2AC@ADGSERVER> Message-ID: <000e01c5ea05$b45829e0$6101a8c0@JISREGISTRATION.local> ...fits under problems looking for a home :) ...I turn it off ...its designed to speed laser printing by replacing graphic lines and rectangles with the text equivalents ...one problem is that if you overlap any graphics ...which I do a lot of ...it'll screw them up ...the text gets only the top layer and the overlapped graphic now looks a mess ...besides which it doesn't work at all with postscript drivers and even with pcl drivers it can give you unexpected results from printer to printer. William ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, November 15, 2005 10:51 AM Subject: [AccessD] FastLaserPrinting? > Has anyone played around with this setting on the reports? After reading > the help file, it appears that on modern laser printers, this does not > matter. But I wanted to get the list's take on this. > > Thanks, > Bobby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Tue Nov 15 10:49:45 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 15 Nov 2005 11:49:45 -0500 Subject: [AccessD] Emailing Form Data Message-ID: I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From wdhindman at bellsouth.net Tue Nov 15 11:22:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 15 Nov 2005 12:22:45 -0500 Subject: [AccessD] Emailing Form Data References: Message-ID: <004801c5ea09$318bfbf0$6101a8c0@JISREGISTRATION.local> ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mboyd at deloitte.com Tue Nov 15 11:33:22 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 15 Nov 2005 12:33:22 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks William. I'd like to lean more towards the 1st suggestion, as allowing access to a website is not in the client's scope for the current project. As I'm a complete novice to JavaScript, and HTML in general, do you have any examples of attaching a csv file to an HTML form? Thanks again. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, November 15, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 15 11:44:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 15 Nov 2005 11:44:54 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD84D@corp-es01.fleetpride.com> What is plain old form submit? Jim Hale -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Tuesday, November 15, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data ...everyone has a browser ...export the data to a csv ...attach an html form using the csv as source with js ...they update the data and send it back ...you dump the form and import the csv file directly into your tables ...write once, use forever. ...you could post the form to a web site tied to an mdb and have them just update it ...then you dl the data and do what you will ...or just a plain old form submit if the data is only a few records William ----- Original Message ----- From: "Boyd, Mark Thomas (US - Philadelphia)" To: "Access Developers discussion and problem solving" Sent: Tuesday, November 15, 2005 11:49 AM Subject: [AccessD] Emailing Form Data >I need to send database data to end-users, have them modify, and return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would work, but > I'm not sure what kind of form to use. We've considered Outlook forms, > but creating this form from code is very time-consuming, and uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program installed. > > Because the sending of this form will occur on a weekly basis, I'd like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > This message (including any attachments) contains confidential information > intended for a specific individual and purpose, and is protected by law. > If you are not the intended recipient, you should delete this message. > > > Any disclosure, copying, or distribution of this message, or the taking of > any action based on it, is strictly prohibited. [v.E.1] > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Tue Nov 15 12:26:55 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 15 Nov 2005 10:26:55 -0800 Subject: [AccessD] Emailing Form Data References: Message-ID: <437A286F.4060002@shaw.ca> A couple of other ways to do this. Although email is considered out of process workflow Email can get lost or never acted on. InfoPath Forms Email http://blogs.msdn.com/trobbins/archive/2005/06/16/430012.aspx InfoPath Via Sharepoint might avoid lost email http://msd2d.com/Content/Tip_viewitem_03.aspx?section=SharePoint&category=Development&id=40665054-c48a-4752-a2b5-6513d12822e3 I believe you can fill in forms with just .Net Framework installed or This might be more general if you have multiple OS Adobe PDF Form fill Just add fillable fields to a PDF file, email and retrieve data You can encrypt and password protect Doable with Adobe SDK or third party tools like ActivePDF Boyd, Mark Thomas (US - Philadelphia) wrote: >I need to send database data to end-users, have them modify, and return >back to me. >My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a >form with 2 controls per record, txtProjectName (textbox) and >cmbProgress (combo box). The data on the combo box needs to be updated >on a weekly basis, with values of 0 - 100%, in increments of 10. > >What is the easiest way to send this data for user reponse? >I'm thinking that sending a user form as an attachment would work, but >I'm not sure what kind of form to use. We've considered Outlook forms, >but creating this form from code is very time-consuming, and uploading >the returned data within customized fields sounds daunting. >InfoPath would be ideal, but not all users have this program installed. > >Because the sending of this form will occur on a weekly basis, I'd like >to automate it as much as possible. >Any direction is greatly appreciated. > >Thanks. > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From adtp at touchtelindia.net Tue Nov 15 12:55:10 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 16 Nov 2005 00:25:10 +0530 Subject: [AccessD] Counting group headers in a report (FAQ) References: <8531E9A9B2ADC94994C25E0856C5663606D02C@EXCHVS1.rail.nsw.gov.au> Message-ID: <00a101c5ea16$257853b0$f60a65cb@winxp> bruce, Following course of action is suggested (1) Counting the number of groups (a) Place a calculated text box named grpcnt, having expression =1 in the group footer (as already done by you). Set it's RunningSum property to OverAll. (b) Place a text box named TxtTot having expression =[grpcnt] in report footer. This text box (as well as the one in last group footer) will display the total count of groups. (2) Counting the number of records in each group. (a) Use the expression = Count(*) in the text box in group footer. (b) If progressive totals are needed, set the RunningSum property to OverAll, otherwise set it to None. (3) Counting the grand total number of records in the report. Place a text box having expression = Count(*) in report footer. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Bruen, Bruce To: accessd at databaseadvisors.com Sent: Tuesday, November 15, 2005 10:19 Subject: [AccessD] Counting group headers in a report (FAQ) ... I've done this a zillion times.... A colleague asked me how to get a count of the group headers in report. He has a query based report that has a single group header/footer and wants just the summary report, so he makes the group header and detail sections invisible (a neat trick to get a quick summary report that I'd never thought of by the way.). Now he just wants to count the group footers and put that count into the report footer. So I just popped an unbound textbox into the footer, named it grpcnt and set its value to =1 and in the report footer I put another unbound textbox with value =Sum([grpcnt]). I am sure I've done this before!!! A97 thinks that [grpcnt] is some type of parameter for the report and pops up a parameter entry form when I run the report. Erstwhile MSAccess guru exits stage left with egg on face and begs AccessD'ers for the solution.... bruce From DWUTKA at marlow.com Tue Nov 15 12:56:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 12:56:55 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA601B@main2.marlow.com> Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Nov 15 13:04:40 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 14:04:40 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <123701F54509D9119A4F00D0B7473490EA601B@main2.marlow.com> Message-ID: <014f01c5ea17$6ead84a0$667aa8c0@ColbyM6805> Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 15 17:24:44 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 17:24:44 -0600 Subject: [AccessD] Building classes for tables Message-ID: <123701F54509D9119A4F00D0B7473490EA6020@main2.marlow.com> Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 15 17:26:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 15 Nov 2005 17:26:23 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <123701F54509D9119A4F00D0B7473490EA6021@main2.marlow.com> It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Tuesday, November 15, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Emailing Form Data I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Nov 15 17:38:07 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 15 Nov 2005 15:38:07 -0800 Subject: [AccessD] Building classes for tables Message-ID: You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 1:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Ya, I meant field, not table. Shouldn't be too hard, but I think you would want it to make 2 classes. One class to hold the information of the record, and one class to hold the 'records' in a collection. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I am discussing building a CLASS, inserted into the modules collection in Access, where a table is specified. Once the table is specified, a PRIVATE variable for is created each field in the table in the header of the class, and a property get/let is created for each private variable. In other words, specify the table name and press the button. Look in the modules tab and find a new class with private variables and public property get/let methods for each field in the table. A Class builder. I can then take that class "template" and start adding init code, and custom methods etc. This is doable, but it is a long time since I tried mucking with the VBA editor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 14, 2005 5:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables I had built a 'Properties' property. It was an Add-in to VB. Though I don't think building one to create a property for each table would be too difficult. Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 14, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables 8-( I could swear that someone a long time ago mentioned building an automatic class builder. Oh well. Perhaps I should build one. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 14, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Sounds like a dot net Typed Dataset to me, John. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 14, 2005 11:33 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building classes for tables I seem to remember someone saying that they had designed a tool to build a class for a given table, i.e. variables to hold the data in the fields, and property get/let statements for each variable. Has someone done this? Is it available? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Nov 15 18:07:12 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 15 Nov 2005 16:07:12 -0800 Subject: [AccessD] fyi; Access 2003 Runtime FAQ Message-ID: I'm actually looking up what the limitations of Access 2003 runtime are, since the sagekey script is built around supporting Windows 2000 and up only...The following link is a useful link on trivial info on Access 2003 runtime. (FYI) http://www.utteraccess.com/forums/access/access6116.html -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at ColbyConsulting.com Tue Nov 15 21:03:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 15 Nov 2005 22:03:06 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <017101c5ea5a$44ec24d0$667aa8c0@ColbyM6805> I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Tue Nov 15 22:40:01 2005 From: john at winhaven.net (John Bartow) Date: Tue, 15 Nov 2005 22:40:01 -0600 Subject: [AccessD] Access 2000 Developer's Handbook Set Message-ID: <006801c5ea67$cf3f9970$6701a8c0@ScuzzPaq> FOR SALE ACCESS 2000 DEVELOPER'S HANDBOOK SET WITH CD's 2 book set in box set sleeve. Desktop Edition and Enterprise Edition each comes with a CD. Both CDs have been opened but work fine. Everything is in very good condition. If interested contact me offlist at: john at winhaven.net From john at winhaven.net Tue Nov 15 23:08:08 2005 From: john at winhaven.net (John Bartow) Date: Tue, 15 Nov 2005 23:08:08 -0600 Subject: [AccessD] A97 BE with A2k3 FE Message-ID: <007c01c5ea6b$bd292e00$6701a8c0@ScuzzPaq> Anyone have any experience with using an A2k3 FE with and A97 BE? I've been testing it for a client request and haven't had any problems yet but would like to hear of others experiences. TIA John B. From Bruce.Bruen at railcorp.nsw.gov.au Wed Nov 16 00:21:52 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 16 Nov 2005 17:21:52 +1100 Subject: [AccessD] A97 BE with A2k3 FE Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Been running a similar scenario for a year now on a test management system that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. The only problems I have found have been forgetting where I was and making changes to the UI in A2k3 which are not compatible with the A2k fromt end. Sound strange? The back end is a UML model repository that we use to design the tests. It's a Jet db that starts life as an A97 db and gets used by the UML tool from http://www.sparxsystems.com.au (no relationship - highly recommended) via Jet 4.0, when we move into test execution stage we use a home-grown results recorder which I use on an A2k dev machine, the test lead uses on an A2k runtime machine and every time I go home I think of something else we could do and dev it up on A2k3..... I have on occasion also taken the db's home and up-and-down-gradeded them to A2k3 and back to "prev" without any ill effects. .... Just lucky I guess :-) Hth Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, 16 November 2005 4:08 PM To: _DBA-Access Subject: [AccessD] A97 BE with A2k3 FE Anyone have any experience with using an A2k3 FE with and A97 BE? I've been testing it for a client request and haven't had any problems yet but would like to hear of others experiences. TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From artful at rogers.com Wed Nov 16 01:08:12 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 02:08:12 -0500 Subject: [AccessD] Design Question In-Reply-To: <53c8e05a0511132138u4df7c673kd6641e894e4416d7@mail.gmail.com> Message-ID: <200511160708.jAG786J26018@databaseadvisors.com> Being a normalization freak, my take would be a thrice of tables, Contacts and ContactRelationships and Relationships, the intermediate table being associative (i.e. M-M). Then in case a new relationship evinces, you are covered by simply adding a row to Relationships and populating the associative table appropriately. If you are absolutely sure that no other relationships can evolve other than the two stated, then my proposal is overkill. Assuming this, then you need a column (YesNo) for each of the two relationships. You queries will then need to anticipate either or both. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: November 14, 2005 12:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] Design Question Hey guys got a quick question about design. I'm making a database for a non-profit service organization I'm working for. There's going to be membership data per person, however, at the same time the person may be a contact to an external organization for part of their projects, or it may be some completely unrelated person. Here's my question: Should I have only one table, called say People, or should I have two seperate tables of data: Members and Contacts? Option A would require intermediate tables linking anything to the people table, but Option B would maintain duplicate data for members that are also in external contact organizations. Any suggestions? Thanks! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 16 05:20:39 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 12:20:39 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi all Have anyone experienced issues when using Ctrl+B to open the search form? A client has a user with an Access 97 app which has run for years. Suddenly, if she presses Ctrl+B to search it works fine but next time she does this, the app freezes and becomes inactive. She has to reboot or use Task Manager to kill Access. The tricky part is that if other users log in on her machine, the issue persists. Other users don't see this issue when working at their own machine. However, if the user in question logs in on another user's machine, the issue follows her. The client uses roaming profiles and the notwork guy claims to have rebuilt these but to no avail. My own guess is to double-check for some corrupted Access/Jet temp files as the first thing. Before reinstalling "everything" I wonder if anyone has seen something similar? /gustav From wdhindman at bellsouth.net Wed Nov 16 06:15:53 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 07:15:53 -0500 Subject: [AccessD] A97 BE with A2k3 FE References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Message-ID: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> ...I've been very pleasantly surprised at A2K3's compatibility with older versions ...I just yesterday installed a pretty good sized app on a client's A2K2 runtime that had been fully developed in A2K3 ...I expected to at least have to change some references to the treeview ocx, etc ...but it ran without a hitch :) ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 secured be ...so far it takes to it like a duck takes to water. William ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 1:21 AM Subject: Re: [AccessD] A97 BE with A2k3 FE > Been running a similar scenario for a year now on a test management > system that uses both an A97 (Jet 3.5) back end which is also used by a > Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 > front end. The only problems I have found have been forgetting where I > was and making changes to the UI in A2k3 which are not compatible with > the A2k fromt end. > Sound strange? > > The back end is a UML model repository that we use to design the tests. > It's a Jet db that starts life as an A97 db and gets used by the UML > tool from http://www.sparxsystems.com.au (no relationship - highly > recommended) via Jet 4.0, when we move into test execution stage we use > a home-grown results recorder which I use on an A2k dev machine, the > test lead uses on an A2k runtime machine and every time I go home I > think of something else we could do and dev it up on A2k3..... > > I have on occasion also taken the db's home and up-and-down-gradeded > them to A2k3 and back to "prev" without any ill effects. > > > .... Just lucky I guess :-) > > Hth > Bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Wednesday, 16 November 2005 4:08 PM > To: _DBA-Access > Subject: [AccessD] A97 BE with A2k3 FE > > Anyone have any experience with using an A2k3 FE with and A97 BE? > > I've been testing it for a client request and haven't had any problems > yet but would like to hear of others experiences. > > TIA > John B. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > This e-mail and any attachments may contain confidential information that > is intended solely for the use of the intended recipient and may be > subject to copyright. If you receive this e-mail in error, please notify > the sender immediately and delete the e-mail and its attachments from your > system. You must not disclose, copy or use any part of this e-mail if you > are not the intended recipient. Any opinion expressed in this e-mail and > any attachments is not an opinion of RailCorp unless stated or apparent > from its content. RailCorp is not responsible for any unauthorised > alterations to this e-mail or any attachments. RailCorp will not incur any > liability resulting directly or indirectly as a result of the recipient > accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 06:28:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 07:28:10 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: Message-ID: <001d01c5eaa9$3527f1b0$6101a8c0@JISREGISTRATION.local> ...is the mdb somehow being placed in her local profiled directories and uploaded to her server profile on the server? ...I'd look in her server profile and see if the notwork guy has got the mdb directory as one of her profile caches. ...this of course assumes that her local copy of the fe was corrupted in the first place, seen by the server as a change when she logged off, and then uploaded to her profile cache to forever repeat ...groundhog day, eh :) ...if this turns out to be the case, I'd Colbyize the notwork guy :( William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 6:20 AM Subject: [AccessD] Search with Ctrl+B freeze app > Hi all > > Have anyone experienced issues when using Ctrl+B to open the search form? > > A client has a user with an Access 97 app which has run for years. > Suddenly, if she presses Ctrl+B to search it works fine but next time she > does this, the app freezes and becomes inactive. She has to reboot or use > Task Manager to kill Access. > > The tricky part is that if other users log in on her machine, the issue > persists. Other users don't see this issue when working at their own > machine. However, if the user in question logs in on another user's > machine, the issue follows her. > > The client uses roaming profiles and the notwork guy claims to have > rebuilt these but to no avail. > > My own guess is to double-check for some corrupted Access/Jet temp files > as the first thing. > Before reinstalling "everything" I wonder if anyone has seen something > similar? > > /gustav > > -- > 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 Nov 16 05:34:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 12:34:32 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: <20051116123429.9F57124FAB3@smtp.nildram.co.uk> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 11:22 Hi all Have anyone experienced issues when using Ctrl+B to open the search form? A client has a user with an Access 97 app which has run for years. Suddenly, if she presses Ctrl+B to search it works fine but next time she does this, the app freezes and becomes inactive. She has to reboot or use Task Manager to kill Access. The tricky part is that if other users log in on her machine, the issue persists. Other users don't see this issue when working at their own machine. However, if the user in question logs in on another user's machine, the issue follows her. The client uses roaming profiles and the notwork guy claims to have rebuilt these but to no avail. My own guess is to double-check for some corrupted Access/Jet temp files as the first thing. Before reinstalling "everything" I wonder if anyone has seen something similar? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Nov 16 06:47:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 13:47:13 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? From Gustav at cactus.dk Wed Nov 16 07:12:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 14:12:35 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William No, that is not so. Access 97 is installed the normal way and the FE in a directory of its own. Only the desktop icon is provided by the profile. My colleague suggests that "something" could have been installed on her machine which caused "something" to Access and/or her profile which then is carried around if she logs in on other machines ... Quite vague thoughts as you can see. Oh, and Groundhog Day is one of my favourite movies! /gustav >>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> ...is the mdb somehow being placed in her local profiled directories and uploaded to her server profile on the server? ...I'd look in her server profile and see if the notwork guy has got the mdb directory as one of her profile caches. ...this of course assumes that her local copy of the fe was corrupted in the first place, seen by the server as a change when she logged off, and then uploaded to her profile cache to forever repeat ...groundhog day, eh :) ...if this turns out to be the case, I'd Colbyize the notwork guy :( William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 6:20 AM Subject: [AccessD] Search with Ctrl+B freeze app > Hi all > > Have anyone experienced issues when using Ctrl+B to open the search form? > > A client has a user with an Access 97 app which has run for years. > Suddenly, if she presses Ctrl+B to search it works fine but next time she > does this, the app freezes and becomes inactive. She has to reboot or use > Task Manager to kill Access. > > The tricky part is that if other users log in on her machine, the issue > persists. Other users don't see this issue when working at their own > machine. However, if the user in question logs in on another user's > machine, the issue follows her. > > The client uses roaming profiles and the notwork guy claims to have > rebuilt these but to no avail. > > My own guess is to double-check for some corrupted Access/Jet temp files > as the first thing. > Before reinstalling "everything" I wonder if anyone has seen something > similar? > > /gustav From andy at minstersystems.co.uk Wed Nov 16 06:38:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 13:38:14 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: <20051116133811.E6A9B251F6B@smtp.nildram.co.uk> Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- 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 mboyd at deloitte.com Wed Nov 16 07:54:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 16 Nov 2005 08:54:55 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Tuesday, November 15, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Emailing Form Data I need to send database data to end-users, have them modify, and return back to me. My table contains 2 fields, [ProjectName] and [ProgressPrct]. I have a form with 2 controls per record, txtProjectName (textbox) and cmbProgress (combo box). The data on the combo box needs to be updated on a weekly basis, with values of 0 - 100%, in increments of 10. What is the easiest way to send this data for user reponse? I'm thinking that sending a user form as an attachment would work, but I'm not sure what kind of form to use. We've considered Outlook forms, but creating this form from code is very time-consuming, and uploading the returned data within customized fields sounds daunting. InfoPath would be ideal, but not all users have this program installed. Because the sending of this form will occur on a weekly basis, I'd like to automate it as much as possible. Any direction is greatly appreciated. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Nov 16 07:57:21 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 08:57:21 -0500 Subject: [AccessD] fyi; Access 2003 Runtime FAQ In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE28E4@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2BF@ADGSERVER> Thanks for the link. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, November 15, 2005 7:07 PM To: fhtapia at gmail.com; davidmcafee at gmail.com; Access Developers discussion and problem solving Subject: [AccessD] fyi; Access 2003 Runtime FAQ I'm actually looking up what the limitations of Access 2003 runtime are, since the sagekey script is built around supporting Windows 2000 and up only...The following link is a useful link on trivial info on Access 2003 runtime. (FYI) http://www.utteraccess.com/forums/access/access6116.html -- -Francisco From Gustav at cactus.dk Wed Nov 16 08:11:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 15:11:59 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Andy Focus on a textbox, that should do. But I recall faintly that you perhaps can shut this function off? No popup-menus? /gustav >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? From markamatte at hotmail.com Wed Nov 16 08:37:31 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 16 Nov 2005 14:37:31 +0000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Nov 16 08:46:24 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 16 Nov 2005 15:46:24 +0100 Subject: [AccessD] error Message-ID: <000601c5eabc$8478aee0$4001a8c0@laptop> Hello Group, who has an idea why this errortable occurs: error ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens Pedro Janssen From Jim.Hale at FleetPride.com Wed Nov 16 08:49:37 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 08:49:37 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD84F@corp-es01.fleetpride.com> If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Gustav at cactus.dk Wed Nov 16 08:51:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 15:51:59 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Mark Strange. Works in Excel as well. /gustav >>> markamatte at hotmail.com 16-11-2005 15:37 >>> I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. From stuart at lexacorp.com.pg Wed Nov 16 09:02:14 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 17 Nov 2005 01:02:14 +1000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: <437BD696.10854.3A35812@stuart.lexacorp.com.pg> On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart From mboyd at deloitte.com Wed Nov 16 09:11:27 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 16 Nov 2005 10:11:27 -0500 Subject: [AccessD] Emailing Form Data Message-ID: Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From bheid at appdevgrp.com Wed Nov 16 09:13:12 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 10:13:12 -0500 Subject: [AccessD] error In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE296E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2C5@ADGSERVER> Pedro, In what context are you getting this error? Note that a field does not have to have description and you might need to trap for this when trying to access a field description. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Wednesday, November 16, 2005 9:46 AM To: AccessD Subject: [AccessD] error Hello Group, who has an idea why this errortable occurs: error ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens Pedro Janssen From bheid at appdevgrp.com Wed Nov 16 09:21:56 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 16 Nov 2005 10:21:56 -0500 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE2977@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF2C7@ADGSERVER> I have always used Ctrl-F to search. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, November 16, 2005 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Search with Ctrl+B freeze app On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Nov 16 09:28:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 16 Nov 2005 16:28:17 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi Stuart Nope. Could this be localized? Try Ctrl+F. /gustav >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> On 16 Nov 2005 at 15:51, Gustav Brock wrote: > Hi Mark > > Strange. Works in Excel as well. > Only thing I've ever seen Ctrl+B do in Excel in make the current selection Bold. Are you using some sort of Hotkey utility to change default key behaviours? -- Stuart From lmrazek at lcm-res.com Wed Nov 16 09:29:19 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 16 Nov 2005 09:29:19 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <02f601c5eac2$838ae4c0$036fa8c0@hplaptop> Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. 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 Mark A Matte Sent: Wednesday, November 16, 2005 8:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Search with Ctrl+B freeze app I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Nov 16 09:42:14 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 16 Nov 2005 15:42:14 -0000 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <02f601c5eac2$838ae4c0$036fa8c0@hplaptop> Message-ID: Yes you can send formula to an Excel sheet, I have recently used this: .Cells(intExcelRowArray(intSheet) + 3, 2) = "=SUM(B2:B" & intExcelRowArray(intSheet) & ")" With the "=SUM(B2:B" & intExcelRowArray(intSheet) & ")" Being the actual formual that I need to sum column B row 2 to column B and whatever the last row that I actually sent data to Hope this helps -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawrence Mrazek Sent: 16 November 2005 15:29 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. 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 Mark A Matte Sent: Wednesday, November 16, 2005 8:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Search with Ctrl+B freeze app I'm looking too...and nothing happens...in Access...now in IE a window opens to 'Manage Favorites'. Any other clues? Thanks, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: Wed, 16 Nov 2005 15:11:59 +0100 > >Hi Andy > >Focus on a textbox, that should do. >But I recall faintly that you perhaps can shut this function off? No >popup-menus? > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 13:38 >>> >Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and >nothing's happening. > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "accessd at databaseadvisors.com" >Subject: Re: [AccessD] Search with Ctrl+B freeze app >Date: 16/11/05 12:48 > > >Hi Andy > >It pops the small native Access search form. > >/gustav > > >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> >Sorry Gustav, but I've got to ask - what does Ctrl B do? > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 16 09:49:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 10:49:06 -0500 Subject: [AccessD] Transactions around huge transformations Message-ID: <019d01c5eac5$478b1000$667aa8c0@ColbyM6805> I am still working on the data migration (transform) application for a specific client. The transform consists of archiving a bunch of tables (20 or so), deleting all records in these tables, then appending new data in. What I am wondering is whether transactions can be used to wrap this large a sequence of operations to cause a rollback in the event anything goes wrong. I am also wondering whether I even want to do so since the failure may be related to the instantaneous state of some table which would be trashed if that table got rolled back. IOW, how can I see what went wrong if I roll back all the changes? So, does anyone have any experience in wrapping dozens of operations in a single transaction? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Wed Nov 16 11:02:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 12:02:55 -0500 Subject: [AccessD] In clause Message-ID: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Is the In 'SomeDatabase' clause an Access specific SQL extension? SELECT * FROM SomeTable IN 'SomeDatabase' John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From mikedorism at verizon.net Wed Nov 16 11:08:51 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 16 Nov 2005 12:08:51 -0500 Subject: [AccessD] In clause In-Reply-To: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Message-ID: <000001c5ead0$6c294bb0$2f01a8c0@dorismanning> If you are using SQL Server, the correct syntax is... SELECT * FROM SomeDatabase.dbo.SomeTable Doris Manning mikedorism at verizon.net From djkr at msn.com Wed Nov 16 11:12:55 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 16 Nov 2005 17:12:55 -0000 Subject: [AccessD] Transactions around huge transformations In-Reply-To: <019d01c5eac5$478b1000$667aa8c0@ColbyM6805> Message-ID: Hi John Experience, yes, though it was some years ago and I can't now recall details about the volume of operations within each transaction. Lots of appends to multiple tables, at least - can't remember what else. I think it must have been on A97. I'm not *aware* of any system limitations imposed by Access itself, but that may just be ignorance! My application was handling multiple batches of potential updates to the database, and each batch *might* get rejected in its entirety as a result of validation done on-the-fly while appending/updating the main tables. But I continued the processing of a batch even after finding an error, in the hope of finding *all* errors, before the transaction was finally rolled back. What was interesting (to me, at least) was that I logged any errors in another table which therefore had to be appended/updated in a separate workspace, to avoid being affected by the transaction roll-back on the first one. I did find a bug in Access (confirmed, thank goodness, by Shamil!) relating to Access's reporting of the number of records in a table at some point, but we concluded that it was essentially harmless - provided the user didn't see the apparent discrepancy! The resulting database ran happily every week, and may still be doing so. End of lamp-swinging. Of course you'll take a copy first ... Good luck John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: 16 November 2005 15:49 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Transactions around huge transformations I am still working on the data migration (transform) application for a specific client. The transform consists of archiving a bunch of tables (20 or so), deleting all records in these tables, then appending new data in. What I am wondering is whether transactions can be used to wrap this large a sequence of operations to cause a rollback in the event anything goes wrong. I am also wondering whether I even want to do so since the failure may be related to the instantaneous state of some table which would be trashed if that table got rolled back. IOW, how can I see what went wrong if I roll back all the changes? So, does anyone have any experience in wrapping dozens of operations in a single transaction? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 11:30:54 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 09:30:54 -0800 Subject: [AccessD] Building classes for tables Message-ID: Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 11:37:41 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 12:37:41 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <01a801c5ead4$72ed0730$667aa8c0@ColbyM6805> I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 11:47:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 09:47:38 -0800 Subject: [AccessD] Building classes for tables Message-ID: Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 16 11:52:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:35 -0600 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: <001101c5ead6$8755b850$6701a8c0@ScuzzPaq> William, Thanks for the input! I've actually been working implementing a Treeview Navigation scheme which opens a specific subform for detail for much of the application. Good to know that comes through without a hitch. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman ...I've been very pleasantly surprised at A2K3's compatibility with older versions ...I just yesterday installed a pretty good sized app on a client's A2K2 runtime that had been fully developed in A2K3 ...I expected to at least have to change some references to the treeview ocx, etc ...but it ran without a hitch :) ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 secured be ...so far it takes to it like a duck takes to water. William From john at winhaven.net Wed Nov 16 11:52:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:35 -0600 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> Message-ID: <001201c5ead6$879f9290$6701a8c0@ScuzzPaq> Bruce, Thanks for the input! Sounds like what you're doing is more complicated than my possible venture. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Been running a similar scenario for a year now on a test management system that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. The only problems I have found have been forgetting where I was and making changes to the UI in A2k3 which are not compatible with the A2k fromt end. Sound strange? The back end is a UML model repository that we use to design the tests. It's a Jet db that starts life as an A97 db and gets used by the UML tool from http://www.sparxsystems.com.au (no relationship - highly recommended) via Jet 4.0, when we move into test execution stage we use a home-grown results recorder which I use on an A2k dev machine, the test lead uses on an A2k runtime machine and every time I go home I think of something else we could do and dev it up on A2k3..... I have on occasion also taken the db's home and up-and-down-gradeded them to A2k3 and back to "prev" without any ill effects. .... Just lucky I guess :-) Hth Bruce From john at winhaven.net Wed Nov 16 11:52:54 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 11:52:54 -0600 Subject: [AccessD] A2K3 ADP Message-ID: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Does anyone have comments on ADPs with A2K3? IIRC there were some negatives brought up about them here with previous versions. Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? TIA John B. From shamil at users.mns.ru Wed Nov 16 12:06:13 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 16 Nov 2005 21:06:13 +0300 Subject: [AccessD] Building classes for tables References: Message-ID: <004201c5ead8$76afdec0$6401a8c0@fincomplex.spb.ru> <<< I don't think anyone has done it here >>> I did that Charlotte in autumn 1999 while in Belgium. I have the code. But this code was paid by the customer. Therefore I think I don't have copyright on this code and I can't post it here? Just wanted to note that there are no probably MS Access related subject areas somebody from this group didn't work in. :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 8:47 PM Subject: Re: [AccessD] Building classes for tables > Right, and I'm saying use the dot net typed dataset as a model for the > class template, give the class a recordset property, and build a wizard > or simply the code to create a custom instance of the class for each > table you pass in. I don't think anyone has done it here or you would > have had someone fess up before this. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 16, 2005 9:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I started the thread asking whether anyone had build such a widget for > ACCESS. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, November 16, 2005 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > Huh? Are you talking dot net or Access? In dot net, typed datasets > model the data source, but they aren't "connected", they're a sort of > interface to the table or tables that inherits the dataset object. You > can build one by hand for tables that don't exist and you can add > expressions that pull data from related tables and stick it into the > primary table in the dataset. > > In Access, there's no reason you couldn't give the table class a > recordset property. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, November 15, 2005 7:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I was discussing doing it in VBA (Access). Besides Typed datasets are > connected correct? If you want a disconnected object to hold the record > data you need a class that gets instantiated and filled, then saved in a > collection of a supervisor object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 15, 2005 6:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > You don't need an add-in for it in dot net, Drew. That's what Typed > Datasets are, automagically built classes that contain all that stuff > for the table or tables involved in dataset that is the basis for the > Typed Dataset. You can even include relationships and calculated > expressions as "fields". > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, November 15, 2005 3:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Building classes for tables > > > Not really, you can get the data type of the field, the field name, and > even the description of the field. It would be a simple select case to > build a property Let and Get statement for each field. To go a bit > further, you should also be able to determine if a field is an ID field, > or get the indexes of the field to build an ID. I would make it > straightforward, that if there is an autonumber field, you include a > 'get and write' capability. Normally, when I build this type of class > structure, I include a StorageOnly boolean value, that sets to false > when the class loads. Then, when you set the value of the ID field, if > StorageOnly is True, it does nothing but stores the value, if it's > false, then it goes and 'fills itself' with that particular record. Then > add a 'Save' Function. When the class initializes, you set an internal > value that states the record is 'new'. When you set the ID field, it > also sets that value to 'old'. When you run the save function, it > either creates a new record with said values or updates the existing > records of that table. > > That way, the second 'collection' class can set the StorageOnly property > to true, to pull all of the records up at once, or you can create a > single instance of your 'record' class and by setting it's ID property, > it automatically retrieves it's data for you. > > An Add-in could use the properties of the field to create the property > names within the class, along with comments, etc. > > I could build one for you, but I would do it in VBA, so it would be a > VB6 add-in. I think you use .Net, which uses slightly different code > for properties (if I remember right, you go Property Something() then > have a Get and Let statement within the property....only played around > with .Net a little bit). > > You could even have the Let() statements set a 'dirty' property, and > have a 'reset' function to restore the original values and clear the > dirty property. > > Let me know if you want me to build something like this in VB6, I could > send you the VB6 Add-in code then...shouldn't require too much change to > work in .Net. > > Drew > > -----Original Message----- > From: John Colby [SMTP:jwcolby at colbyconsulting.com] > Sent: Tuesday, November 15, 2005 1:05 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > Sure, of course except that the "information of the record" is > pretty > structured and a PITA to have to do every time. The "records in > the table" > is more specific to the application, and so less can be done > with a wizard. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:02:25 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:02:25 -0500 Subject: [AccessD] A2K3 ADP In-Reply-To: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <01b401c5ead7$e6d0f7d0$667aa8c0@ColbyM6805> They are a dead end. Microsoft is neutering them in the next version. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 16, 2005 12:53 PM To: _DBA-Access Subject: [AccessD] A2K3 ADP Does anyone have comments on ADPs with A2K3? IIRC there were some negatives brought up about them here with previous versions. Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Nov 16 12:04:31 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:04:31 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01a801c5ead4$72ed0730$667aa8c0@ColbyM6805> Message-ID: <200511161804.jAGI4aR42493@ultradnt.com> John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Nov 16 12:07:24 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:07:24 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: Message-ID: <200511161807.jAGI7SR42953@ultradnt.com> >>custom instance of the class I guess my actual question to John is - Is this intended for runtime or a design time "helper"? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Nov 16 12:15:43 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 16 Nov 2005 10:15:43 -0800 Subject: [AccessD] Building classes for tables Message-ID: I should have known you would have done it, Shamil! ;-} But since you can't contribute the code to John, it amounts to the same thing as nobody having done it here. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, November 16, 2005 10:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables <<< I don't think anyone has done it here >>> I did that Charlotte in autumn 1999 while in Belgium. I have the code. But this code was paid by the customer. Therefore I think I don't have copyright on this code and I can't post it here? Just wanted to note that there are no probably MS Access related subject areas somebody from this group didn't work in. :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 8:47 PM Subject: Re: [AccessD] Building classes for tables > Right, and I'm saying use the dot net typed dataset as a model for the > class template, give the class a recordset property, and build a > wizard or simply the code to create a custom instance of the class for > each table you pass in. I don't think anyone has done it here or you > would have had someone fess up before this. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 16, 2005 9:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I started the thread asking whether anyone had build such a widget for > ACCESS. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Wednesday, November 16, 2005 12:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > Huh? Are you talking dot net or Access? In dot net, typed datasets > model the data source, but they aren't "connected", they're a sort of > interface to the table or tables that inherits the dataset object. > You can build one by hand for tables that don't exist and you can add > expressions that pull data from related tables and stick it into the > primary table in the dataset. > > In Access, there's no reason you couldn't give the table class a > recordset property. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Tuesday, November 15, 2005 7:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > > I was discussing doing it in VBA (Access). Besides Typed datasets are > connected correct? If you want a disconnected object to hold the > record data you need a class that gets instantiated and filled, then > saved in a collection of a supervisor object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, November 15, 2005 6:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > You don't need an add-in for it in dot net, Drew. That's what Typed > Datasets are, automagically built classes that contain all that stuff > for the table or tables involved in dataset that is the basis for the > Typed Dataset. You can even include relationships and calculated > expressions as "fields". > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, November 15, 2005 3:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Building classes for tables > > > Not really, you can get the data type of the field, the field name, > and even the description of the field. It would be a simple select > case to build a property Let and Get statement for each field. To go > a bit further, you should also be able to determine if a field is an > ID field, or get the indexes of the field to build an ID. I would > make it straightforward, that if there is an autonumber field, you > include a 'get and write' capability. Normally, when I build this type > of class structure, I include a StorageOnly boolean value, that sets > to false when the class loads. Then, when you set the value of the ID > field, if StorageOnly is True, it does nothing but stores the value, > if it's false, then it goes and 'fills itself' with that particular > record. Then add a 'Save' Function. When the class initializes, you > set an internal value that states the record is 'new'. When you set > the ID field, it also sets that value to 'old'. When you run the > save function, it either creates a new record with said values or > updates the existing records of that table. > > That way, the second 'collection' class can set the StorageOnly > property to true, to pull all of the records up at once, or you can > create a single instance of your 'record' class and by setting it's ID > property, it automatically retrieves it's data for you. > > An Add-in could use the properties of the field to create the property > names within the class, along with comments, etc. > > I could build one for you, but I would do it in VBA, so it would be a > VB6 add-in. I think you use .Net, which uses slightly different code > for properties (if I remember right, you go Property Something() then > have a Get and Let statement within the property....only played around > with .Net a little bit). > > You could even have the Let() statements set a 'dirty' property, and > have a 'reset' function to restore the original values and clear the > dirty property. > > Let me know if you want me to build something like this in VB6, I > could send you the VB6 Add-in code then...shouldn't require too much > change to work in .Net. > > Drew > > -----Original Message----- > From: John Colby [SMTP:jwcolby at colbyconsulting.com] > Sent: Tuesday, November 15, 2005 1:05 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Building classes for tables > > Sure, of course except that the "information of the record" is pretty > structured and a PITA to have to do every time. The "records in > the table" > is more specific to the application, and so less can be done > with a wizard. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:21:42 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:21:42 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161807.jAGI7SR42953@ultradnt.com> Message-ID: <01bb01c5eada$98926bf0$667aa8c0@ColbyM6805> Design time - for ME to write new classes. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables >>custom instance of the class I guess my actual question to John is - Is this intended for runtime or a design time "helper"? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Right, and I'm saying use the dot net typed dataset as a model for the class template, give the class a recordset property, and build a wizard or simply the code to create a custom instance of the class for each table you pass in. I don't think anyone has done it here or you would have had someone fess up before this. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 16 12:22:03 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 13:22:03 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161804.jAGI4aR42493@ultradnt.com> Message-ID: <01bc01c5eada$a4ebe3e0$667aa8c0@ColbyM6805> yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Nov 16 12:28:40 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 16 Nov 2005 21:28:40 +0300 Subject: [AccessD] Building classes for tables References: Message-ID: <000701c5eadb$925f1750$6401a8c0@fincomplex.spb.ru> > nobody having done it here. OK :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 16, 2005 9:15 PM Subject: Re: [AccessD] Building classes for tables > I should have known you would have done it, Shamil! ;-} But since you > can't contribute the code to John, it amounts to the same thing as > nobody having done it here. > > Charlotte > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Wednesday, November 16, 2005 10:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Building classes for tables > > > <<< > I don't think anyone has done it here > >>> > I did that Charlotte in autumn 1999 while in Belgium. > I have the code. > But this code was paid by the customer. > Therefore I think I don't have copyright on this code and I can't post > it here? > > Just wanted to note that there are no probably MS Access related subject > areas somebody from this group didn't work in. :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 16, 2005 8:47 PM > Subject: Re: [AccessD] Building classes for tables > > > > Right, and I'm saying use the dot net typed dataset as a model for the > > > class template, give the class a recordset property, and build a > > wizard or simply the code to create a custom instance of the class for > > > each table you pass in. I don't think anyone has done it here or you > > would have had someone fess up before this. > > > > Charlotte Foust > > > > <<< tail skipped>>> From john at winhaven.net Wed Nov 16 12:25:52 2005 From: john at winhaven.net (John Bartow) Date: Wed, 16 Nov 2005 12:25:52 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <01b401c5ead7$e6d0f7d0$667aa8c0@ColbyM6805> Message-ID: <002501c5eadb$2d825220$6701a8c0@ScuzzPaq> Oh I must've misunderstood what I was browsing. I thought that DAPs were a dead end. Or are both? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby They are a dead end. Microsoft is neutering them in the next version. From developer at ultradnt.com Wed Nov 16 12:37:02 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 13:37:02 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01bc01c5eada$a4ebe3e0$667aa8c0@ColbyM6805> Message-ID: <200511161837.jAGIb5R47220@ultradnt.com> LOL - ok, now I get it, but I haven't done it; but I'll collaborate here if interested ... After lunch today, I'm at this PC until 10:00 pm ET. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 12:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I started the thread asking whether anyone had build such a widget for ACCESS. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, November 16, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables Huh? Are you talking dot net or Access? In dot net, typed datasets model the data source, but they aren't "connected", they're a sort of interface to the table or tables that inherits the dataset object. You can build one by hand for tables that don't exist and you can add expressions that pull data from related tables and stick it into the primary table in the dataset. In Access, there's no reason you couldn't give the table class a recordset property. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, November 15, 2005 7:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables I was discussing doing it in VBA (Access). Besides Typed datasets are connected correct? If you want a disconnected object to hold the record data you need a class that gets instantiated and filled, then saved in a collection of a supervisor object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 15, 2005 6:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building classes for tables You don't need an add-in for it in dot net, Drew. That's what Typed Datasets are, automagically built classes that contain all that stuff for the table or tables involved in dataset that is the basis for the Typed Dataset. You can even include relationships and calculated expressions as "fields". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 3:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Building classes for tables Not really, you can get the data type of the field, the field name, and even the description of the field. It would be a simple select case to build a property Let and Get statement for each field. To go a bit further, you should also be able to determine if a field is an ID field, or get the indexes of the field to build an ID. I would make it straightforward, that if there is an autonumber field, you include a 'get and write' capability. Normally, when I build this type of class structure, I include a StorageOnly boolean value, that sets to false when the class loads. Then, when you set the value of the ID field, if StorageOnly is True, it does nothing but stores the value, if it's false, then it goes and 'fills itself' with that particular record. Then add a 'Save' Function. When the class initializes, you set an internal value that states the record is 'new'. When you set the ID field, it also sets that value to 'old'. When you run the save function, it either creates a new record with said values or updates the existing records of that table. That way, the second 'collection' class can set the StorageOnly property to true, to pull all of the records up at once, or you can create a single instance of your 'record' class and by setting it's ID property, it automatically retrieves it's data for you. An Add-in could use the properties of the field to create the property names within the class, along with comments, etc. I could build one for you, but I would do it in VBA, so it would be a VB6 add-in. I think you use .Net, which uses slightly different code for properties (if I remember right, you go Property Something() then have a Get and Let statement within the property....only played around with .Net a little bit). You could even have the Let() statements set a 'dirty' property, and have a 'reset' function to restore the original values and clear the dirty property. Let me know if you want me to build something like this in VB6, I could send you the VB6 Add-in code then...shouldn't require too much change to work in .Net. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Tuesday, November 15, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables Sure, of course except that the "information of the record" is pretty structured and a PITA to have to do every time. The "records in the table" is more specific to the application, and so less can be done with a wizard. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Wed Nov 16 13:04:36 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Wed, 16 Nov 2005 13:04:36 -0600 Subject: [AccessD] Transactions around huge transformations Message-ID: > I'm not *aware* of any system limitations imposed by Access itself ... You are limited by the amount of disk on your working computer. So, if you're doing huge transactions, you have to ensure you have a huge amount of disk available. > I am also wondering whether I even want to do so since the failure > may be related to the instantaneous state of some table which > would be trashed if that table got rolled back. IOW, how can I > see what went wrong if I roll back all the changes? I use an ETL setup for my transforms. Data is extracted and transformed into separate tables, and only loaded into production when the transform is deemed successful. I ensure safety and traceability using these steps: Extract & Transform: I turn transactions OFF. Despite what help implies, using transactions for lots of data slows things down considerably, and provides no real benefit. 1. Do the extract and transform when no one is using the system. This ensures the database is in a consistent state. 2. If you can, open the source data exclusively, so no one can get on while you are doing your transformation. 3. Execute queries with dbFailOnError + dbSeeChanges as your execute options. This ensures the process stops if there is an error, or someone is making changes. 4. Use error logging. The error must give you enough description of what went wrong for you to trace it. 5. If verification is critical, write your own series of verification queries to test your transform. If any records show up as invalid, log them for analysis, and abort the load. You are going to have to write these queries anyway, to make certain your transform works. So, the rule is, it succeeds as a whole, or it fails as a whole. If it fails, it never gets loaded into production, so no trusted data is affected. Load: Once you have transformed and verified your data, use transactions to load it into production, so if the append fails, you get the original data back. -Ken From Jim.Hale at FleetPride.com Wed Nov 16 13:05:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 13:05:02 -0600 Subject: [AccessD] Emailing Form Data Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD850@corp-es01.fleetpride.com> Yes, I am sending you an example offline Regards, Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Wed Nov 16 13:10:02 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 14:10:02 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <200511161837.jAGIb5R47220@ultradnt.com> Message-ID: <01c801c5eae1$595e2350$667aa8c0@ColbyM6805> Steve, This is an example of one of my classes that just stores data values from a record: Private mdb As DAO.Database Private mlngTOID As Long Private mlngTTID As Long Private mlngStep As Long Private mstrQry As String 'The query name of any Private mstrSQLCode As String 'The SQL or vb code if any Private mstrDescription As String 'The description of the operation Private mstrType As String 'Qry, VBA, SQL Private mblnExecute As Boolean 'This is an execute query Private mstrQryType As String 'SEL;DEL;UPD;APP Private Sub Class_Terminate() Set mdb = Nothing Debug.Print "dclsTransformOperation.Class_Terminate: TOID=" & mlngTOID End Sub Function mInit(rst As DAO.Recordset) On Error GoTo Err_mInit With rst mlngTOID = !TO_ID mlngTTID = !TO_IDTT mlngStep = !TO_Step mstrQry = StrNull(!TO_Query) mstrSQLCode = StrNull(!TO_SQLCode) mstrDescription = StrNull(!TO_Description) mstrType = StrNull(!TO_Type) mblnExecute = !TO_Execute mstrQryType = StrNull(!TO_QryType) End With Exit_mInit: Exit Function Err_mInit: MsgBox Err.Description, , "Error in Function dclsTransformOperation.mInit" Resume Exit_mInit Resume 0 '.FOR TROUBLESHOOTING End Function Function StrNull(varVal As Variant) As String If IsNull(varVal) Then StrNull = "" Else StrNull = varVal End If End Function Property Get pTOID() As Long pTOID = mlngTOID End Property Property Get pTTID() As Long pTTID = mlngTTID End Property Property Get pStep() As Long pStep = mlngStep End Property Property Get pQry() As String pQry = mstrQry End Property Property Get pSQLCode() As String pSQLCode = mstrSQLCode End Property Property Get pDescription() As String pDescription = mstrDescription End Property Property Get pType() As String pType = mstrType End Property Property Get pExecute() As Boolean pExecute = mblnExecute End Property Property Get pQryType() As String pQryType = mstrQryType End Property Notice that: All dim statements are private All dim statements have a type All property get statements have a type Variables and property statements do not follow my table naming standards. But they can. I use a p as the prefix for all properties so they group in the object browser. Just my own standard. There are no Property let but there needs to be an option to build them Of course the wizard will not build the Init() functions or surrounding code. The alternative of passing in a recordset is to pass in variables directly. I kind of like passing in a recordset because the class can do its own testing for the null values. If you don't do that then the init function has to have variants to prevent run time errors when the record contains nulls. Anyeay, just the basics is what I am looking for. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:37 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables LOL - ok, now I get it, but I haven't done it; but I'll collaborate here if interested ... After lunch today, I'm at this PC until 10:00 pm ET. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 16, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables yes John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, November 16, 2005 1:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Building classes for tables John: I'm unclear about this thread ,,, are you looking for something like For each fld is rs.fields stDeclares = "dim " & getTypePrefix & fld.name stGet ="Property Get " & fld.name & vbcrlf & _ fld.name & "=" & getTypePrefix & fld.name & vbcrlf & _ "End Property" Next 'fld Write this all out to disk and then do a Modules.addfromfile ? Steve From pedro at plex.nl Wed Nov 16 13:11:46 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 16 Nov 2005 20:11:46 +0100 Subject: [AccessD] error References: <916187228923D311A6FE00A0CC3FAA30ABF2C5@ADGSERVER> Message-ID: <002d01c5eae1$98a52c70$4001a8c0@laptop> Hello Bobby and others, i don't know when this error occurs. In the table self then one record is corrupt and all kind of weird signs are in the fields, also in the grey square before the tablefields are weird signs. Sometimes after deleting this record and other linked records in linked tables, the database works fine. Sometimes then things are really going wrong and all data has to be imported into a backup database and table that was ok before the error. But this costs very much time. The database in this presents worked for about 9 months without any error. After importing, it worked again for three months, then again three months. The strange thing is that i have no knowledge that i am trying to access a field description. Who van help?? Pedro Janssen ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:13 PM Subject: Re: [AccessD] error > Pedro, > > In what context are you getting this error? > > Note that a field does not have to have description and you might need to > trap for this when trying to access a field description. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 16, 2005 9:46 AM > To: AccessD > Subject: [AccessD] error > > > Hello Group, > > who has an idea why this errortable occurs: > > error ErrorCode ErrorDescription ErrorRecid ErrorTable > -1206 Can't find field Description ? > tblProjectGegevens > -1053 Can't find field Description > tblProjectGegevens > > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 16 13:20:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 16 Nov 2005 11:20:06 -0800 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <437B8666.6070300@shaw.ca> I haven't checked the CRTM, CTP or whatever they are calling the latest release of SQL Express 2005 but 2003 ADP's will only connect normally if SQL Express is installed in SQL 2000 degraded compatibility mode. Otherwise there are restrictions on table creation etc. from the ADP. At least the previous Beta didn't http://blogs.msdn.com/sqlexpress/archive/2005/09/15/467774.aspx FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx John Bartow wrote: >Does anyone have comments on ADPs with A2K3? > >IIRC there were some negatives brought up about them here with previous >versions. > >Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? > >TIA >John B. > > > -- Marty Connelly Victoria, B.C. Canada From developer at ultradnt.com Wed Nov 16 14:52:49 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 16 Nov 2005 15:52:49 -0500 Subject: [AccessD] Building classes for tables In-Reply-To: <01c801c5eae1$595e2350$667aa8c0@ColbyM6805> Message-ID: <200511162052.jAGKquR67060@ultradnt.com> >>Of course the wizard will not build the Init() functions or surrounding code. Why not? Cant we loop the fields and build it as well? With similar psudo-code as I wrote in my message? How about we build one section at time - decalrations, then init, processing, then term. Module: basBuildRecordClass Dim mRst as dao.recordset ' Dim mstDeclares as string Sub BuildClass set mrst=currentdb.openrecordset(" sql string here") DoDeclare End sub Private sub DoDeclare mstDeclares = _ "Private mdb As DAO.Database " & vbcrlf & _ "Private mstrQry As String 'The query name of any " & vbcrlf & _ "Private mstrSQLCode As String 'The SQL or vb code if any " & vbcrlf & _ "Private mstrDescription As String 'The description of the operation " & vbcrlf & _ "Private mstrType As String 'Qry, VBA, SQL " & vbcrlf & _ "Private mblnExecute As Boolean 'This is an execute query " & vbcrlf & _ "Private mstrQryType As String 'SEL;DEL;UPD;APP " & vbcrlf & _ For each fld is rs.fields mstdeclares = mstDeclares & "Private " & getTypePrefix & fld.name & " as " & getTypeString & vbcrlf Next 'fld End sub Now need the 2 functions of select case for the prefix and var. types. S. From hkotsch at arcor.de Wed Nov 16 15:04:22 2005 From: hkotsch at arcor.de (Helmut Kotsch) Date: Wed, 16 Nov 2005 22:04:22 +0100 Subject: [AccessD] Emailing Form Data In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD850@corp-es01.fleetpride.com> Message-ID: Jim, I also would like to have a copy of your example. Thanks in advance. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Hale, Jim Gesendet: Mittwoch, 16. November 2005 20:05 An: 'Access Developers discussion and problem solving' Betreff: Re: [AccessD] Emailing Form Data Yes, I am sending you an example offline Regards, Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Jim. This sounds like a very logical approach. I can handle the Access code for automating the email each week, but am a bit foggy on the timer routine. Any way of sending sample code?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, November 16, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Emailing Form Data If you are going to go the Excel route I would 1) Create an Excel template formatted properly with sheet and/or workbook protection. I usually create a hidden sheet in the template linked to the user input form. This is the sheet I read back into the database. 2) Populate the individual templates with an Access routine 3) Automatically email the workbook to users 4) Have the users email the completed workbook back to you. 5) I have an attachment save addin in Outlook that saves attachments to a specified directory. 6) Have an Access form with a timer routine that periodically reads all files in the save directory and loads the data from the workbook into Access. The routine renames the files and moves them to a completed directory HTH Jim Hale -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Wednesday, November 16, 2005 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Emailing Form Data Thanks Drew. I agree that posting a web page would ideal, but I don't have access to a web server, or even a file sharing server for that matter. I am at a client site, with limited resources. I'm starting to think that just sending an Excel file for the user to update should meet our needs. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 15, 2005 6:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Emailing Form Data It would be far easier to just send the end users a 'link' in email, that would open a webpage with the data they are to review/modify. Fairly easy to do in asp. Just a thought. Drew *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Nov 16 15:41:16 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 16 Nov 2005 21:41:16 -0000 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: Message-ID: <003101c5eaf6$791ac8a0$e5b60c54@minster33c3r25> Aah yes, Ctrl+F for Find I know. Is this the same thing then, but localized as you surmise? -- 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: 16 November 2005 15:28 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Search with Ctrl+B freeze app > > > Hi Stuart > > Nope. Could this be localized? Try Ctrl+F. > > /gustav > > >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> > On 16 Nov 2005 at 15:51, Gustav Brock wrote: > > > Hi Mark > > > > Strange. Works in Excel as well. > > > > Only thing I've ever seen Ctrl+B do in Excel in make the > current selection Bold. > > Are you using some sort of Hotkey utility to change default > key behaviours? > > > -- > Stuart > > > -- > 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 Nov 16 16:25:57 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 16 Nov 2005 16:25:57 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD858@corp-es01.fleetpride.com> Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From fhtapia at gmail.com Wed Nov 16 17:20:37 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 16 Nov 2005 15:20:37 -0800 Subject: [AccessD] A97 BE with A2k3 FE In-Reply-To: <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: Has Anyone Successfully installed A2k3 on NT or 98/se? On 11/16/05, William Hindman wrote: > ...I've been very pleasantly surprised at A2K3's compatibility with older > versions ...I just yesterday installed a pretty good sized app on a client's > A2K2 runtime that had been fully developed in A2K3 ...I expected to at least > have to change some references to the treeview ocx, etc ...but it ran > without a hitch :) > > ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 > secured be ...so far it takes to it like a duck takes to water. > > William > > ----- Original Message ----- > From: "Bruen, Bruce" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 16, 2005 1:21 AM > Subject: Re: [AccessD] A97 BE with A2k3 FE > > > > Been running a similar scenario for a year now on a test management > > system that uses both an A97 (Jet 3.5) back end which is also used by a > > Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 > > front end. The only problems I have found have been forgetting where I > > was and making changes to the UI in A2k3 which are not compatible with > > the A2k fromt end. > > Sound strange? > > > > The back end is a UML model repository that we use to design the tests. > > It's a Jet db that starts life as an A97 db and gets used by the UML > > tool from http://www.sparxsystems.com.au (no relationship - highly > > recommended) via Jet 4.0, when we move into test execution stage we use > > a home-grown results recorder which I use on an A2k dev machine, the > > test lead uses on an A2k runtime machine and every time I go home I > > think of something else we could do and dev it up on A2k3..... > > > > I have on occasion also taken the db's home and up-and-down-gradeded > > them to A2k3 and back to "prev" without any ill effects. > > > > > > .... Just lucky I guess :-) > > > > Hth > > Bruce > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > > Sent: Wednesday, 16 November 2005 4:08 PM > > To: _DBA-Access > > Subject: [AccessD] A97 BE with A2k3 FE > > > > Anyone have any experience with using an A2k3 FE with and A97 BE? > > > > I've been testing it for a client request and haven't had any problems > > yet but would like to hear of others experiences. > > > > TIA > > John B. > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > This e-mail and any attachments may contain confidential information that > > is intended solely for the use of the intended recipient and may be > > subject to copyright. If you receive this e-mail in error, please notify > > the sender immediately and delete the e-mail and its attachments from your > > system. You must not disclose, copy or use any part of this e-mail if you > > are not the intended recipient. Any opinion expressed in this e-mail and > > any attachments is not an opinion of RailCorp unless stated or apparent > > from its content. RailCorp is not responsible for any unauthorised > > alterations to this e-mail or any attachments. RailCorp will not incur any > > liability resulting directly or indirectly as a result of the recipient > > accessing any of the attached files that may contain a virus. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From wdhindman at bellsouth.net Wed Nov 16 17:25:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:25:41 -0500 Subject: [AccessD] A97 BE with A2k3 FE References: <001101c5ead6$8755b850$6701a8c0@ScuzzPaq> Message-ID: <003801c5eb06$9c6f2cf0$6101a8c0@JISREGISTRATION.local> ...ha! ...exactly what I'm building as my new template base ...getting the treeview to work as a full blown nav with the subs has been an exercise though ...CallByName was all new to me and I'm still banging my head on a lot of things ...and of course I'm doing it the William way ...pure old trial and error ...but so far enough of it plays that I put a "beta" on a power user's desk and he's pretty damn happy with the way it just works :) William ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 12:52 PM Subject: Re: [AccessD] A97 BE with A2k3 FE > William, > Thanks for the input! I've actually been working implementing a Treeview > Navigation scheme which opens a specific subform for detail for much of > the > application. Good to know that comes through without a hitch. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > > ...I've been very pleasantly surprised at A2K3's compatibility with older > versions ...I just yesterday installed a pretty good sized app on a > client's > A2K2 runtime that had been fully developed in A2K3 ...I expected to at > least > have to change some references to the treeview ocx, etc ...but it ran > without a hitch :) > > ...and I'm developing/testing an A2K3 fe against a copy of a client's A97 > secured be ...so far it takes to it like a duck takes to water. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:30:01 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:30:01 -0500 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> Message-ID: <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> ...I dropped any work with ADPs when MS made it clear they weren't the future ...had enough learning on my pallet as it was ...not that I was happy with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the moment and doing just fine :) William ----- Original Message ----- From: "John Bartow" To: "_DBA-Access" Sent: Wednesday, November 16, 2005 12:52 PM Subject: [AccessD] A2K3 ADP > Does anyone have comments on ADPs with A2K3? > > IIRC there were some negatives brought up about them here with previous > versions. > > Are you using ADPs for SQLServer data sources or MDBs via DB connectivity? > > TIA > John B. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:36:47 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:36:47 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: Message-ID: <003a01c5eb06$9d918ce0$6101a8c0@JISREGISTRATION.local> ...I'm not convinced Gustav ...it sounds to much like a profile problem and I've seen them do some pretty unexpected things ...I'd disconnect her from the network, install a new copy of the mdb, switch her profile to local, and create a local drive with a copy of the be on it that matches the apps linking ...then see what happens. ...if the problem goes away as I expect it will, but reappears when she logs on to another workstation, your notwork guy has a problem, not you. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 8:12 AM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Hi William > > No, that is not so. Access 97 is installed the normal way and the FE in a > directory of its own. > Only the desktop icon is provided by the profile. > > My colleague suggests that "something" could have been installed on her > machine which caused "something" to Access and/or her profile which then > is carried around if she logs in on other machines ... > > Quite vague thoughts as you can see. > > Oh, and Groundhog Day is one of my favourite movies! > > /gustav > >>>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> > ...is the mdb somehow being placed in her local profiled directories and > uploaded to her server profile on the server? > ...I'd look in her server profile and see if the notwork guy has got the > mdb > directory as one of her profile caches. > ...this of course assumes that her local copy of the fe was corrupted in > the > first place, seen by the server as a change when she logged off, and then > uploaded to her profile cache to forever repeat ...groundhog day, eh :) > > ...if this turns out to be the case, I'd Colbyize the notwork guy :( > > William > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Wednesday, November 16, 2005 6:20 AM > Subject: [AccessD] Search with Ctrl+B freeze app > > >> Hi all >> >> Have anyone experienced issues when using Ctrl+B to open the search form? >> >> A client has a user with an Access 97 app which has run for years. >> Suddenly, if she presses Ctrl+B to search it works fine but next time she >> does this, the app freezes and becomes inactive. She has to reboot or use >> Task Manager to kill Access. >> >> The tricky part is that if other users log in on her machine, the issue >> persists. Other users don't see this issue when working at their own >> machine. However, if the user in question logs in on another user's >> machine, the issue follows her. >> >> The client uses roaming profiles and the notwork guy claims to have >> rebuilt these but to no avail. >> >> My own guess is to double-check for some corrupted Access/Jet temp files >> as the first thing. >> Before reinstalling "everything" I wonder if anyone has seen something >> similar? >> >> /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 16 17:39:56 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 16 Nov 2005 18:39:56 -0500 Subject: [AccessD] Search with Ctrl+B freeze app References: <003101c5eaf6$791ac8a0$e5b60c54@minster33c3r25> Message-ID: <004e01c5eb07$0d39aff0$6101a8c0@JISREGISTRATION.local> ...maybe a local language thing? ...or is Gustav running an Autokeys macro? Wlliam ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:41 PM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Aah yes, Ctrl+F for Find I know. Is this the same thing then, but > localized > as you surmise? > > > -- 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: 16 November 2005 15:28 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Search with Ctrl+B freeze app >> >> >> Hi Stuart >> >> Nope. Could this be localized? Try Ctrl+F. >> >> /gustav >> >> >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> >> On 16 Nov 2005 at 15:51, Gustav Brock wrote: >> >> > Hi Mark >> > >> > Strange. Works in Excel as well. >> > >> >> Only thing I've ever seen Ctrl+B do in Excel in make the >> current selection Bold. >> >> Are you using some sort of Hotkey utility to change default >> key behaviours? >> >> >> -- >> 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 artful at rogers.com Wed Nov 16 20:22:10 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 21:22:10 -0500 Subject: [AccessD] Search with Ctrl+B freeze app In-Reply-To: <20051116133811.E6A9B251F6B@smtp.nildram.co.uk> Message-ID: <200511170222.jAH2M6J08584@databaseadvisors.com> This must be language-specific. In Canada it`s Ctrl+F. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: November 16, 2005 7:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Search with Ctrl+B freeze app Where do you have to be for this to happen? I'm Ctrl-B'ing like mad and nothing's happening. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Search with Ctrl+B freeze app Date: 16/11/05 12:48 Hi Andy It pops the small native Access search form. /gustav >>> andy at minstersystems.co.uk 16-11-2005 12:34 >>> Sorry Gustav, but I've got to ask - what does Ctrl B do? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Nov 16 20:23:55 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 16 Nov 2005 21:23:55 -0500 Subject: [AccessD] In clause In-Reply-To: <019e01c5eacf$96f537b0$667aa8c0@ColbyM6805> Message-ID: <200511170223.jAH2NqJ09617@databaseadvisors.com> Yes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: November 16, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] In clause Is the In 'SomeDatabase' clause an Access specific SQL extension? SELECT * FROM SomeTable IN 'SomeDatabase' From jwcolby at ColbyConsulting.com Wed Nov 16 20:29:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 16 Nov 2005 21:29:29 -0500 Subject: [AccessD] Codesmith Message-ID: <01fb01c5eb1e$bd57c7c0$667aa8c0@ColbyM6805> Does anyone use codesmith? If so, what version (free or pay), and with what programming environment? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Gustav at cactus.dk Thu Nov 17 02:35:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 09:35:19 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William Hmm ... I'm listening. Sounds like a very good idea. I'll pass this to my colleague to test at the client. Thanks. /gustav >>> wdhindman at bellsouth.net 17-11-2005 00:36 >>> ...I'm not convinced Gustav ...it sounds to much like a profile problem and I've seen them do some pretty unexpected things ...I'd disconnect her from the network, install a new copy of the mdb, switch her profile to local, and create a local drive with a copy of the be on it that matches the apps linking ...then see what happens. ...if the problem goes away as I expect it will, but reappears when she logs on to another workstation, your notwork guy has a problem, not you. William ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, November 16, 2005 8:12 AM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Hi William > > No, that is not so. Access 97 is installed the normal way and the FE in a > directory of its own. > Only the desktop icon is provided by the profile. > > My colleague suggests that "something" could have been installed on her > machine which caused "something" to Access and/or her profile which then > is carried around if she logs in on other machines ... > > Quite vague thoughts as you can see. > > Oh, and Groundhog Day is one of my favourite movies! > > /gustav > >>>> wdhindman at bellsouth.net 16-11-2005 13:28 >>> > ...is the mdb somehow being placed in her local profiled directories and > uploaded to her server profile on the server? > ...I'd look in her server profile and see if the notwork guy has got the > mdb > directory as one of her profile caches. > ...this of course assumes that her local copy of the fe was corrupted in > the > first place, seen by the server as a change when she logged off, and then > uploaded to her profile cache to forever repeat ...groundhog day, eh :) > > ...if this turns out to be the case, I'd Colbyize the notwork guy :( > > William > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Wednesday, November 16, 2005 6:20 AM > Subject: [AccessD] Search with Ctrl+B freeze app > > >> Hi all >> >> Have anyone experienced issues when using Ctrl+B to open the search form? >> >> A client has a user with an Access 97 app which has run for years. >> Suddenly, if she presses Ctrl+B to search it works fine but next time she >> does this, the app freezes and becomes inactive. She has to reboot or use >> Task Manager to kill Access. >> >> The tricky part is that if other users log in on her machine, the issue >> persists. Other users don't see this issue when working at their own >> machine. However, if the user in question logs in on another user's >> machine, the issue follows her. >> >> The client uses roaming profiles and the notwork guy claims to have >> rebuilt these but to no avail. >> >> My own guess is to double-check for some corrupted Access/Jet temp files >> as the first thing. >> Before reinstalling "everything" I wonder if anyone has seen something >> similar? >> >> /gustav From Gustav at cactus.dk Thu Nov 17 02:41:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 09:41:40 +0100 Subject: [AccessD] Search with Ctrl+B freeze app Message-ID: Hi William It's a local language thing, Ctrl+B and Ctrl+F have been interchanged here. No AutoKeys macro is present. /gustav >>> wdhindman at bellsouth.net 17-11-2005 00:39 >>> ...maybe a local language thing? ...or is Gustav running an Autokeys macro? Wlliam ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 16, 2005 4:41 PM Subject: Re: [AccessD] Search with Ctrl+B freeze app > Aah yes, Ctrl+F for Find I know. Is this the same thing then, but > localized as you surmise? > > > -- 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: 16 November 2005 15:28 >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Search with Ctrl+B freeze app >> >> >> Hi Stuart >> >> Nope. Could this be localized? Try Ctrl+F. >> >> /gustav >> >> >>> stuart at lexacorp.com.pg 16-11-2005 16:02 >>> >> On 16 Nov 2005 at 15:51, Gustav Brock wrote: >> >> > Hi Mark >> > >> > Strange. Works in Excel as well. >> > >> >> Only thing I've ever seen Ctrl+B do in Excel in make the >> current selection Bold. >> >> Are you using some sort of Hotkey utility to change default >> key behaviours? >> >> >> -- >> Stuart From paul.hartland at isharp.co.uk Thu Nov 17 04:41:08 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 17 Nov 2005 10:41:08 -0000 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List In-Reply-To: Message-ID: To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. From lmrazek at lcm-res.com Thu Nov 17 10:23:28 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 17 Nov 2005 10:23:28 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD858@corp-es01.fleetpride.com> Message-ID: <052801c5eb93$3eb275d0$036fa8c0@hplaptop> Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Nov 17 10:27:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 08:27:25 -0800 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List Message-ID: What you want is something like MyCombo = MyCombo.ItemData(0) Note that if you have column headings turned on, you need to use ItemData(1) because the column headings are treated as the first row. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Thursday, November 17, 2005 2:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Thu Nov 17 10:37:37 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 17 Nov 2005 16:37:37 -0000 Subject: [AccessD] OT - Visual Basic DataCombo Control, Displaying First Item In List In-Reply-To: Message-ID: Thanks Charlotte, will try a bit later on or early tomorrow... Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 17 November 2005 16:27 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List What you want is something like MyCombo = MyCombo.ItemData(0) Note that if you have column headings turned on, you need to use ItemData(1) because the column headings are treated as the first row. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Thursday, November 17, 2005 2:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic DataCombo Control,Displaying First Item In List To all, I have a DataCombo control which will vary with the number of records contained inside it depending on what account number of a particular client is selected, but I can seem to set it up to display the first item in a list when the recordset of the DataCombo box is returned.. I did think about using a recordset variable to get the clone of the recordset and return the first item that way, but this seems long winded and surely there must be a cleaner more effective way. Thanks in advance to anyone that can help on this or supply sample code etc. Paul Hartland Database Developer. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 17 12:03:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 17 Nov 2005 19:03:16 +0100 Subject: [AccessD] Creating an ADO Data Provider Message-ID: Hi all Seeking some advice here ... I read this article on the subject: http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp because I've never worked with such. It seems to be quite some work with Registry entries etc. The article explains how to do it but not really why. Why would you go this route? And - perhaps - why not? /gustav From martyconnelly at shaw.ca Thu Nov 17 12:48:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:48:53 -0800 Subject: [AccessD] A97 BE with A2k3 FE References: <8531E9A9B2ADC94994C25E0856C5663606D02E@EXCHVS1.rail.nsw.gov.au> <001701c5eaa7$7de95990$6101a8c0@JISREGISTRATION.local> Message-ID: <437CD095.7060102@shaw.ca> It can't be done. Access 2003 uses OS thingies like Winhttp as an example. You can install a version of Winhttp that will work on Win98 but they are not the same version. Access 2003 will only work win xp and 2000. Thingies is a technical term Francisco Tapia wrote: >Has Anyone Successfully installed A2k3 on NT or 98/se? > > >On 11/16/05, William Hindman wrote: > > >>...I've been very pleasantly surprised at A2K3's compatibility with older >>versions ...I just yesterday installed a pretty good sized app on a client's >>A2K2 runtime that had been fully developed in A2K3 ...I expected to at least >>have to change some references to the treeview ocx, etc ...but it ran >>without a hitch :) >> >>...and I'm developing/testing an A2K3 fe against a copy of a client's A97 >>secured be ...so far it takes to it like a duck takes to water. >> >>William >> >>----- Original Message ----- >>From: "Bruen, Bruce" >>To: "Access Developers discussion and problem solving" >> >>Sent: Wednesday, November 16, 2005 1:21 AM >>Subject: Re: [AccessD] A97 BE with A2k3 FE >> >> >> >> >>>Been running a similar scenario for a year now on a test management >>>system that uses both an A97 (Jet 3.5) back end which is also used by a >>>Jet 4.0 third aprty app, and a A2k "mid end" and both an A2K and an A2k3 >>>front end. The only problems I have found have been forgetting where I >>>was and making changes to the UI in A2k3 which are not compatible with >>>the A2k fromt end. >>>Sound strange? >>> >>>The back end is a UML model repository that we use to design the tests. >>>It's a Jet db that starts life as an A97 db and gets used by the UML >>>tool from http://www.sparxsystems.com.au (no relationship - highly >>>recommended) via Jet 4.0, when we move into test execution stage we use >>>a home-grown results recorder which I use on an A2k dev machine, the >>>test lead uses on an A2k runtime machine and every time I go home I >>>think of something else we could do and dev it up on A2k3..... >>> >>>I have on occasion also taken the db's home and up-and-down-gradeded >>>them to A2k3 and back to "prev" without any ill effects. >>> >>> >>>.... Just lucky I guess :-) >>> >>>Hth >>>Bruce >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow >>>Sent: Wednesday, 16 November 2005 4:08 PM >>>To: _DBA-Access >>>Subject: [AccessD] A97 BE with A2k3 FE >>> >>>Anyone have any experience with using an A2k3 FE with and A97 BE? >>> >>>I've been testing it for a client request and haven't had any problems >>>yet but would like to hear of others experiences. >>> >>>TIA >>>John B. >>> >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>>This e-mail and any attachments may contain confidential information that >>>is intended solely for the use of the intended recipient and may be >>>subject to copyright. If you receive this e-mail in error, please notify >>>the sender immediately and delete the e-mail and its attachments from your >>>system. You must not disclose, copy or use any part of this e-mail if you >>>are not the intended recipient. Any opinion expressed in this e-mail and >>>any attachments is not an opinion of RailCorp unless stated or apparent >>>from its content. RailCorp is not responsible for any unauthorised >>>alterations to this e-mail or any attachments. RailCorp will not incur any >>>liability resulting directly or indirectly as a result of the recipient >>>accessing any of the attached files that may contain a virus. >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > >-- >-Francisco >http://pcthis.blogspot.com |PC news with out the jargon! >http://sqlthis.blogspot.com | Tsql and More... > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 12:53:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:53:03 -0800 Subject: [AccessD] A97 BE with A2k3 FE References: <001201c5ead6$879f9290$6701a8c0@ScuzzPaq> Message-ID: <437CD18F.10500@shaw.ca> Just remember with any form of Internationalizing you may run into problems on a A97 BE A2003 frontend mix Due to A97 being ANSI based and A2003 Unicode. Even without the use of IME's John Bartow wrote: >Bruce, >Thanks for the input! Sounds like what you're doing is more complicated than >my possible venture. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce > >Been running a similar scenario for a year now on a test management system >that uses both an A97 (Jet 3.5) back end which is also used by a Jet 4.0 >third aprty app, and a A2k "mid end" and both an A2K and an A2k3 front end. >The only problems I have found have been forgetting where I was and making >changes to the UI in A2k3 which are not compatible with the A2k fromt end. >Sound strange? > >The back end is a UML model repository that we use to design the tests. >It's a Jet db that starts life as an A97 db and gets used by the UML tool >from http://www.sparxsystems.com.au (no relationship - highly >recommended) via Jet 4.0, when we move into test execution stage we use a >home-grown results recorder which I use on an A2k dev machine, the test lead >uses on an A2k runtime machine and every time I go home I think of something >else we could do and dev it up on A2k3..... > >I have on occasion also taken the db's home and up-and-down-gradeded them to >A2k3 and back to "prev" without any ill effects. > > >.... Just lucky I guess :-) > >Hth >Bruce > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 12:57:40 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 10:57:40 -0800 Subject: [AccessD] Creating an ADO Data Provider References: Message-ID: <437CD2A4.4040903@shaw.ca> Just a guess but you might want to do this for example with SAP DB or it's other incarnation from MySQL MaxDB since I don't think anyone has written an OLEDB provider yet. Otherwise you have to use an ODBC driver. Gustav Brock wrote: >Hi all > >Seeking some advice here ... I read this article on the subject: > > http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp > >because I've never worked with such. >It seems to be quite some work with Registry entries etc. >The article explains how to do it but not really why. > >Why would you go this route? And - perhaps - why not? > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Thu Nov 17 14:41:51 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 17 Nov 2005 14:41:51 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD862@corp-es01.fleetpride.com> The basic way to plug a formula into a spreadsheet is along the lines of appExcel.range("f63:j63").Formula = "=k63" Access won't "remember" but there are various ways you can figure it out. How are you populating your spreadsheet? cell by cell? one big copyrecset? Tell me a bit more and I may be able to tell you the best way to set your totals. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Thu Nov 17 15:40:12 2005 From: john at winhaven.net (John Bartow) Date: Thu, 17 Nov 2005 15:40:12 -0600 Subject: [AccessD] Access conectivity to SQL Server Message-ID: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> So what are most of you using for connecting Access to SQL Server data? ADO/OLE DB or ODBC? From erbachs at gmail.com Thu Nov 17 15:52:25 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 15:52:25 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> References: <003101c5ebbf$7d655140$6b01a8c0@ScuzzPaq> Message-ID: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> John, Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep using ODBC. ADP's work slick. Steve Erbach Neenah, WI On 11/17/05, John Bartow wrote: > > So what are most of you using for connecting Access to SQL Server data? > ADO/OLE DB or ODBC? > > -- > From cfoust at infostatsystems.com Thu Nov 17 16:01:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 14:01:31 -0800 Subject: [AccessD] Access conectivity to SQL Server Message-ID: My personal preference is ADO/OleDB, although here at work we use ODBC for Access/SQL Server in our older projects. Of course in .Net, we use ADO.Net .... Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, November 17, 2005 1:40 PM To: _DBA-Access Subject: [AccessD] Access conectivity to SQL Server So what are most of you using for connecting Access to SQL Server data? ADO/OLE DB or ODBC? -- 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 Nov 17 16:01:08 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 17 Nov 2005 16:01:08 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD862@corp-es01.fleetpride.com> Message-ID: <05e801c5ebc2$6a3e7cb0$036fa8c0@hplaptop> Hi Jim: I'll need to populate it by groups ... Each group will have 12 rows and the same number of columns. So I'm thinking that I'll have start at a set position for each sheet, and then populate down from there, skipping a couple of rows after each grouping level. Basically, I'll need the company total to be at the top, followed by all of the subsets of the data grouped by category. Data will look something like this (will probably have about 9 columns total): Heading: Total Data By Company Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- Heading: Total Data By Category 1 Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- I'm thinking of looping through recordsets to get the separate data by category. 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 Hale, Jim Sent: Thursday, November 17, 2005 2:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? The basic way to plug a formula into a spreadsheet is along the lines of appExcel.range("f63:j63").Formula = "=k63" Access won't "remember" but there are various ways you can figure it out. How are you populating your spreadsheet? cell by cell? one big copyrecset? Tell me a bit more and I may be able to tell you the best way to set your totals. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Jim (and Paul): I've run through a couple of samples and have successfully exported a recordset, created a new sheet, and it looks like I should be able to do this ... My main concern is the embedding of the formulas in the rows ... Is it possible as I export the recordset to create a calculated column ... EX: Column1 Column2 Column3 (calculated Column1 + Column2) Oct 2 5 7 Nov 4 8 12 Total 6 13 19 Basically, can the Access application "remember" which cells it wrote to, so I can create out a totals row? Just trying to figure this out before committing to the project. Thanks! 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 Hale, Jim Sent: Wednesday, November 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Yes, you can dynamically add formulas to spreadsheets you create through Access. You can also add worksheets as required. Jim Hale -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, November 16, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Export To Excel - Formulas Possible? Hi: I'm developing specifications for a reporting app that pulls information from a corporate database. While the print reports won't be a problem, the client also requires an export to excel with the following functionality. 1. Single Worksheet with multiple tabs 2. Application calculates totals in Excel. (that is, if they make a change in the data in Excel, it is reflected in the totals). Question. Can I automate the creation of the spreadsheet if I have to embed formulas to calculate totals, percentages, etc.? Or do I need to first create a template in Excel? I'd like to be able to do this from Access, since they'll be adding group categories to the list and I don't want to have to continually revise the excel file. Thanks. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Thu Nov 17 16:06:23 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 16:06:23 -0600 Subject: [AccessD] A2003: Extracting strings Message-ID: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> Dear Group, Lets say you have a note field in a table into which your users have been entering text notes that include dates in various formats (9-1-05, 10/12/04, 8/3/2004, etc.) as well as the text. What I'd like to do is extract those dates from the note field and stuff them into a bona fide date field. It's straightforward enough to locate, say, all the dates that have dashes in them with a query like this: SELECT * FROM tblNotes WHERE ((Note Like "*##-##-##*") OR (Note Like "*##-#-##*") OR (Note Like "*#-##-##*") OR (Note Like "*#-#-##*") OR (Note Like "*##-##-####*") OR (Note Like "*##-#-####*") OR (Note) Like "*#-##-####*") OR (Note Like "*#-#-####*")); This gives me all the records that have dates formatted with dashes. But what I want is to actually extract those dates and stuff them into a new column as a Date type. I've looked through the Access 2003 Help for a while but I don't seem to find anything that jumps out at me. To use the Instr() function you need to supply a literal value, not a pattern. I guess what I'm looking for is a function similar to the Match() function in the old Borland Paradox program. You provided the string to search as well as the string pattern you're searching for and the Match() function would stuff the located substring into a variable for you. Anything like this that you can think of? I'm considering writing a VBA Match() function, but I'm hoping there's something else available. Thanks. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From erbachs at gmail.com Thu Nov 17 16:12:51 2005 From: erbachs at gmail.com (Steve Erbach) Date: Thu, 17 Nov 2005 16:12:51 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: References: Message-ID: <39cb22f30511171412w3a4b1365o379b0e9fbf39fcb2@mail.gmail.com> Charlotte, What's the for? Steve Erbach Neenah, WI On 11/17/05, Charlotte Foust wrote: > > My personal preference is ADO/OleDB, although here at work we use ODBC > for Access/SQL Server in our older projects. Of course in .Net, we use > ADO.Net .... > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, November 17, 2005 1:40 PM > To: _DBA-Access > Subject: [AccessD] Access conectivity to SQL Server > > > So what are most of you using for connecting Access to SQL Server data? > ADO/OLE DB or ODBC? > > From cfoust at infostatsystems.com Thu Nov 17 16:48:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 17 Nov 2005 14:48:24 -0800 Subject: [AccessD] Access conectivity to SQL Server Message-ID: You can't use it in Access ... yet. ;-} Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Thursday, November 17, 2005 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access conectivity to SQL Server Charlotte, What's the for? Steve Erbach Neenah, WI On 11/17/05, Charlotte Foust wrote: > > My personal preference is ADO/OleDB, although here at work we use ODBC > for Access/SQL Server in our older projects. Of course in .Net, we use > ADO.Net .... > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Thursday, November 17, 2005 1:40 PM > To: _DBA-Access > Subject: [AccessD] Access conectivity to SQL Server > > > So what are most of you using for connecting Access to SQL Server > data? ADO/OLE DB or ODBC? > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Nov 17 18:26:33 2005 From: john at winhaven.net (John Bartow) Date: Thu, 17 Nov 2005 18:26:33 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> Message-ID: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Steve, Did you miss my ADP question? :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Thursday, November 17, 2005 3:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access conectivity to SQL Server John, Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep using ODBC. ADP's work slick. Steve Erbach Neenah, WI From Jim.Hale at FleetPride.com Thu Nov 17 18:48:36 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 17 Nov 2005 18:48:36 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD866@corp-es01.fleetpride.com> Here is a quick and dirty function to add the total formula to a column. It assumes you know the starting cell of the numbers to be summed (E5 in this ex). It puts the formula in the first empty cell of the column. Hopefully it will get you started. I wrote this inside Excel. You'll need to set the Excel object to run it from inside Access Jim Hale Function test() Dim rng As Range, i As Integer, strAddressBottom As String, strAddressTop As String Set rng = Range("e5") strAddressTop = rng.Address For i = 1 To 25 'assumes 25 is the max length of the column of numbers to be added If rng.Offset(i, 0).Value = "" Then 'looks for the first blank cell in the column strAddressBottom = rng.Offset(i - 1, 0).Cells.Address rng.Offset(i, 0).Formula = "=sum(" & strAddressTop & ":" & strAddressBottom & ")" GoTo The_End End If Next The_End: Set rng = Nothing End Function -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Thursday, November 17, 2005 4:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Hi Jim: I'll need to populate it by groups ... Each group will have 12 rows and the same number of columns. So I'm thinking that I'll have start at a set position for each sheet, and then populate down from there, skipping a couple of rows after each grouping level. Basically, I'll need the company total to be at the top, followed by all of the subsets of the data grouped by category. Data will look something like this (will probably have about 9 columns total): Heading: Total Data By Company Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- Heading: Total Data By Category 1 Month: PriorYrSales CurrYrSales %Increase (calculated) Jan 10 10 0% Feb 33 66 100% Mar 111 111 0% Apr 112 112 0% May 111 111 0% Jun 444 444 0% Total --- --- I'm thinking of looping through recordsets to get the separate data by category. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Thu Nov 17 20:16:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 18:16:04 -0800 Subject: [AccessD] Access conectivity to SQL Server References: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Message-ID: <437D3964.5040008@shaw.ca> ADP's make Stored Procedures easier to develop and use but I prefer using ADO. It just requires extra coding that is easier to port to .Net. I have been using ADO since Access 97 came out but it was messy with MDAC 2.0. John Bartow wrote: >Steve, >Did you miss my ADP question? >:o) > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach >Sent: Thursday, November 17, 2005 3:52 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Access conectivity to SQL Server > >John, > Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep >using ODBC. ADP's work slick. > Steve Erbach >Neenah, WI > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 17 20:53:28 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 17 Nov 2005 18:53:28 -0800 Subject: [AccessD] A2003: Extracting strings References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> Message-ID: <437D4228.3080300@shaw.ca> How about a Regular Expression function '?getDateRegEx("aaaa 12-12-2005 888hh") '?getDateRegEx("aaaa 13-13-04 888hh") '?getDateRegEx("aaaa 12-12-04 888hh") Public Function getDateRegEx(ByVal sValue As String) As Variant 'need reference to Microsoft VBScript Regular Expressions 5.5, ' or Set r = CreateObject("vbscript.regexp") Dim x As Integer Dim r As RegExp Dim buf As String Dim match As Object Dim matches As Object getDateRegEx = Null 'throws a null into a bad date like 13-13-2005 Set r = New RegExp r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" ' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" Set matches = r.Execute(sValue) For Each match In matches Debug.Print match.Value On Error Resume Next getDateRegEx = CDate(match.Value) Next match Set matches = Nothing Set r = Nothing End Function Steve Erbach wrote: >Dear Group, > Lets say you have a note field in a table into which your users have been >entering text notes that include dates in various formats (9-1-05, 10/12/04, >8/3/2004, etc.) as well as the text. What I'd like to do is extract those >dates from the note field and stuff them into a bona fide date field. > It's straightforward enough to locate, say, all the dates that have dashes >in them with a query like this: > SELECT * >FROM tblNotes >WHERE ((Note Like "*##-##-##*") >OR (Note Like "*##-#-##*") >OR (Note Like "*#-##-##*") >OR (Note Like "*#-#-##*") >OR (Note Like "*##-##-####*") >OR (Note Like "*##-#-####*") >OR (Note) Like "*#-##-####*") >OR (Note Like "*#-#-####*")); > >This gives me all the records that have dates formatted with dashes. But >what I want is to actually extract those dates and stuff them into a new >column as a Date type. > I've looked through the Access 2003 Help for a while but I don't seem to >find anything that jumps out at me. To use the Instr() function you need to >supply a literal value, not a pattern. I guess what I'm looking for is a >function similar to the Match() function in the old Borland Paradox program. >You provided the string to search as well as the string pattern you're >searching for and the Match() function would stuff the located substring >into a variable for you. > Anything like this that you can think of? I'm considering writing a VBA >Match() function, but I'm hoping there's something else available. Thanks. > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI >www.swerbach.com >Security Page: www.swerbach.com/security > > -- Marty Connelly Victoria, B.C. Canada From erbachs at gmail.com Fri Nov 18 06:32:05 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:32:05 -0600 Subject: [AccessD] A2003: Extracting strings In-Reply-To: <437D4228.3080300@shaw.ca> References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> Message-ID: <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> Marty, You know, I looked for the phrase "regular expression" in the "Help" but found nothing but the usual references to expressions: expression builder, expressions in queries, jet expression sandbox mode, etc. After getting your very helpful hint, I looked on my Safari Bookshelf in the "VBScript in a Nutshell" book, and voil?! There she is! RegExp object and all its methods and properties. Thank you. Has that object been available to me all this time? I mean, since Access 97 or 2000? Steve Erbach Neenah, WI On 11/17/05, MartyConnelly wrote: > > How about a Regular Expression function > > '?getDateRegEx("aaaa 12-12-2005 888hh") > '?getDateRegEx("aaaa 13-13-04 888hh") > '?getDateRegEx("aaaa 12-12-04 888hh") > > Public Function getDateRegEx(ByVal sValue As String) As Variant > > 'need reference to Microsoft VBScript Regular Expressions 5.5, > ' or Set r = CreateObject("vbscript.regexp") > Dim x As Integer > Dim r As RegExp > Dim buf As String > Dim match As Object > Dim matches As Object > > getDateRegEx = Null > 'throws a null into a bad date like 13-13-2005 > > Set r = New RegExp > r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" > ' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- > /.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" > > Set matches = r.Execute(sValue) > For Each match In matches > Debug.Print match.Value > On Error Resume Next > getDateRegEx = CDate(match.Value) > Next match > Set matches = Nothing > Set r = Nothing > End Function > > > > Steve Erbach wrote: > > >Dear Group, > > Lets say you have a note field in a table into which your users have > been > >entering text notes that include dates in various formats (9-1-05, > 10/12/04, > >8/3/2004, etc.) as well as the text. What I'd like to do is extract those > >dates from the note field and stuff them into a bona fide date field. > From erbachs at gmail.com Fri Nov 18 06:44:06 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:44:06 -0600 Subject: [AccessD] Access conectivity to SQL Server In-Reply-To: <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> References: <39cb22f30511171352m2109cf47i1b5480bc0d4a56f9@mail.gmail.com> <004b01c5ebd6$c0bf2c10$6b01a8c0@ScuzzPaq> Message-ID: <39cb22f30511180444r7bbe57f6i92b7cb5f820cba45@mail.gmail.com> John, Yes, I did. Just went back to look at it. I haven't been around AccessD for quite a while, not even lurking too much since I've done mostly ASP with ADO data access and some web page design lately. I haven't been paying attention to Access much. Charlotte's seems to suggest that Microsoft MAY move Access into the .NET realm. Do you have any other insights into this transformation? Sorry about the, apparently, oblivious answer I gave. I've used Toad and Query Analyzer and Enterprise Manager for dealing with SQL Server data, but I still use Access ADP's for all-around usefulness. Steve Erbach Neenah, WI On 11/17/05, John Bartow wrote: > > Steve, > Did you miss my ADP question? > :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Thursday, November 17, 2005 3:52 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access conectivity to SQL Server > > John, > Definitely ADO. Don't use A97 anymore, so I haven't seen the need to keep > using ODBC. ADP's work slick. > Steve Erbach > Neenah, WI > > From erbachs at gmail.com Fri Nov 18 06:48:00 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 06:48:00 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq> <003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> Message-ID: <39cb22f30511180447h49ec7e26m9536830cec1a73bf@mail.gmail.com> William, Following on to John's other question about connecting to SQL Server, are you saying that when connecting to SQL Server data sources (for the time being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very interesting. Pass-through queries and all? Steve Erbach Neenah, WI On 11/16/05, William Hindman wrote: > > ...I dropped any work with ADPs when MS made it clear they weren't the > future ...had enough learning on my pallet as it was ...not that I was > happy > with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the > moment and doing just fine :) > > William > > ----- Original Message ----- > From: "John Bartow" > To: "_DBA-Access" > Sent: Wednesday, November 16, 2005 12:52 PM > Subject: [AccessD] A2K3 ADP > > > > Does anyone have comments on ADPs with A2K3? > > > > IIRC there were some negatives brought up about them here with previous > > versions. > > > > Are you using ADPs for SQLServer data sources or MDBs via DB > connectivity? > > > > TIA > > John B. > From paul.hartland at isharp.co.uk Fri Nov 18 07:26:14 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 18 Nov 2005 13:26:14 -0000 Subject: [AccessD] Creating A New Access Database From An Existing Database & Set Menu Options In-Reply-To: Message-ID: To all, I have a bit of spare time on my hands and was wondering if the following is possible, I have created a new Access database from within an existing database. What I now want to do is create my own menu bar for that database, and set it so that this is the only menu bar that shows when that particular database is opened. So I need to know: 1. How to create my own menu bar (via VBA) for the new database. 2. How to set the options so that when it is opened I only have the custom menu bar appear. Thanks in advance for any help and/or code samples. Paul Hartland Database Developer. From Gustav at cactus.dk Fri Nov 18 08:16:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Nov 2005 15:16:04 +0100 Subject: [AccessD] Creating an ADO Data Provider Message-ID: Hi Marty That's right - but wouldn't you have to use the ODBC driver anyway? Of course, using the ODBC driver directly you'll have to deal with connections strings etc. Creating an ADO Data Provider you hide the connection details away. /gustav >>> martyconnelly at shaw.ca 17-11-2005 19:57:40 >>> Just a guess but you might want to do this for example with SAP DB or it's other incarnation from MySQL MaxDB since I don't think anyone has written an OLEDB provider yet. Otherwise you have to use an ODBC driver. Gustav Brock wrote: >Hi all > >Seeking some advice here ... I read this article on the subject: > > http://msdn.microsoft.com/library/en-us/dnsmart00/html/sa00b10.asp > >because I've never worked with such. >It seems to be quite some work with Registry entries etc. >The article explains how to do it but not really why. > >Why would you go this route? And - perhaps - why not? From wdhindman at bellsouth.net Fri Nov 18 09:54:16 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 18 Nov 2005 10:54:16 -0500 Subject: [AccessD] A2K3 ADP References: <002201c5ead6$92615380$6701a8c0@ScuzzPaq><003901c5eb06$9d779c40$6101a8c0@JISREGISTRATION.local> <39cb22f30511180447h49ec7e26m9536830cec1a73bf@mail.gmail.com> Message-ID: <001901c5ec58$54a7fde0$6101a8c0@JISREGISTRATION.local> ...just call me Dinosaurus Rex :) Willam ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Friday, November 18, 2005 7:48 AM Subject: Re: [AccessD] A2K3 ADP > William, > > Following on to John's other question about connecting to SQL Server, are > you saying that when connecting to SQL Server data sources (for the time > being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very > interesting. Pass-through queries and all? > > Steve Erbach > Neenah, WI > > On 11/16/05, William Hindman wrote: >> >> ...I dropped any work with ADPs when MS made it clear they weren't the >> future ...had enough learning on my pallet as it was ...not that I was >> happy >> with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the >> moment and doing just fine :) >> >> William >> >> ----- Original Message ----- >> From: "John Bartow" >> To: "_DBA-Access" >> Sent: Wednesday, November 16, 2005 12:52 PM >> Subject: [AccessD] A2K3 ADP >> >> >> > Does anyone have comments on ADPs with A2K3? >> > >> > IIRC there were some negatives brought up about them here with previous >> > versions. >> > >> > Are you using ADPs for SQLServer data sources or MDBs via DB >> connectivity? >> > >> > TIA >> > John B. >> > -- > 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 Nov 18 08:44:50 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 15:44:50 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118154447.86703251D9D@smtp.nildram.co.uk> Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From harkinsss at bellsouth.net Fri Nov 18 09:54:32 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 18 Nov 2005 10:54:32 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: <20051118155431.PEFH23329.ibm56aec.bellsouth.net@SUSANONE> Andy, I've never run into that one -- very curious. Is this happening in all your mdb's or just one? Have you tried an Office Repair (not a repair/compact)? Susan H. Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. From jimdettman at earthlink.net Fri Nov 18 10:10:56 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 18 Nov 2005 11:10:56 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 dwaters at usinternet.com Fri Nov 18 10:16:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 18 Nov 2005 10:16:20 -0600 Subject: [AccessD] Syntax Corrections In-Reply-To: <9548351.1132328822512.JavaMail.root@sniper19> Message-ID: <000301c5ec5b$69bbedb0$0200a8c0@danwaters> Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 andy at minstersystems.co.uk Fri Nov 18 09:20:08 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:20:08 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162004.A6328251B87@smtp.nildram.co.uk> Hi Jim Unless I'm going blind (perfectly possible) A97 doesn't have an AutoCorrect in Tools Options. It has all kinds of other things, like Auto Syntax Check, which I've tried unchecking, but if it's a combination of these then I haven't hit on the right combination yet. -- 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] Syntax Corrections Date: 18/11/05 16:12 Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 andy at minstersystems.co.uk Fri Nov 18 09:21:26 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:21:26 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162123.4D77F254553@smtp.nildram.co.uk> mmmm, it's mdb-specific by the look of things. But the mdb has definitely been repaired recently. -- 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] Syntax Corrections Date: 18/11/05 15:56 Andy, I've never run into that one -- very curious. Is this happening in all your mdb's or just one? Have you tried an Office Repair (not a repair/compact)? Susan H. Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Fri Nov 18 10:21:43 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 11:21:43 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118154447.86703251D9D@smtp.nildram.co.uk> Message-ID: <039b01c5ec5c$2a840a50$667aa8c0@ColbyM6805> I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 andy at minstersystems.co.uk Fri Nov 18 09:25:30 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:25:30 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118162526.90B192501E4@smtp.nildram.co.uk> Do you get it too then Dan? I don't mean when you finish the line, which I agree has always happened, I'm talking about on a line which is half-completed and you pause in your typing (and sometimes I barely even pause), watch the screen and bam there it goes. As I've just said to Susan it's actually only happening in a specific mdb. I just created a new mdb, a new module, typed my test str=str & " and in the new mdb it just sat there politely, as I want, waiting for me to finish. -- 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] Syntax Corrections Date: 18/11/05 16:18 Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 andy at minstersystems.co.uk Fri Nov 18 09:36:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:36:14 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118163610.8B4A124DE02@smtp.nildram.co.uk> Ok I'm further on. It's not that it's mdb-specific, it's something else. It happens if there's code running. So if I have a form open (I mean in Form View not design) and I F6 switch round to the database window, open a module and start work that's when it happens. If there's no code running it doesn't. I still don't think this used to happen though. -- 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] Syntax Corrections Date: 18/11/05 16:21 Hi Jim Unless I'm going blind (perfectly possible) A97 doesn't have an AutoCorrect in Tools Options. It has all kinds of other things, like Auto Syntax Check, which I've tried unchecking, but if it's a combination of these then I haven't hit on the right combination yet. -- 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] Syntax Corrections Date: 18/11/05 16:12 Turn off Auto Correct in tools/options. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Fri Nov 18 09:39:34 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 18 Nov 2005 16:39:34 +0100 Subject: [AccessD] Syntax Corrections Message-ID: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- 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 rl_stewart at highstream.net Fri Nov 18 10:54:53 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 18 Nov 2005 10:54:53 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: References: Message-ID: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Not really, since Microsoft is not going to continue support of ADPs. All those using them will have to re-tool their applications. I have some massive MDBs that connect only to SLQ Server, using ODBC. I was going to rewrite them to ADPs, but when I heard they were not going to be supported, I stopped. I am rewriting them in .Net instead. And, stored procs work fine using ODBC, just use a pass through query. Normally, I have one without the parameters (_0) that I use to build the one with the parameters (_1). And I simply change the SQL statement in code for the _1 query. If you are worried about the connection string, simply replace it through code also. Robert At 10:11 AM 11/18/2005, you wrote: >Date: Fri, 18 Nov 2005 10:54:16 -0500 >From: "William Hindman" >Subject: Re: [AccessD] A2K3 ADP >To: "Access Developers discussion and problem solving" > >Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > reply-type=original > >...just call me Dinosaurus Rex :) > >Willam > >----- Original Message ----- >From: "Steve Erbach" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 18, 2005 7:48 AM >Subject: Re: [AccessD] A2K3 ADP > > > > William, > > > > Following on to John's other question about connecting to SQL Server, are > > you saying that when connecting to SQL Server data sources (for the time > > being, anyway) you're relying on ODBC and DAO 3.6 in MDB's? Very > > interesting. Pass-through queries and all? > > > > Steve Erbach > > Neenah, WI > > > > On 11/16/05, William Hindman wrote: > >> > >> ...I dropped any work with ADPs when MS made it clear they weren't the > >> future ...had enough learning on my pallet as it was ...not that I was > >> happy > >> with the performance I got with an ADP anyway ...I'm pure DAO 3.6 for the > >> moment and doing just fine :) > >> > >> William > >> > >> ----- Original Message ----- > >> From: "John Bartow" > >> To: "_DBA-Access" > >> Sent: Wednesday, November 16, 2005 12:52 PM > >> Subject: [AccessD] A2K3 ADP > >> > >> > >> > Does anyone have comments on ADPs with A2K3? > >> > > >> > IIRC there were some negatives brought up about them here with previous > >> > versions. > >> > > >> > Are you using ADPs for SQLServer data sources or MDBs via DB > >> connectivity? > >> > > >> > TIA > >> > John B. > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > From dwaters at usinternet.com Fri Nov 18 10:58:24 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 18 Nov 2005 10:58:24 -0600 Subject: [AccessD] Syntax Corrections In-Reply-To: <24032912.1132330355896.JavaMail.root@sniper21> Message-ID: <000001c5ec61$4a5d2b90$0200a8c0@danwaters> Yes - I didn't think of this but my main screen does have a 1 minute timer event. The code auto-spacing seemed to happen at random times, but perhaps every minute might be about right. Try a test with and without the timer to see what happens! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 9:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections Do you get it too then Dan? I don't mean when you finish the line, which I agree has always happened, I'm talking about on a line which is half-completed and you pause in your typing (and sometimes I barely even pause), watch the screen and bam there it goes. As I've just said to Susan it's actually only happening in a specific mdb. I just created a new mdb, a new module, typed my test str=str & " and in the new mdb it just sat there politely, as I want, waiting for me to finish. -- 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] Syntax Corrections Date: 18/11/05 16:18 Andy, I can't remember when the space weren't added automatically. Don't know how to turn it off. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 8:45 AM To: Access Developers discussion and problem solving Subject: [AccessD] Syntax Corrections Ok I've put up with it for a while but this is driving me nuts now. Access 97. This has started fairly recently and I'm not aware of having changed any setting to cause it. What it is is that as I type code Access will, on occasions, 'correct' it as I type. Let me give you an example. I type: strA=strA & " I haven't finished the line but sometimes (and always if I hesitate long enough) Access will automagically add spaces either side of the = for me and a second " so that what I now have is strA = strA & "" Now that's ok except that while 3 characters have thus been added to the line the cursor hasn't moved. Instead, therefore, of being at the end of the line it's now 3 spaces before the end (immediately after the & in my example). If I'm not looking at the screen and keep typing my text then when I do eventually look up, or just hit enter at what I think is my line end, the statement is shot to pieces. I've tried unchecking various Options (eg Auto Syntax Check) but I can't seem to stop it. I swear that what used to happen was that this tidying up occurred only when I hit Enter at the end of a line. Doing it while I'm still typing the line is doing my head in. Does anyone know how I switch this behaviour off? -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Nov 18 11:07:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:07:14 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> Message-ID: <03ac01c5ec62$86564cc0$667aa8c0@ColbyM6805> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com From jwcolby at ColbyConsulting.com Fri Nov 18 11:07:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:07:14 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <20051118163931.1AA5D2511B6@smtp.nildram.co.uk> Message-ID: <03ad01c5ec62$86a29800$667aa8c0@ColbyM6805> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- 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] Syntax Corrections Date: 18/11/05 16:24 I run into this when a form is open and firing the timer event. The timer event (and code) running causes an attempted compile of the code I am working on and the compile process does weird things. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Nov 18 11:20:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 18 Nov 2005 18:20:13 +0100 Subject: [AccessD] Syntax Corrections Message-ID: Hi John Ahh, not so sensible, I can only guess what those thingies might be, but isn't it Friday? /gustav >>> jwcolby at ColbyConsulting.com 18-11-2005 18:07:14 >>> Yea, you can just close the form, or have a little button or something that stops the timer while you are working. Now on the subject of "the dog's thingie", I am not really sure that I want to be known as "the dog's thingie". "God" is fine, "king" is great as well. I suppose "The dog's thingie" is better than being the fire hydrant / lamp pole. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Friday, November 18, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections JC you are (as we all know) the dog's thingies. I just posted saying this is only happening if I've got a form open, and that form does indeed have a timer event. So I do believe that you've hit the hypothetical nail on its symbolic head. All of which means that I'm still going to fall foul of this but at least I know how to stop it. Thanks JC. -- Andy Lacey http://www.minstersystems.co.uk From martyconnelly at shaw.ca Fri Nov 18 11:26:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 09:26:35 -0800 Subject: [AccessD] A2003: Extracting strings References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> Message-ID: <437E0ECB.20106@shaw.ca> It has been available since vbscript.dll came out. There were three version (5.0 or 1.0) 5.5 and 5.6 5.6 has a lot of additional methods to handle multi-line regexp, some may have been OS specific. With Access 97 you had force a VBA reference in code with a specific entry points to old versions of the dll. After 5.6 came out you could just do CreateObject("vbscript.regexp") I think I cheesed off some Swedish programmer who was selling a mda solution for $50 when I posted the method on comp.databases.ms-access about 5 years ago. . I have a sample mdb at http://www.rogersaccesslibrary.com/OtherLibraries.asp look under my name for RegularExpressionValidator. It is just code I was using for testing. The most useful part is the regexp pattern documentor, I borrowed the VB6 code from Don Edwards Seattle. in frmRegExTester. Handy for looking at long paragraph length patterns. I have seen one for emails that is 4 pages long. "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" digit 1 to 2 times Followed by any of - one or more times Followed by digit 1 to 2 times Followed by any of - one or more times Followed by digit 1 to 4 times There is documentation to use RegExp under Script56.chm or Script55.chm "C:\Program Files\Microsoft Windows Script\ScriptDocs\Script56.CHM" Lots of sample patterns out there but most are for grep or pearl regexp The syntax is a little different just remove the first and last character a ^ and $ I think. There is a txt file with the sample mdb with old urls to regexp sites maybe out of date. ' DLL included with Windows Scripting Host or IE5 vbscript 'ReferenceFromFile "c:\windows\system\vbscript.dll\2 ' Windows 2000: Requires a reference to VBScript Regular Expressions ' Microsoft VBScript Regular Expressions 1.0 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\2 Version 1.0 ' C:\Windows\System\vbscript.dll\2 ' Microsoft VBScript Regular Expressions 5.5 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\3 Version 5.5 ' C:\Windows\System\vbscript.dll\3 ' if using Version 5.5 Dim objRE As VBScript_RegExp_55.RegExp 'Dim objRE As VBScript_RegExp_10.RegExp 'Set objRE = New VBScript_RegExp_10.RegExp "c:\Windows\System\vbscript.dll\3", True 'ReferenceFromFile "c:\windows\system\vbscript.dll\4",true Steve Erbach wrote: >Marty, > >You know, I looked for the phrase "regular expression" in the "Help" but >found nothing but the usual references to expressions: expression builder, >expressions in queries, jet expression sandbox mode, etc. After getting your >very helpful hint, I looked on my Safari Bookshelf in the "VBScript in a >Nutshell" book, and voil?! There she is! RegExp object and all its methods >and properties. Thank you. > >Has that object been available to me all this time? I mean, since Access 97 >or 2000? > >Steve Erbach >Neenah, WI > >On 11/17/05, MartyConnelly wrote: > > >>How about a Regular Expression function >> >>'?getDateRegEx("aaaa 12-12-2005 888hh") >>'?getDateRegEx("aaaa 13-13-04 888hh") >>'?getDateRegEx("aaaa 12-12-04 888hh") >> >>Public Function getDateRegEx(ByVal sValue As String) As Variant >> >>'need reference to Microsoft VBScript Regular Expressions 5.5, >>' or Set r = CreateObject("vbscript.regexp") >>Dim x As Integer >>Dim r As RegExp >>Dim buf As String >>Dim match As Object >>Dim matches As Object >> >>getDateRegEx = Null >>'throws a null into a bad date like 13-13-2005 >> >>Set r = New RegExp >>r.Pattern = "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" >>' r.Pattern = "((?:19|20)\d\d)[- /.](0[1-9]|1[012])[- >>/.](0[1-9]|[12][0-9]|3[01][- /.](?:19|20)\d\d))" >> >>Set matches = r.Execute(sValue) >>For Each match In matches >>Debug.Print match.Value >>On Error Resume Next >>getDateRegEx = CDate(match.Value) >>Next match >>Set matches = Nothing >>Set r = Nothing >>End Function >> >> >> >>Steve Erbach wrote: >> >> >> >>>Dear Group, >>>Lets say you have a note field in a table into which your users have >>> >>> >>been >> >> >>>entering text notes that include dates in various formats (9-1-05, >>> >>> >>10/12/04, >> >> >>>8/3/2004, etc.) as well as the text. What I'd like to do is extract those >>>dates from the note field and stuff them into a bona fide date field. >>> >>> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 18 11:34:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 09:34:27 -0800 Subject: [AccessD] Syntax Corrections References: <039b01c5ec5c$2a840a50$667aa8c0@ColbyM6805> Message-ID: <437E10A3.60507@shaw.ca> Here is some code I got from Trevor Best that gets you around this debugging problem where you could get clobbered p-code you have a form that's open for the duration of the application with a timer event, then put this code into it. --- begin code --- If Application.Modules.Count Then Debug.Print "" Debug.Print "*******************************" Debug.Print "*** Turning off form timers ***" Debug.Print "*******************************" For Each frm In Application.Forms Debug.Print frm.Name frm.TimerInterval = 0 Next Debug.Print "*******************************" Debug.Print "*** Form Timers turned off ***" Debug.Print "*******************************" Set frm = Nothing End If --- end code --- John Colby wrote: >I run into this when a form is open and firing the timer event. The timer >event (and code) running causes an attempted compile of the code I am >working on and the compile process does weird things. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 18, 2005 9:45 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Syntax Corrections > > >Ok I've put up with it for a while but this is driving me nuts now. > >Access 97. This has started fairly recently and I'm not aware of having >changed any setting to cause it. What it is is that as I type code Access >will, on occasions, 'correct' it as I type. Let me give you an example. > >I type: > >strA=strA & " > >I haven't finished the line but sometimes (and always if I hesitate long >enough) Access will automagically add spaces either side of the = for me and >a second " so that what I now have is > >strA = strA & "" > >Now that's ok except that while 3 characters have thus been added to the >line the cursor hasn't moved. Instead, therefore, of being at the end of the >line it's now 3 spaces before the end (immediately after the & in my >example). If I'm not looking at the screen and keep typing my text then when >I do eventually look up, or just hit enter at what I think is my line end, >the statement is shot to pieces. > >I've tried unchecking various Options (eg Auto Syntax Check) but I can't >seem to stop it. I swear that what used to happen was that this tidying up >occurred only when I hit Enter at the end of a line. Doing it while I'm >still typing the line is doing my head in. > >Does anyone know how I switch this behaviour off? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- Marty Connelly Victoria, B.C. Canada From KIsmert at texassystems.com Fri Nov 18 11:36:01 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 18 Nov 2005 11:36:01 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: Larry, I wrote a simple banded report writer for Excel. It will definitely handle the row based calculations -- just put the formulas in Excel in the proper place. It doesn't support column-based (Sum, etc. calculations), but that is possible. Basically, you define the report in an Excel template. You define the bands by using named ranges. You can have Report Headers/Footers, Page Headers/Footers, multiple Group Headers/Footers, and Records. You can even define Optional Record groups, sort of a Can Grow/Shrink substitute where if any field in an Optional Record group has a value, the group is shown, otherwise if no fields have a value, it is hidden. The groups define labels and fields by using the Locked flag under Protection in Format Cells. If Locked is checked, the cell is treated as a label or white space. If unchecked, the cell's contents is treated as a field name, and substituted with the field's value when the report is generated. Page numbering is supported, but that's about the only report-level function currently supported. Its slower than other methods, perhaps, but the results can be as pretty as you like. -Ken From jwcolby at ColbyConsulting.com Fri Nov 18 11:46:41 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 18 Nov 2005 12:46:41 -0500 Subject: [AccessD] Syntax Corrections In-Reply-To: <437E10A3.60507@shaw.ca> Message-ID: <03bb01c5ec68$08f70ed0$667aa8c0@ColbyM6805> Where do you put this? It the timer event so that as it runs it checks every time, and if encountered, shuts them all down? Or just in a button somewhere? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 18, 2005 12:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Syntax Corrections Here is some code I got from Trevor Best that gets you around this debugging problem where you could get clobbered p-code you have a form that's open for the duration of the application with a timer event, then put this code into it. --- begin code --- If Application.Modules.Count Then Debug.Print "" Debug.Print "*******************************" Debug.Print "*** Turning off form timers ***" Debug.Print "*******************************" For Each frm In Application.Forms Debug.Print frm.Name frm.TimerInterval = 0 Next Debug.Print "*******************************" Debug.Print "*** Form Timers turned off ***" Debug.Print "*******************************" Set frm = Nothing End If --- end code --- John Colby wrote: >I run into this when a form is open and firing the timer event. The >timer event (and code) running causes an attempted compile of the code >I am working on and the compile process does weird things. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: Friday, November 18, 2005 9:45 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Syntax Corrections > > >Ok I've put up with it for a while but this is driving me nuts now. > >Access 97. This has started fairly recently and I'm not aware of having >changed any setting to cause it. What it is is that as I type code >Access will, on occasions, 'correct' it as I type. Let me give you an >example. > >I type: > >strA=strA & " > >I haven't finished the line but sometimes (and always if I hesitate >long >enough) Access will automagically add spaces either side of the = for me and >a second " so that what I now have is > >strA = strA & "" > >Now that's ok except that while 3 characters have thus been added to >the line the cursor hasn't moved. Instead, therefore, of being at the >end of the line it's now 3 spaces before the end (immediately after the >& in my example). If I'm not looking at the screen and keep typing my >text then when I do eventually look up, or just hit enter at what I >think is my line end, the statement is shot to pieces. > >I've tried unchecking various Options (eg Auto Syntax Check) but I >can't seem to stop it. I swear that what used to happen was that this >tidying up occurred only when I hit Enter at the end of a line. Doing >it while I'm still typing the line is doing my head in. > >Does anyone know how I switch this behaviour off? >-- >Andy Lacey >http://www.minstersystems.co.uk > > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- 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 bheygood at abestsystems.com Fri Nov 18 12:07:50 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 18 Nov 2005 10:07:50 -0800 Subject: [AccessD] Access To HTML To PDF In-Reply-To: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Message-ID: Hello to the list, My client wishes me to export some data and graphs to PDF with some menus and buttons to allow the user to navigate within the PDF. His prototype, using HTML with text and graphs pasted in, works just fine when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, take me to the right location in the document. How can I do this automatically? Preferably without the html. Access reports and forms don't seem to allow other than static (no buttons) output to PDF. TIA bob heygood From erbachs at gmail.com Fri Nov 18 12:12:16 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 12:12:16 -0600 Subject: [AccessD] A2003: Extracting strings In-Reply-To: <437E0ECB.20106@shaw.ca> References: <39cb22f30511171406l40cf976t8b4e9c28489dd704@mail.gmail.com> <437D4228.3080300@shaw.ca> <39cb22f30511180432u75cb0dd5o175a197444c41614@mail.gmail.com> <437E0ECB.20106@shaw.ca> Message-ID: <39cb22f30511181012m5cf365bpa127cfa080403635@mail.gmail.com> Marty, Thank you for all great information. Steve Erbach On 11/18/05, MartyConnelly wrote: > > It has been available since vbscript.dll came out. There were three > version (5.0 or 1.0) 5.5 and 5.6 > 5.6 has a lot of additional methods to handle multi-line regexp, some > may have been OS specific. > > With Access 97 you had force a VBA reference in code with a specific > entry points to old versions of the dll. > > After 5.6 came out you could just do CreateObject("vbscript.regexp") > I think I cheesed off some Swedish programmer who was selling a mda > solution for $50 > when I posted the method on comp.databases.ms-access about 5 years ago. > . > I have a sample mdb at > http://www.rogersaccesslibrary.com/OtherLibraries.asp > look under my name for RegularExpressionValidator. It is just code I was > using for testing. > > > The most useful part is the regexp pattern documentor, I borrowed the > VB6 code from Don Edwards Seattle. > in frmRegExTester. Handy for looking at long paragraph length patterns. > I have seen one for emails > that is 4 pages long. > > "\d{1,2}[-]+\d{1,2}[-]+\d{1,4}" > > > digit 1 to 2 times > Followed by any of - one or more times > Followed by digit 1 to 2 times > Followed by any of - one or more times > Followed by digit 1 to 4 times > > From lmrazek at lcm-res.com Fri Nov 18 12:17:41 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 18 Nov 2005 12:17:41 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <078001c5ec6c$5e247d80$036fa8c0@hplaptop> Hi Ken: Does your approach adapt to data that might have 5 groups one month, then 10 the next? I want to make sure that once we build this thing, we're not forever going back to Excel to modify headers, add groups, etc. Thanks! 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 Ken Ismert Sent: Friday, November 18, 2005 11:36 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export To Excel - Formulas Possible? Larry, I wrote a simple banded report writer for Excel. It will definitely handle the row based calculations -- just put the formulas in Excel in the proper place. It doesn't support column-based (Sum, etc. calculations), but that is possible. Basically, you define the report in an Excel template. You define the bands by using named ranges. You can have Report Headers/Footers, Page Headers/Footers, multiple Group Headers/Footers, and Records. You can even define Optional Record groups, sort of a Can Grow/Shrink substitute where if any field in an Optional Record group has a value, the group is shown, otherwise if no fields have a value, it is hidden. The groups define labels and fields by using the Locked flag under Protection in Format Cells. If Locked is checked, the cell is treated as a label or white space. If unchecked, the cell's contents is treated as a field name, and substituted with the field's value when the report is generated. Page numbering is supported, but that's about the only report-level function currently supported. Its slower than other methods, perhaps, but the results can be as pretty as you like. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Fri Nov 18 12:19:26 2005 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 18 Nov 2005 12:19:26 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> Message-ID: <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> Robert, I'm not concerned about coding something like this. I'm more interested in the state of Microsoft development and support. I have a Universal MSDN subscription, but I confess I don't pay that much attention to what's happening with Access. It just seemed to me that ADP's were so handy. Steve Erbach Neenah, WI On 11/18/05, Robert L. Stewart wrote: > > Not really, since Microsoft is not going to continue support of > ADPs. All those using them will have to re-tool their applications. > > I have some massive MDBs that connect only to SLQ Server, using > ODBC. I was going to rewrite them to ADPs, but when I heard they > were not going to be supported, I stopped. I am rewriting them in > .Net instead. > > And, stored procs work fine using ODBC, just use a pass through > query. Normally, I have one without the parameters (_0) that I use > to build the one with the parameters (_1). And I simply change the > SQL statement in code for the _1 query. If you are worried about the > connection string, simply replace it through code also. > > Robert > > At 10:11 AM 11/18/2005, you wrote: > >Date: Fri, 18 Nov 2005 10:54:16 -0500 > >From: "William Hindman" > >Subject: Re: [AccessD] A2K3 ADP > >To: "Access Developers discussion and problem solving" > > > >Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> > >Content-Type: text/plain; format=flowed; charset="iso-8859-1"; > > reply-type=original > > > >...just call me Dinosaurus Rex :) > > > >Willam > From martyconnelly at shaw.ca Fri Nov 18 12:33:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 10:33:42 -0800 Subject: [AccessD] Syntax Corrections References: <03bb01c5ec68$08f70ed0$667aa8c0@ColbyM6805> Message-ID: <437E1E86.7080900@shaw.ca> This assumes you have a timer event that starts running in say a hidden form on entry to the mdb Or if you are debugging put in the on open event of a form that has a timer This line Application.Modules.Count Checks if you have a vba module open in edit or debug mode Not sure if it is set to greater than zero if code behind a form is open If edit or debug in effect resets timer interval to zero John Colby wrote: >Where do you put this? It the timer event so that as it runs it checks >every time, and if encountered, shuts them all down? Or just in a button >somewhere? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, November 18, 2005 12:34 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Syntax Corrections > > >Here is some code I got from Trevor Best that gets you around this >debugging problem >where you could get clobbered p-code > > you have a form that's open for the duration of the application with a >timer event, then put this code into it. >--- begin code --- > If Application.Modules.Count Then > Debug.Print "" > Debug.Print "*******************************" > Debug.Print "*** Turning off form timers ***" > Debug.Print "*******************************" > For Each frm In Application.Forms > Debug.Print frm.Name > frm.TimerInterval = 0 > Next > Debug.Print "*******************************" > Debug.Print "*** Form Timers turned off ***" > Debug.Print "*******************************" > Set frm = Nothing > > > End If >--- end code --- > > > >John Colby wrote: > > > >>I run into this when a form is open and firing the timer event. The >>timer event (and code) running causes an attempted compile of the code >>I am working on and the compile process does weird things. >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >>Sent: Friday, November 18, 2005 9:45 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Syntax Corrections >> >> >>Ok I've put up with it for a while but this is driving me nuts now. >> >>Access 97. This has started fairly recently and I'm not aware of having >>changed any setting to cause it. What it is is that as I type code >>Access will, on occasions, 'correct' it as I type. Let me give you an >>example. >> >>I type: >> >>strA=strA & " >> >>I haven't finished the line but sometimes (and always if I hesitate >>long >>enough) Access will automagically add spaces either side of the = for me >> >> >and > > >>a second " so that what I now have is >> >>strA = strA & "" >> >>Now that's ok except that while 3 characters have thus been added to >>the line the cursor hasn't moved. Instead, therefore, of being at the >>end of the line it's now 3 spaces before the end (immediately after the >>& in my example). If I'm not looking at the screen and keep typing my >>text then when I do eventually look up, or just hit enter at what I >>think is my line end, the statement is shot to pieces. >> >>I've tried unchecking various Options (eg Auto Syntax Check) but I >>can't seem to stop it. I swear that what used to happen was that this >>tidying up occurred only when I hit Enter at the end of a line. Doing >>it while I'm still typing the line is doing my head in. >> >>Does anyone know how I switch this behaviour off? >>-- >>Andy Lacey >>http://www.minstersystems.co.uk >> >> >>________________________________________________ >>Message sent using UebiMiau 2.7.2 >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Fri Nov 18 12:46:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 10:46:20 -0800 Subject: [AccessD] A2K3 ADP References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> Message-ID: <437E217C.1040105@shaw.ca> I don't know whether this statement from Mary Chipman still hold's true It is a year old regarding SQL Express 2005 and Access ADP's. From one of the microsoft non-google searchable newsgroups. I think they are still messing around with the EM for SQL 2005 "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. " Steve Erbach wrote: >Robert, > >I'm not concerned about coding something like this. I'm more interested in >the state of Microsoft development and support. I have a Universal MSDN >subscription, but I confess I don't pay that much attention to what's >happening with Access. It just seemed to me that ADP's were so handy. > >Steve Erbach >Neenah, WI > > >On 11/18/05, Robert L. Stewart wrote: > > >>Not really, since Microsoft is not going to continue support of >>ADPs. All those using them will have to re-tool their applications. >> >>I have some massive MDBs that connect only to SLQ Server, using >>ODBC. I was going to rewrite them to ADPs, but when I heard they >>were not going to be supported, I stopped. I am rewriting them in >>.Net instead. >> >>And, stored procs work fine using ODBC, just use a pass through >>query. Normally, I have one without the parameters (_0) that I use >>to build the one with the parameters (_1). And I simply change the >>SQL statement in code for the _1 query. If you are worried about the >>connection string, simply replace it through code also. >> >>Robert >> >>At 10:11 AM 11/18/2005, you wrote: >> >> >>>Date: Fri, 18 Nov 2005 10:54:16 -0500 >>>From: "William Hindman" >>>Subject: Re: [AccessD] A2K3 ADP >>>To: "Access Developers discussion and problem solving" >>> >>>Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >>>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >>>reply-type=original >>> >>>...just call me Dinosaurus Rex :) >>> >>>Willam >>> >>> -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Fri Nov 18 16:07:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 18 Nov 2005 14:07:20 -0800 Subject: [AccessD] OT Google maps In-Reply-To: <437E0ECB.20106@shaw.ca> Message-ID: <016101c5ec8c$7288c630$017ba8c0@xpserver> Hi All: This definitely OT but the list is such a talented group I pose this computer programming question. There are a number of agencies that sell lat and long cross-references to zip and postal codes and those can be used roughly positioning a 'marker' on a Google maps page. If you only need a few locations on a map is there a quicker way than zooming, clicking, capturing the mouse position and then manually entering the results for each marker into the page script? If there are only a couple of markers it is definitely the best way but if there are say 20+ required are there any short-cuts? MTIA Jim From martyconnelly at shaw.ca Fri Nov 18 16:45:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 18 Nov 2005 14:45:45 -0800 Subject: [AccessD] OT Google maps References: <016101c5ec8c$7288c630$017ba8c0@xpserver> Message-ID: <437E5999.80102@shaw.ca> Look up pushpin in the google map api Multiple pushpins can only be done through your website, I think. But I haven't footled around with it. however the q parameter puts a pushpin on the map http://maps.google.com/?q=-35.146540,138.540741&t=k&z=0 Jim Lawrence wrote: >Hi All: > >This definitely OT but the list is such a talented group I pose this >computer programming question. > >There are a number of agencies that sell lat and long cross-references to >zip and postal codes and those can be used roughly positioning a 'marker' on >a Google maps page. If you only need a few locations on a map is there a >quicker way than zooming, clicking, capturing the mouse position and then >manually entering the results for each marker into the page script? If there >are only a couple of markers it is definitely the best way but if there are >say 20+ required are there any short-cuts? > >MTIA >Jim > > > -- Marty Connelly Victoria, B.C. Canada From fahooper at trapo.com Fri Nov 18 20:16:39 2005 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 18 Nov 2005 21:16:39 -0500 Subject: [AccessD] Back End Updater modifications In-Reply-To: <003c01c5de1a$9551f720$6401a8c0@fincomplex.spb.ru> Message-ID: <000d01c5ecaf$477d19a0$2e01a8c0@fredxp> I've been using this intensively for the past few months and I'd like to thank the writers for their fine program; it's saved me many hours of work. While I think I've read references here to other versions, I've only found Version 1 so perhaps the items below are redundant with newer versions. While using the Back End Updater I've needed to make a few changes and extensions and I'm hoping that there's a process for checking them and making them available to others; e.g. a new version. The changes/extensions are: (1) Dropped tables - When used with older back ends where the tables still existed in the back end, the updater couldn't use those dropped tables, for instance in SQL statements for earlier updates. I added code that checked for tables to be dropped and added links if the tables existed at the start of the updating process. (2) SQL statements - 255 characters wasn't enough so I added some fields & code to bring it up to 1020 characters. (3) Connection strings to back end - These are different for A2000; I modified them so they work for A97 - A2003. (4) Password-protected back ends - I've put one on the back end to keep browsers out (the password is the app's name, so it's not serious). However, I needed to modify the code to support it. (5) Changing field types - I found some code on the internet (http://aislebyaisle.com/access/vba_backend_code.htm) that supported this. With minor changes I've made it work for me. I'm hopeful that the author, Allen Beechick, will make it available to us (although I haven't contacted him). (6) Running code - Some changes just *needed* code. Rather than writing such code outside the BE Updater, I extended it to running a function as one of the main options. Fred Hooper From accessd at shaw.ca Sat Nov 19 01:47:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 18 Nov 2005 23:47:13 -0800 Subject: [AccessD] OT Google maps In-Reply-To: <437E5999.80102@shaw.ca> Message-ID: <016c01c5ecdd$7481fa50$017ba8c0@xpserver> Hi Marty: There is a lot of extra code to dig through to get a piece I can use but thanks for the info... The address translator and returning lats and longs should be able to work locally, depending if it is a process that all can access. Thanks again Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, November 18, 2005 2:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Google maps Look up pushpin in the google map api Multiple pushpins can only be done through your website, I think. But I haven't footled around with it. however the q parameter puts a pushpin on the map http://maps.google.com/?q=-35.146540,138.540741&t=k&z=0 Jim Lawrence wrote: >Hi All: > >This definitely OT but the list is such a talented group I pose this >computer programming question. > >There are a number of agencies that sell lat and long cross-references to >zip and postal codes and those can be used roughly positioning a 'marker' on >a Google maps page. If you only need a few locations on a map is there a >quicker way than zooming, clicking, capturing the mouse position and then >manually entering the results for each marker into the page script? If there >are only a couple of markers it is definitely the best way but if there are >say 20+ required are there any short-cuts? > >MTIA >Jim > > > -- 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 andy at minstersystems.co.uk Sat Nov 19 05:53:53 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 11:53:53 -0000 Subject: [AccessD] Syntax Corrections In-Reply-To: <03ad01c5ec62$86a29800$667aa8c0@ColbyM6805> Message-ID: <005101c5ecff$ea4ae680$e5b60c54@minster33c3r25> It's an old Englishe compliment. Many a man would give his right arm to so known. ;-) -- 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 Colby > Sent: 18 November 2005 17:07 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Syntax Corrections > > > Yea, you can just close the form, or have a little button or > something that stops the timer while you are working. > > Now on the subject of "the dog's thingie", I am not really > sure that I want to be known as "the dog's thingie". "God" > is fine, "king" is great as well. I suppose "The dog's > thingie" is better than being the fire hydrant / lamp pole. > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, November 18, 2005 10:40 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax Corrections > > > JC you are (as we all know) the dog's thingies. I just posted > saying this is only happening if I've got a form open, and > that form does indeed have a timer event. So I do believe > that you've hit the hypothetical nail on its symbolic head. > > All of which means that I'm still going to fall foul of this > but at least I know how to stop it. Thanks JC. > > -- > 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] Syntax Corrections > Date: 18/11/05 16:24 > > > I run into this when a form is open and firing the timer > event. The timer event (and code) running causes an attempted > compile of the code I am working on and the compile process > does weird things. > > 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 andy at minstersystems.co.uk Sat Nov 19 05:53:53 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 11:53:53 -0000 Subject: [AccessD] Syntax Corrections In-Reply-To: <437E1E86.7080900@shaw.ca> Message-ID: <005201c5ecff$ea9758d0$e5b60c54@minster33c3r25> Thanks Marty, I'll give this a try. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: 18 November 2005 18:34 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Syntax Corrections > > > This assumes you have a timer event that starts running in > say a hidden > form on entry to the mdb > Or if you are debugging put in the on open event of a form > that has a timer This line > > Application.Modules.Count > > Checks if you have a vba module open in edit or debug mode > Not sure if it is set to greater than zero if code behind a > form is open If edit or debug in effect resets timer interval to zero > > John Colby wrote: > > >Where do you put this? It the timer event so that as it > runs it checks > >every time, and if encountered, shuts them all down? Or just in a > >button somewhere? > > > >John W. Colby > >www.ColbyConsulting.com > > > >Contribute your unused CPU cycles to a good cause: > >http://folding.stanford.edu/ > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >MartyConnelly > >Sent: Friday, November 18, 2005 12:34 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Syntax Corrections > > > > > >Here is some code I got from Trevor Best that gets you around this > >debugging problem > >where you could get clobbered p-code > > > > you have a form that's open for the duration of the > application with a > >timer event, then put this code into it. > >--- begin code --- > > If Application.Modules.Count Then > > Debug.Print "" > > Debug.Print "*******************************" > > Debug.Print "*** Turning off form timers ***" > > Debug.Print "*******************************" > > For Each frm In Application.Forms > > Debug.Print frm.Name > > frm.TimerInterval = 0 > > Next > > Debug.Print "*******************************" > > Debug.Print "*** Form Timers turned off ***" > > Debug.Print "*******************************" > > Set frm = Nothing > > > > > > End If > >--- end code --- > > > > > > > >John Colby wrote: > > > > > > > >>I run into this when a form is open and firing the timer event. The > >>timer event (and code) running causes an attempted compile > of the code > >>I am working on and the compile process does weird things. > >> > >>John W. Colby > >>www.ColbyConsulting.com > >> > >>Contribute your unused CPU cycles to a good cause: > >>http://folding.stanford.edu/ > >> > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Andy Lacey > >>Sent: Friday, November 18, 2005 9:45 AM > >>To: Access Developers discussion and problem solving > >>Subject: [AccessD] Syntax Corrections > >> > >> > >>Ok I've put up with it for a while but this is driving me nuts now. > >> > >>Access 97. This has started fairly recently and I'm not aware of > >>having > >>changed any setting to cause it. What it is is that as I type code > >>Access will, on occasions, 'correct' it as I type. Let me > give you an > >>example. > >> > >>I type: > >> > >>strA=strA & " > >> > >>I haven't finished the line but sometimes (and always if I hesitate > >>long > >>enough) Access will automagically add spaces either side of > the = for me > >> > >> > >and > > > > > >>a second " so that what I now have is > >> > >>strA = strA & "" > >> > >>Now that's ok except that while 3 characters have thus been added to > >>the line the cursor hasn't moved. Instead, therefore, of > being at the > >>end of the line it's now 3 spaces before the end > (immediately after the > >>& in my example). If I'm not looking at the screen and keep > typing my > >>text then when I do eventually look up, or just hit enter at what I > >>think is my line end, the statement is shot to pieces. > >> > >>I've tried unchecking various Options (eg Auto Syntax Check) but I > >>can't seem to stop it. I swear that what used to happen was > that this > >>tidying up occurred only when I hit Enter at the end of a > line. Doing > >>it while I'm still typing the line is doing my head in. > >> > >>Does anyone know how I switch this behaviour off? > >>-- > >>Andy Lacey > >>http://www.minstersystems.co.uk > >> > >> > >>________________________________________________ > >>Message sent using UebiMiau 2.7.2 > >> > >> > >> > >> > >> > > > > > > > > -- > 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 andy at minstersystems.co.uk Sat Nov 19 06:03:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 19 Nov 2005 12:03:28 -0000 Subject: [AccessD] Back End Updater modifications In-Reply-To: <000d01c5ecaf$477d19a0$2e01a8c0@fredxp> Message-ID: <005401c5ed01$40db20e0$e5b60c54@minster33c3r25> Hi Fred Glad you like BEU but sounds like you've done a lot of extra stuff. We have talked about further versions but it's finding the time. One thing Reuben did recently was add the functionality to run a query rather than just embedded SQL, so you might find that useful. I've added a couple of facilities I needed too, namely allowing a function to be specified as the default value on a field (eg today's date), and I've added a Print facility which prints the changes between 2 version numbers, which I've found useful. If you want any of that I can send it off-list. So, lots of scope for improvements, and yours sound great, esp the changing field types one. If you wanted to share any of that I'm sure we'd be interested. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: 19 November 2005 02:17 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Back End Updater modifications > > > I've been using this intensively for the past few months and > I'd like to thank the writers for their fine program; it's > saved me many hours of work. > > While I think I've read references here to other versions, > I've only found Version 1 so perhaps the items below are > redundant with newer versions. > > While using the Back End Updater I've needed to make a few > changes and extensions and I'm hoping that there's a process > for checking them and making them available to others; e.g. a > new version. > > The changes/extensions are: > > (1) Dropped tables - When used with older back ends where > the tables still existed in the back end, the updater > couldn't use those dropped tables, for instance in SQL > statements for earlier updates. I added code that checked for > tables to be dropped and added links if the tables existed at > the start of the updating process. > > (2) SQL statements - 255 characters wasn't enough so I added > some fields & code to bring it up to 1020 characters. > > (3) Connection strings to back end - These are different for > A2000; I modified them so they work for A97 - A2003. > > (4) Password-protected back ends - I've put one on the back > end to keep browsers out (the password is the app's name, so > it's not serious). However, I needed to modify the code to support it. > > (5) Changing field types - I found some code on the internet > (http://aislebyaisle.com/access/vba_backend_code.htm) that > supported this. With minor changes I've made it work for me. > I'm hopeful that the author, Allen Beechick, will make it > available to us (although I haven't contacted him). > > (6) Running code - Some changes just *needed* code. Rather > than writing such code outside the BE Updater, I extended it > to running a function as one of the main options. > > Fred Hooper > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From erbachs at gmail.com Sat Nov 19 14:53:58 2005 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 19 Nov 2005 14:53:58 -0600 Subject: [AccessD] A2K3 ADP In-Reply-To: <437E217C.1040105@shaw.ca> References: <6.2.3.4.2.20051118104941.029d3938@pop3.highstream.net> <39cb22f30511181019m378450e4jd82ac7078e419e22@mail.gmail.com> <437E217C.1040105@shaw.ca> Message-ID: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Thanks, Marty. Steve Erbach Neenah, WI On 11/18/05, MartyConnelly wrote: > > > I don't know whether this statement from Mary Chipman still hold's true > It is a year old regarding SQL Express 2005 and Access ADP's. > From one of the microsoft non-google searchable newsgroups. > I think they are still messing around with the EM for SQL 2005 > > > "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. " > > Steve Erbach wrote: > > >Robert, > > > >I'm not concerned about coding something like this. I'm more interested > in > >the state of Microsoft development and support. I have a Universal MSDN > >subscription, but I confess I don't pay that much attention to what's > >happening with Access. It just seemed to me that ADP's were so handy. > > > >Steve Erbach > >Neenah, WI > From accessd at shaw.ca Sat Nov 19 16:03:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2005 14:03:16 -0800 Subject: [AccessD] OT Python and IIS install In-Reply-To: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Message-ID: <018001c5ed55$0b8c8a10$017ba8c0@xpserver> OT: Hi all: I again apologize for so many OT questions but the clients are always right. Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? If so what file? Well back to it... MTIA Jim From artful at rogers.com Sat Nov 19 16:41:32 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 19 Nov 2005 17:41:32 -0500 Subject: [AccessD] A2K3 ADP In-Reply-To: <437E217C.1040105@shaw.ca> Message-ID: <200511192241.jAJMfWJ30804@databaseadvisors.com> If this is accurate, I can live with it. Why? Because the replacement for Enterprise Manager + Query Manager etc. is so slick that my old argument that ADP was the single best interface into SQL is now as obsolete as EM. Incidentally, even if you decide to keep all your SQL databases in 2000 format, install the 2005 baby asap. It is a new dawn, a new day for SQL development and management. While obviously there are numerous features available only in 2005, the fact that it can maintain 2000 databases makes this transition a lot less painful. All that said, JC has a point. VS.NET 2005 is a splendid piece of work. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: November 18, 2005 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K3 ADP I don't know whether this statement from Mary Chipman still hold's true It is a year old regarding SQL Express 2005 and Access ADP's. From one of the microsoft non-google searchable newsgroups. I think they are still messing around with the EM for SQL 2005 "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. " Steve Erbach wrote: >Robert, > >I'm not concerned about coding something like this. I'm more interested in >the state of Microsoft development and support. I have a Universal MSDN >subscription, but I confess I don't pay that much attention to what's >happening with Access. It just seemed to me that ADP's were so handy. > >Steve Erbach >Neenah, WI > > >On 11/18/05, Robert L. Stewart wrote: > > >>Not really, since Microsoft is not going to continue support of >>ADPs. All those using them will have to re-tool their applications. >> >>I have some massive MDBs that connect only to SLQ Server, using >>ODBC. I was going to rewrite them to ADPs, but when I heard they >>were not going to be supported, I stopped. I am rewriting them in >>.Net instead. >> >>And, stored procs work fine using ODBC, just use a pass through >>query. Normally, I have one without the parameters (_0) that I use >>to build the one with the parameters (_1). And I simply change the >>SQL statement in code for the _1 query. If you are worried about the >>connection string, simply replace it through code also. >> >>Robert >> >>At 10:11 AM 11/18/2005, you wrote: >> >> >>>Date: Fri, 18 Nov 2005 10:54:16 -0500 >>>From: "William Hindman" >>>Subject: Re: [AccessD] A2K3 ADP >>>To: "Access Developers discussion and problem solving" >>> >>>Message-ID: <001901c5ec58$54a7fde0$6101a8c0 at JISREGISTRATION.local> >>>Content-Type: text/plain; format=flowed; charset="iso-8859-1"; >>>reply-type=original >>> >>>...just call me Dinosaurus Rex :) >>> >>>Willam >>> >>> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Nov 19 16:50:40 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 19 Nov 2005 17:50:40 -0500 Subject: [AccessD] Database Comparison Tool Message-ID: <200511192250.jAJModJ32420@databaseadvisors.com> I have the SQL bundle from Red Gate Software, which includes SQL Compare and SQL Data Compare. Both work wonderfully and I use them every day. However, they work with SQL and not with MDBs. Is there an equivalent tool for MDBs? By equivalent, I mean that said tool should list the a) structural differences and b) the data differences between db1 and db2; and further, that the databases can be synchronized in either direction. I.e., a column has been added to a table in db1: add it to the same table in db2; said column has been populated with values: in pass two (sql data compare), replicate the values; in db1 two rows were added which are not present in db2: copy those rows to db2. Any such tool exists for MDB? TIA, Arthur P.S. I realize that one way to get there is to upsize db1 and db2 to SQL, then run the Red Gate tools. But wonder if there is something MDB-specific. From wdhindman at bellsouth.net Sat Nov 19 17:56:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 19 Nov 2005 18:56:38 -0500 Subject: [AccessD] Database Comparison Tool References: <200511192250.jAJModJ32420@databaseadvisors.com> Message-ID: <003c01c5ed64$e2030b50$6101a8c0@JISREGISTRATION.local> http://www.fmsinc.com/products/detective/index.html ...expensive but worth every penny imnsho ...hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 19, 2005 5:50 PM Subject: [AccessD] Database Comparison Tool >I have the SQL bundle from Red Gate Software, which includes SQL Compare >and > SQL Data Compare. Both work wonderfully and I use them every day. However, > they work with SQL and not with MDBs. Is there an equivalent tool for > MDBs? > By equivalent, I mean that said tool should list the a) structural > differences and b) the data differences between db1 and db2; and further, > that the databases can be synchronized in either direction. I.e., a column > has been added to a table in db1: add it to the same table in db2; said > column has been populated with values: in pass two (sql data compare), > replicate the values; in db1 two rows were added which are not present in > db2: copy those rows to db2. > Any such tool exists for MDB? > TIA, > Arthur > P.S. > I realize that one way to get there is to upsize db1 and db2 to SQL, then > run the Red Gate tools. But wonder if there is something MDB-specific. > > -- > 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 Nov 19 18:46:20 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2005 10:46:20 +1000 Subject: [AccessD] OT Python and IIS install In-Reply-To: <018001c5ed55$0b8c8a10$017ba8c0@xpserver> References: <39cb22f30511191253m5aa1fa45m31cf24aed5d47cf@mail.gmail.com> Message-ID: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> On 19 Nov 2005 at 14:03, Jim Lawrence wrote: > OT: > > Hi all: > > I again apologize for so many OT questions but the clients are always right. > > Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? > If so what file? > PHP and Perl are very different in they way work they with an HTTP server. PHP is normally run as a module of the HTTP server. Perl is generally used as a CGI processor. If you are using Apache, you can use mod_python to integrate Python with the server. See http://www.modpython.org/ and http://www.onlamp.com/pub/a/python/2003/10/02/mod_python.htm If you are using IIS, or your Apache server does not include mod_python, you use Python programs/scripts as a CGI processor the same way you would use programs written in Perl, C, VB or whatever. For using Python as a CGI processor, take a look at: http://www.cs.virginia.edu/~lab2q/ and http://gnosis.cx/publish/programming/feature_5min_python.html -- Stuart From accessd at shaw.ca Sat Nov 19 18:54:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2005 16:54:08 -0800 Subject: [AccessD] OT Python and IIS install In-Reply-To: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> Message-ID: <018501c5ed6c$ea45eff0$017ba8c0@xpserver> Hi Stuart: Thank you so very much for the insight and background. You have definitely sped up my online implementation. I current have Perl running so I am aware of the CGI processors issues. Jim PS Why wasn't DOS as feature laden? (Python is awesome.) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, November 19, 2005 4:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Python and IIS install On 19 Nov 2005 at 14:03, Jim Lawrence wrote: > OT: > > Hi all: > > I again apologize for so many OT questions but the clients are always right. > > Does Python connect to IIS/Apache, or is even supposed to, like PHP or Perl? > If so what file? > PHP and Perl are very different in they way work they with an HTTP server. PHP is normally run as a module of the HTTP server. Perl is generally used as a CGI processor. If you are using Apache, you can use mod_python to integrate Python with the server. See http://www.modpython.org/ and http://www.onlamp.com/pub/a/python/2003/10/02/mod_python.htm If you are using IIS, or your Apache server does not include mod_python, you use Python programs/scripts as a CGI processor the same way you would use programs written in Perl, C, VB or whatever. For using Python as a CGI processor, take a look at: http://www.cs.virginia.edu/~lab2q/ and http://gnosis.cx/publish/programming/feature_5min_python.html -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wangoh at tm.net.my Sat Nov 19 21:14:18 2005 From: wangoh at tm.net.my (wangoh) Date: Sun, 20 Nov 2005 11:14:18 +0800 Subject: [AccessD] WindowsXP Zipping Texr Files Message-ID: <002801c5ed80$7fabced0$0800000a@moeikhwan> Hi All! WindowsXP has the built in capabilities to Zip files. Does anyone has the codes to do this with a click on a button within MsAccess. I would like to zip C:\MyappFolder\Mydatafile.txt to Mydatafile.zip Thanks! wan From carbonnb at gmail.com Sat Nov 19 21:19:02 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 19 Nov 2005 22:19:02 -0500 Subject: [AccessD] OT Python and IIS install In-Reply-To: <018501c5ed6c$ea45eff0$017ba8c0@xpserver> References: <438053FC.21876.152D2B84@stuart.lexacorp.com.pg> <018501c5ed6c$ea45eff0$017ba8c0@xpserver> Message-ID: On 19/11/05, Jim Lawrence wrote: > (Python is awesome.) It is. It's what the mailing list software is written in. -- 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 jmhecht at earthlink.net Sat Nov 19 22:00:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 19 Nov 2005 20:00:43 -0800 Subject: [AccessD] Database Comparison Tool In-Reply-To: <200511192250.jAJModJ32420@databaseadvisors.com> Message-ID: <003601c5ed86$fb4682f0$6701a8c0@Hewlett> Arthur, Look at FMSINC.com The Detective Program Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, November 19, 2005 2:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database Comparison Tool I have the SQL bundle from Red Gate Software, which includes SQL Compare and SQL Data Compare. Both work wonderfully and I use them every day. However, they work with SQL and not with MDBs. Is there an equivalent tool for MDBs? By equivalent, I mean that said tool should list the a) structural differences and b) the data differences between db1 and db2; and further, that the databases can be synchronized in either direction. I.e., a column has been added to a table in db1: add it to the same table in db2; said column has been populated with values: in pass two (sql data compare), replicate the values; in db1 two rows were added which are not present in db2: copy those rows to db2. Any such tool exists for MDB? TIA, Arthur P.S. I realize that one way to get there is to upsize db1 and db2 to SQL, then run the Red Gate tools. But wonder if there is something MDB-specific. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Nov 20 12:22:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 20 Nov 2005 10:22:32 -0800 Subject: [AccessD] WindowsXP Zipping Texr Files References: <002801c5ed80$7fabced0$0800000a@moeikhwan> Message-ID: <4380BEE8.8070007@shaw.ca> You need to purchase Winzip and use the command line utility s = "C:\Program Files\Winzip\wzzip.exe -a -ex -ybc Mydatafile.zip " & "C:\MyappFolder\Mydatafile.txt" lPid = Shell(s, vbHide) ' vbNormalFocus) You can also use the OpenProcess api to check completion Failing that use the open source zlib from http://www.zlib.net/ wangoh wrote: >Hi All! > >WindowsXP has the built in capabilities to Zip files. >Does anyone has the codes to do this with a click on a button within MsAccess. >I would like to zip C:\MyappFolder\Mydatafile.txt to Mydatafile.zip > >Thanks! > > >wan > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Nov 20 12:44:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 20 Nov 2005 10:44:21 -0800 Subject: [AccessD] Emailing Form Data References: Message-ID: <4380C405.7010305@shaw.ca> By the way if you are doing this in a heavy duty environment. One enterprise solution is to use Xerox DocuShare but that is $10,000 for a 100 seat license. A similar product based on WebDav at less than half the price is Xythos http://www.xythos.com/home/xythos/index.html Boyd, Mark Thomas (US - Philadelphia) wrote: >Thanks Drew. I agree that posting a web page would ideal, but I don't >have access to a web server, or even a file sharing server for that >matter. I am at a client site, with limited resources. >I'm starting to think that just sending an Excel file for the user to >update should meet our needs. > > >Mark Boyd >Senior Consultant >Enterprise Risk Services >Deloitte & Touche LLP > >Tel: +1 215 405 5576 >mboyd at deloitte.com >www.deloitte.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >DWUTKA at marlow.com >Sent: Tuesday, November 15, 2005 6:26 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Emailing Form Data > >It would be far easier to just send the end users a 'link' in email, >that >would open a webpage with the data they are to review/modify. Fairly >easy >to do in asp. Just a thought. > >Drew > > -----Original Message----- > From: Boyd, Mark Thomas (US - Philadelphia) >[SMTP:mboyd at deloitte.com] > Sent: Tuesday, November 15, 2005 10:50 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Emailing Form Data > > I need to send database data to end-users, have them modify, and >return > back to me. > My table contains 2 fields, [ProjectName] and [ProgressPrct]. I >have a > form with 2 controls per record, txtProjectName (textbox) and > cmbProgress (combo box). The data on the combo box needs to be >updated > on a weekly basis, with values of 0 - 100%, in increments of 10. > > What is the easiest way to send this data for user reponse? > I'm thinking that sending a user form as an attachment would >work, >but > I'm not sure what kind of form to use. We've considered Outlook >forms, > but creating this form from code is very time-consuming, and >uploading > the returned data within customized fields sounds daunting. > InfoPath would be ideal, but not all users have this program >installed. > > Because the sending of this form will occur on a weekly basis, >I'd >like > to automate it as much as possible. > Any direction is greatly appreciated. > > Thanks. > > Mark Boyd > Senior Consultant > Enterprise Risk Services > Deloitte & Touche LLP > > Tel: +1 215 405 5576 > mboyd at deloitte.com > www.deloitte.com > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Nov 20 14:22:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Nov 2005 21:22:40 +0100 Subject: [AccessD] MySQL OLE DB Provider Message-ID: Hi all I had some troubles locating such an animal (subject) but found this site: http://luggle.com/~sean I was about creating a provider for MySQL this way using the generic MS ODBC wrapper: strProvider = "Provider=MSDASQL.1;Data Source=MySQLTest";Persist Security Info=True;User ID=root;Password=myPassword cnn.Open strProvider rst.Open "testtable", cnn, adOpenKeyset where MySQLTest is a database source for MySQL as defined in the ODBC manager telling which database (Initial Catalog, see below) and port to connect to. rst.RecordCount returns -1. But with Sean's Open Source driver you do like this (beware of line breaks): strProvider = "Provider=OleMySql.MySqlSource.1;Data Source=192.168.1.100,3306;Initial Catalog=test;Persist Security Info=True;User ID=root;Password=myPassword" cnn.Open strProvider rst.Open "select * from testtable", cnn, adOpenKeyset Note that a table name on its own cannot be used; you must use an SQL sentence. rst.RecordCount returns the actual record count. Speed of the two methods seems to be identical, and one method may have advantages and limitations over the other - I haven't tested it that much. However, both are capable of reading longs from fields of BIGINT datatype which you (as far as I know) can't by ODBC and DAO (at least not if the BIGINT field is the primary ID). But the OLE DB driver is much easier to install: Just one dll and registration of this - and inclusion of the usual libmySQL.dll if you are not installing on the machine running the MySQL server. From Gustav at cactus.dk Sun Nov 20 14:35:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 20 Nov 2005 21:35:19 +0100 Subject: [AccessD] OLE DB Providers Message-ID: Hi all Please note that at this site: http://luggle.com/~sean also drivers can be found for: FireBird SQLite PalmDB and VB(A) code examples. /gustav From pcs at azizaz.com Mon Nov 21 02:17:29 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 21 Nov 2005 18:17:29 +1000 Subject: [AccessD] SQL - IN Operator - Possible to use parameter References: Message-ID: <007d01c5ee74$0425a480$fa10a8c0@Albatross> Access - SQL: Is it possible to turn a select query using the IN operator into a parameter query? Like in : SELECT * FROM Orders WHERE ShipRegion In ('Avon','Glos','Som') something like : SELECT * FROM Orders WHERE ShipRegion In ([Criteria:]) which only returns rows when I enter one criterium - any attempts of two or more criteria returns no rows..... I am using two select queries both using the IN operator as basis for a third result query (left out join between the two query statements). The only way to parametize the two select queries appears to be via vba code - creating the querydefs each time... or? /borge From pcs at azizaz.com Mon Nov 21 02:29:18 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 21 Nov 2005 18:29:18 +1000 Subject: [AccessD] Rich Text in Text Controls - Form and Report References: Message-ID: <008101c5ee75$aa99aef0$fa10a8c0@Albatross> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From Gustav at cactus.dk Mon Nov 21 02:48:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 09:48:50 +0100 Subject: [AccessD] SQL - IN Operator - Possible to use parameter Message-ID: Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav >>> pcs at azizaz.com 21-11-2005 09:17 >>> Access - SQL: Is it possible to turn a select query using the IN operator into a parameter query? Like in : SELECT * FROM Orders WHERE ShipRegion In ('Avon','Glos','Som') something like : SELECT * FROM Orders WHERE ShipRegion In ([Criteria:]) which only returns rows when I enter one criterium - any attempts of two or more criteria returns no rows..... I am using two select queries both using the IN operator as basis for a third result query (left out join between the two query statements). The only way to parametize the two select queries appears to be via vba code - creating the querydefs each time... or? /borge From Gustav at cactus.dk Mon Nov 21 03:09:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 10:09:52 +0100 Subject: [AccessD] Rich Text in Text Controls - Form and Report Message-ID: Hi Borge You may wish to look up my post from 2003-11-01 20:27, subject: Writing raw RTF document using VBA - Solved /gustav >>> pcs at azizaz.com 21-11-2005 09:29 >>> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From Gustav at cactus.dk Mon Nov 21 03:49:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 21 Nov 2005 10:49:59 +0100 Subject: [AccessD] Rich Text in Text Controls - Form and Report Message-ID: Hi Borge One option is to use the MS Rich Text Control ocx. Note, however, that it will not work in Access 2003 unless you perform this magic trick which I previously posted: Found out why Access 2003 denies to load the Kodak Imaging controls and how to remove that blocking. It is - believe it or not - because Access 2003 refuses to use ActiveX controls which for some reason are listed as insecure in Internet Explorer ... as explained here: http://mail.localplanet.co.uk/Blogs/stuart/archive/2005/02/19/AccessActiveX.aspx What it tells is to reset the Compatibility Flag for these entries to 0: Kodak Image Admin Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {009541A0-3B81-101C-92F3-040224009C02} Kodak Image Edit Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {6D940280-9F11-11CE-83FD-02608C3EC08A} Kodak Image Scan Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {84926CA0-2941-101C-816F-0E6013114B7F} Rich Text Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {3B7C8860-D78F-101B-B9B5-04021C009402} /gustav >>> pcs at azizaz.com 21-11-2005 09:29 >>> Hi, Upgrading an Access97 db to Access2003 .... In the old db I've used workarounds to produce reports with rich text formatting. (user entering our own made up start and stop codes for bold, italics etc....in various text controls, when reporting we create RTF document which is then loaded into Word and using vba code in Word - acting on our made up start and stop codes - the final report is laid out the way we want it and formatted with rich text) What are the options in A2003 for creating rich text (bold, italics and bold+italics) in a text control and reporting rich text controls? regards /borge From paul.hartland at isharp.co.uk Mon Nov 21 06:06:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 21 Nov 2005 12:06:06 -0000 Subject: [AccessD] OT - Access Using Outlook Redemption In-Reply-To: Message-ID: To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland From andy at minstersystems.co.uk Mon Nov 21 07:03:33 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 21 Nov 2005 14:03:33 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <20051121140331.1501B25552B@smtp.nildram.co.uk> Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- 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 wdhindman at bellsouth.net Mon Nov 21 08:17:56 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 09:17:56 -0500 Subject: [AccessD] Rich Text in Text Controls - Form and Report References: <008101c5ee75$aa99aef0$fa10a8c0@Albatross> Message-ID: <000f01c5eea6$5e6b2870$6101a8c0@JISREGISTRATION.local> Borge ...afaik, zero ...I still use Lebans code to do this ...http://www.lebans.com William ----- Original Message ----- From: "Borge Hansen" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 3:29 AM Subject: [AccessD] Rich Text in Text Controls - Form and Report > Hi, > Upgrading an Access97 db to Access2003 .... > > In the old db I've used workarounds to produce reports with rich text > formatting. > > (user entering our own made up start and stop codes for bold, italics > etc....in > various text controls, when reporting we create RTF document which is then > loaded into Word and using vba code in Word - acting on our made up start > and > stop codes - the final report is laid out the way we want it and formatted > with > rich text) > > What are the options in A2003 for creating rich text (bold, italics and > bold+italics) in a text control and reporting rich text controls? > > regards > /borge > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at isharp.co.uk Mon Nov 21 08:34:20 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 21 Nov 2005 14:34:20 -0000 Subject: [AccessD] OT - Access Using Outlook Redemption In-Reply-To: <20051121140331.1501B25552B@smtp.nildram.co.uk> Message-ID: I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Nov 21 07:49:06 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 21 Nov 2005 14:49:06 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <20051121144903.74663250E28@smtp.nildram.co.uk> I'd have guessed you were going to say the security message popped up when you attempted to set the .Unread property. That wouldn't surprise me, but reading the .Body.......I don't get that. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 14:35 I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Mon Nov 21 10:53:53 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 11:53:53 -0500 Subject: [AccessD] Err object Message-ID: <045501c5eebc$28356f20$667aa8c0@ColbyM6805> I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Mon Nov 21 11:10:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 12:10:47 -0500 Subject: [AccessD] Err object In-Reply-To: <045501c5eebc$28356f20$667aa8c0@ColbyM6805> Message-ID: <045d01c5eebe$84bd42c0$667aa8c0@ColbyM6805> Sorry, meant to say EXIT sub/Function etc. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 21 11:16:00 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 12:16:00 -0500 Subject: [AccessD] Err object In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE3045@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF316@ADGSERVER> It is my understanding that it resets after executing a resume statement, which is usually executed after entering an error handler. Would raising the error again help you? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com From mboyd at deloitte.com Mon Nov 21 11:15:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 21 Nov 2005 12:15:55 -0500 Subject: [AccessD] Err object Message-ID: John - I create a global boolean variable to flag whenever this type of error is encountered. Within the called function's error handler, I update the variable to True. After kicking out of the called function, I immediately check to see that the variable is still False. If True, I don't allow the code to continue. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 11:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From dwaters at usinternet.com Mon Nov 21 11:19:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 11:19:05 -0600 Subject: [AccessD] Err object In-Reply-To: <23162835.1132592734422.JavaMail.root@sniper14> Message-ID: <000901c5eebf$ad1cb0b0$0200a8c0@danwaters> John, Yes - it does! I use a variable to carry the error number and the error description. I've been using a Global variable because the value is always reset before each use. ErrorHandler: GlngErrorNumber = Err.Number GstgErrorDescription = Err.Description Select Case GlngErrorNumber Case 10 ... Case 20 ... Case Else Call ErrorLogging(GlngErrorNumber, GstgErrorDescription) End Select End Sub HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 11:21:39 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 11:21:39 -0600 Subject: [AccessD] Err object In-Reply-To: <23162835.1132592734422.JavaMail.root@sniper14> Message-ID: <000a01c5eec0$08cd9730$0200a8c0@danwaters> I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Mon Nov 21 11:43:44 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 21 Nov 2005 11:43:44 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: >> Does your approach adapt to data that might >> have 5 groups one month, then 10 the next? In that respect, it works like a standard Access report: once you define a group (month), and a subgroup, the subgroup will repeat as many times as neccessary under the group. So, if your query is groupable by an Access report, it is groupable using the Excel report tool. -Ken From Lambert.Heenan at AIG.com Mon Nov 21 11:45:49 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 21 Nov 2005 11:45:49 -0600 Subject: [AccessD] Err object Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 21 12:09:18 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 13:09:18 -0500 Subject: [AccessD] Err object In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Message-ID: <045e01c5eec6$b1624570$667aa8c0@ColbyM6805> I know what it says, but I have tested this. Apparently "within" also means (includes) if you call a function from WITHIN and that function encounters an Exit statement. I have code that goes out and gets pointers to my framework class, then a class within the framework class etc. cFW.cErrHndlr.Err() Before I get to the .Err the error object has been reset. I have stepped through the code and it was upon exiting one of the calls that the error was reset and after that point the values were 0. It may very well be a bug in the way the err object is handled, but it IS happening and I have to code around it. I have built an error handler function that immediately initializes a clsErr to store all the attributes of the error object and then calls the init of that class. The class simply copies the Err properties into variables in the class header. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 21, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 12:19:00 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 12:19:00 -0600 Subject: [AccessD] Err object In-Reply-To: <12240484.1132594240088.JavaMail.root@sniper21> Message-ID: <000d01c5eec8$0c4b0480$0200a8c0@danwaters> Heenan, I tried your example and it did work as expected. My experience was from a few years ago, but was well 'practiced'. I don't remember the exact circumstances. I'll post them if I can recreate the issue. Dan Not so! -------------------- HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Nov 21 12:33:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 13:33:23 -0500 Subject: [AccessD] Err object In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE60@xlivmbx21.aig.com> Message-ID: <046001c5eeca$0e8ccc40$667aa8c0@ColbyM6805> OK, a little further investigation: I set up this code to watch the process: Debug.Print Err.Number On Error GoTo Err_mEr Debug.Print Err.Number Dim lclsErr As clsErr Debug.Print Err.Number Set lclsErr = New clsErr Debug.Print Err.Number I already had the OnError GoTo in place (My error handler insertion builder adds it as it builds the error handler). THAT statement resets the error object. All I had to do was rearrange my code to run the On error resume next to after I captured the error in my class and all works just peachy. The help doesn't mention On Error goto SomeLabel as resetting the err object but it apparently does. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, November 21, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object Not so! HELP says... "The Err object's properties are reset to zero or zero-length strings ("") after an Exit Sub, Exit Function, Exit Property or Resume Next statement within an error-handling routine. Using any form of the Resume statement outside of an error-handling routine will not reset the Err object's properties. The Clear method can be used to explicitly reset Err." Note the comment about using Exit Sub, Exit Function or Exit Property *WHITHIN* the error handler. Run this code to see that the error information is preserved across a call to an external routine which uses "Exit Sub"... Sub ErrTest() Dim n As Long On Error GoTo ErrTest_Error n = 100 / 0 On Error GoTo 0 Exit Sub ErrTest_Error: MsgBox Err.Number & ": " & Err.Description, , "ErrTest" DoSomthing MsgBox Err.Number & ": " & Err.Description, , "ErrTest" End Sub Sub DoSomthing() Dim n As Long For n = 1 To 10 Debug.Print n If n = 5 Then Exit Sub Next n End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 12:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I should have added that as soon as you do anything with an Err object's properties, it's value goes away. So, after setting GlngErrNumber = Err.Number, the value of Err.Number is no longer available. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Mon Nov 21 12:34:11 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Mon, 21 Nov 2005 12:34:11 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <027901c5eeca$2d3a09f0$036fa8c0@hplaptop> Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? 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 Ken Ismert Sent: Monday, November 21, 2005 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export To Excel - Formulas Possible? >> Does your approach adapt to data that might have 5 groups one month, >> then 10 the next? In that respect, it works like a standard Access report: once you define a group (month), and a subgroup, the subgroup will repeat as many times as neccessary under the group. So, if your query is groupable by an Access report, it is groupable using the Excel report tool. -Ken -- 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 Nov 21 12:39:46 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 21 Nov 2005 12:39:46 -0600 Subject: [AccessD] Err object Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1956AE9A@xlivmbx21.aig.com> Hmm... My test code calls a SUB from within the error handler. And that sub uses "Exit Sub" and yet the Err object is not reset. Does any of your class initialization code call "Clear"? Otherwise, I'd have suggested what you are already doing - preserve the Err data before doing anything else. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 1:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Err object I know what it says, but I have tested this. Apparently "within" also means (includes) if you call a function from WITHIN and that function encounters an Exit statement. I have code that goes out and gets pointers to my framework class, then a class within the framework class etc. cFW.cErrHndlr.Err() Before I get to the .Err the error object has been reset. I have stepped through the code and it was upon exiting one of the calls that the error was reset and after that point the values were 0. It may very well be a bug in the way the err object is handled, but it IS happening and I have to code around it. I have built an error handler function that immediately initializes a clsErr to store all the attributes of the error object and then calls the init of that class. The class simply copies the Err properties into variables in the class header. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From pedro at plex.nl Mon Nov 21 13:23:53 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 21 Nov 2005 20:23:53 +0100 Subject: [AccessD] error & structure Message-ID: <003401c5eed1$1ea1e870$4001a8c0@laptop> Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen From Patricia.O'Connor at otda.state.ny.us Mon Nov 21 13:42:59 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 21 Nov 2005 14:42:59 -0500 Subject: [AccessD] Access 97 compact & repair Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F32@EXCNYSM0A1AI.nysemail.nyenet> I compacted an Access 97 database back end late last month and it seemed to work fine. Then today the person responsible for updating the Db did so. When he went to run the reports all worked fine except one. This one report kept getting the 3097 error. So I tried running the report with my test DB no problem. When I linked to the production backend poof problem arose. So I tried making a new database and copied the tables - no good. SO then I took my test db cleared the existing table and appended the data from the production table. Worked fine. Appended all the table, then copied entire database as the production name. Worked FINE. I then tried to compact the new production backend database and tried running the report - AGAIN NO GOOD. Recopied the appended database and everything is fine again. I have two compact options in my drop down screen ACCESS 97 COMPACT and ACCESS 2000 Compact. This has worked fine for the past 3-4 years. Does anyone know why this would start messing up compact. OR let me know the correct name of the Access97 compact/repair executable. One other thing I just had my work computer window updated to XP last month It has taken me most of the day to fix this and I can't compact the revised databases and they do kinda need it Thanks - losing my mind again Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From Patricia.O'Connor at otda.state.ny.us Mon Nov 21 13:59:47 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Mon, 21 Nov 2005 14:59:47 -0500 Subject: [AccessD] Access 97 compact & repair causing report error Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F33@EXCNYSM0A1AI.nysemail.nyenet> I compacted an Access 97 database back end late last month and it seemed to work fine. Then today the person responsible for updating the Db did so. When he went to run the reports all worked fine except one. This one report kept getting the 3071 error "THIS EXPRESSION TYPED INCORRECTLY...... So I tried running the report with my test DB no problem. When I linked to the production backend poof problem arose. So I tried making a new database and copied the tables - no good. SO then I took my test db cleared the existing table and appended the data from the production table. Worked fine. Appended all the table, then copied entire database as the production name. Worked FINE. I then tried to compact the new production backend database and tried running the report - AGAIN NO GOOD. Recopied the appended database and everything is fine again. I have two compact options in my drop down screen ACCESS 97 COMPACT and ACCESS 2000 Compact. This has worked fine for the past 3-4 years. Does anyone know why this would start messing up compact. OR let me know the correct name of the Access97 compact/repair executable. One other thing I just had my work computer window updated to XP last month It has taken me most of the day to fix this and I can't compact the revised databases and they do kinda need it Thanks - losing my mind again Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From jwcolby at ColbyConsulting.com Mon Nov 21 14:02:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 15:02:54 -0500 Subject: [AccessD] Compact by code Message-ID: <046101c5eed6$907e3750$667aa8c0@ColbyM6805> Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bheid at appdevgrp.com Mon Nov 21 14:35:30 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 15:35:30 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE30DB@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF323@ADGSERVER> I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 21 15:09:41 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 16:09:41 -0500 Subject: [AccessD] Compact by code References: <046101c5eed6$907e3750$667aa8c0@ColbyM6805> Message-ID: <012f01c5eedf$e3d80530$6101a8c0@JISREGISTRATION.local> http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='BackUpManager.mdb' William ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 21, 2005 3:02 PM Subject: [AccessD] Compact by code > Does anyone have code to compact an external database? I am working on a > transformation / migration system. Append operations go to an external > database using the IN 'SomeDatabase' clause in SQL. The results are a > huge > database bloat, not sure if it has anything to do with the IN clause or > not, > but huge none the less. > > So I need to do a compact on that backup database from code. > > I see two methods in help - using DAO DBEngine, the other uses the > JetEngine > object. > > I'm just looking for any pointers from anyone who does this already. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From papparuff at comcast.net Mon Nov 21 15:16:39 2005 From: papparuff at comcast.net (John Ruff) Date: Mon, 21 Nov 2005 13:16:39 -0800 Subject: [AccessD] Compact by code In-Reply-To: <012f01c5eedf$e3d80530$6101a8c0@JISREGISTRATION.local> Message-ID: <001a01c5eee0$dd670b50$6501a8c0@DDMJWX41> I still use the function today. The variable strOldDb is the fully qualified directory and name of the database to compact. The variable strNewDB is the fully qualified directory and temporary db name to compact the strOldDb to. Both directories should be the same so the Name function will work properly. Public Function CompactDB_JVR(strOldDb As String, strNewDB as String) As Boolean '--------------------------------------------------------------------------- ------------ ' Procedure : CompactDB_JVR ' DateTime : 7/14/2004 08:43 ' Author : John Ruff ' Purpose : Compact selected databases ' Note : Set Reference to Microsoft Scripting Runtime Library ' and Microsoft Jet And Replication Objects X.X Library '--------------------------------------------------------------------------- ' Dim fso As New FileSystemObject Dim strNewDB As String On Error GoTo CompactDB_JVR_ERR ' If the strNewDB exists, delete it; ' otherwise an error will occur trying to compact the database If fso.FileExists(strNewDB) Then fso.DeleteFile (strNewDB) End If fOK = PerformCompact_JVR(StrOldDb, strNewDB) ' If the compact is successful, delete the old database and rename the new database If fOK = True Then fso.DeleteFile (StrOldDb) Name strNewDB As StrOldDb End If CompactDB_JVR = True CompactDB_JVR_EXIT: On Error Resume Next Exit Function CompactDB_JVR_ERR: CompactDB_JVR = False MsgBox "Error " & Err.Number & _ " (" & Err.Description & ") in procedure " & _ "CompactDB_JVR of Module Module1", _ Title:="CompactDB_JVR Error" Resume CompactDB_JVR_EXIT End Function John V. Ruff - The Eternal Optimist J "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 21, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact by code http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='BackUpManag er.mdb' William ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, November 21, 2005 3:02 PM Subject: [AccessD] Compact by code > Does anyone have code to compact an external database? I am working on a > transformation / migration system. Append operations go to an external > database using the IN 'SomeDatabase' clause in SQL. The results are a > huge > database bloat, not sure if it has anything to do with the IN clause or > not, > but huge none the less. > > So I need to do a compact on that backup database from code. > > I see two methods in help - using DAO DBEngine, the other uses the > JetEngine > object. > > I'm just looking for any pointers from anyone who does this already. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Nov 21 14:53:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 21 Nov 2005 15:53:34 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE310D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF326@ADGSERVER> Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:25:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:25:15 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: I have to say that I have not been impressed by the FMS total detective and wouldn't pay freeware fees for it. It is crochety and I found much of the information everything but what I needed. Different strokes, I suppose. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, November 19, 2005 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Comparison Tool http://www.fmsinc.com/products/detective/index.html ...expensive but worth every penny imnsho ...hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Saturday, November 19, 2005 5:50 PM Subject: [AccessD] Database Comparison Tool >I have the SQL bundle from Red Gate Software, which includes SQL >Compare >and > SQL Data Compare. Both work wonderfully and I use them every day. However, > they work with SQL and not with MDBs. Is there an equivalent tool for > MDBs? > By equivalent, I mean that said tool should list the a) structural > differences and b) the data differences between db1 and db2; and further, > that the databases can be synchronized in either direction. I.e., a column > has been added to a table in db1: add it to the same table in db2; said > column has been populated with values: in pass two (sql data compare), > replicate the values; in db1 two rows were added which are not present in > db2: copy those rows to db2. > Any such tool exists for MDB? > TIA, > Arthur > P.S. > I realize that one way to get there is to upsize db1 and db2 to SQL, then > run the Red Gate tools. But wonder if there is something MDB-specific. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 17:28:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:28:22 -0800 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: Outlook will give you that even if you just try to validate an email address against the address book, let alone trying to read the body of a message. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Monday, November 21, 2005 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Access Using Outlook Redemption I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Nov 21 17:30:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 17:30:52 -0600 Subject: [AccessD] Compact by code In-Reply-To: <30296699.1132603585557.JavaMail.root@sniper22> Message-ID: <000001c5eef3$9d503470$0200a8c0@danwaters> John, The following two procedures are kept in a standard module. The CompactBE procedure is called from the Main screen Exit button click event (the only allowed way to close normally). If you are the 'last man standing', the BE (or external mdb) will open and close. That file is set to 'Compact on Close' (A2K and up?). This has worked well for a few years. HTH, Dan Waters -----Original Message----- Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:32:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:32:00 -0800 Subject: [AccessD] Err object Message-ID: You could push it into a stack or store it in a variable. Or you could use the Raise method to pass the error along to a sink somewhere. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Err object I have just discovered that the error object resets the first time an end sub/function is encountered. Thus I cannot even call a function to return my framework class instance since the return of that call clears the error handler. Any comments on how you folks handle error logging given this issue? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Nov 21 17:35:57 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 15:35:57 -0800 Subject: [AccessD] Compact by code Message-ID: Gosh, that code sure looks familiar! ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Nov 21 17:55:39 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 21 Nov 2005 18:55:39 -0500 Subject: [AccessD] Database Comparison Tool References: Message-ID: <000b01c5eef7$1379f660$6101a8c0@JISREGISTRATION.local> ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 6:25 PM Subject: Re: [AccessD] Database Comparison Tool >I have to say that I have not been impressed by the FMS total detective > and wouldn't pay freeware fees for it. It is crochety and I found much > of the information everything but what I needed. Different strokes, I > suppose. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 19, 2005 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Comparison Tool > > > http://www.fmsinc.com/products/detective/index.html > > ...expensive but worth every penny imnsho ...hth :) > > William > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 19, 2005 5:50 PM > Subject: [AccessD] Database Comparison Tool > > >>I have the SQL bundle from Red Gate Software, which includes SQL >>Compare >>and >> SQL Data Compare. Both work wonderfully and I use them every day. > However, >> they work with SQL and not with MDBs. Is there an equivalent tool for >> MDBs? >> By equivalent, I mean that said tool should list the a) structural >> differences and b) the data differences between db1 and db2; and > further, >> that the databases can be synchronized in either direction. I.e., a > column >> has been added to a table in db1: add it to the same table in db2; > said >> column has been populated with values: in pass two (sql data compare), >> replicate the values; in db1 two rows were added which are not present > in >> db2: copy those rows to db2. >> Any such tool exists for MDB? >> TIA, >> Arthur >> P.S. >> I realize that one way to get there is to upsize db1 and db2 to SQL, > then >> run the Red Gate tools. But wonder if there is something MDB-specific. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 18:28:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 16:28:11 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, November 21, 2005 3:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Comparison Tool ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, November 21, 2005 6:25 PM Subject: Re: [AccessD] Database Comparison Tool >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Saturday, November 19, 2005 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Database Comparison Tool > > > http://www.fmsinc.com/products/detective/index.html > > ...expensive but worth every penny imnsho ...hth :) > > William > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, November 19, 2005 5:50 PM > Subject: [AccessD] Database Comparison Tool > > >>I have the SQL bundle from Red Gate Software, which includes SQL >>Compare and >> SQL Data Compare. Both work wonderfully and I use them every day. > However, >> they work with SQL and not with MDBs. Is there an equivalent tool for >> MDBs? By equivalent, I mean that said tool should list the a) >> structural differences and b) the data differences between db1 and >> db2; and > further, >> that the databases can be synchronized in either direction. I.e., a > column >> has been added to a table in db1: add it to the same table in db2; > said >> column has been populated with values: in pass two (sql data >> compare), replicate the values; in db1 two rows were added which are >> not present > in >> db2: copy those rows to db2. >> Any such tool exists for MDB? >> TIA, >> Arthur >> P.S. >> I realize that one way to get there is to upsize db1 and db2 to SQL, > then >> run the Red Gate tools. But wonder if there is something >> MDB-specific. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Nov 21 18:52:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 21 Nov 2005 18:52:05 -0600 Subject: [AccessD] Database Comparison Tool In-Reply-To: <2430224.1132619510543.JavaMail.root@sniper18> Message-ID: <000001c5eefe$f58c1770$0200a8c0@danwaters> Charlotte, I'm just arguing 'cause I like it, but FMS products are OK with me. For example, could I have written Analyzer with a few hours of work - assuming I even knew how? Of course, buying a suite from FMS may not be cost-effective. My 2?, Dan Waters -----Original Message----- No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > From cfoust at infostatsystems.com Mon Nov 21 19:26:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 21 Nov 2005 17:26:45 -0800 Subject: [AccessD] Database Comparison Tool Message-ID: Actually, that's one of my gripes. What they do isn't complex enough to justify the cost of the tools, although they add a lot of garnish to make it look like it is. Yes, with a few hours of work you could have written it and it would work the way you need it to, not in the attempted swiss army knife fashion they designed. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, November 21, 2005 4:52 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Comparison Tool Charlotte, I'm just arguing 'cause I like it, but FMS products are OK with me. For example, could I have written Analyzer with a few hours of work - assuming I even knew how? Of course, buying a suite from FMS may not be cost-effective. My 2?, Dan Waters -----Original Message----- No, I was using the version for Access XP. It drove me nuts, frequently blew up, and would sometimes simply refuse to recognize the requests that it had just handled. I have a bias against FMS software, which I think is wildly overpriced anyhow, but this did nothing to change my opinion. Charlotte Foust -----Original Message----- ...hhhmmm ...surprising ...upon the occasions when I've needed to use it, it worked just as promised ...are you using one of the non-Access versions? William ----- Original Message ----- >I have to say that I have not been impressed by the FMS total detective >and wouldn't pay freeware fees for it. It is crochety and I found much >of the information everything but what I needed. Different strokes, I >suppose. > > Charlotte Foust > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Nov 21 20:45:05 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 21 Nov 2005 18:45:05 -0800 Subject: [AccessD] OT - Access Using Outlook Redemption References: Message-ID: <43828631.9030404@shaw.ca> This site has a lot of Outlook VBA code methods http://www.outlookcode.com/d/vb.htm Here are some links on other methods to get around email output security http://freevbcode.com/ShowCode.Asp?ID=109 ClickYes freeware There is vba code at bottom of page to turn on and off after install http://www.contextmagic.com/express-clickyes/ Advanced Security for Outlook is Mapilib freeware but might be more complicated for user and install. It also has an article on various types of outlook security model http://www.mapilab.com/outlook/security/ Article on how to code your own override. This might be difficult for use with multiple OS as CDO object model changes. How to avoid security prompts in Visual Basic programs for Outlook http://www.mapilab.com/articles/vb_outlook_security.html Charlotte Foust wrote: >Outlook will give you that even if you just try to validate an email >address against the address book, let alone trying to read the body of a >message. > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland >(ISHARP) >Sent: Monday, November 21, 2005 6:34 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] OT - Access Using Outlook Redemption > > >I didn't think I did either I had the following code: > >For intFolderCount = 1 To objInterview.Items.Count > Set objMail = objInterview.Items.Item(intFolderCount) > If (objMail.UnRead = True) Then > intNewItems = intNewItems + 1 > frmMain.txtNewText.Text = intNewItems > strSubject = objMail.Subject > If (strOffice = "") Then > strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + >1)) > strMessage = Mid(objMail.Body, InStr(objMail.Body, >"Message:")) > End If > > MsgBox strOffice & vbCrLf & vbCrLf & strMessage > > strOffice = "" > > objMail.UnRead = False > End If >Next intFolderCount > >And when it's gets to the strMessage = Mid(objMail.Body, >InStr(objMail.Body, >"Message:")) > >It throws the Outlook security warning up, thought it would only do this >if trying to send > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey >Sent: 21 November 2005 13:04 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT - Access Using Outlook Redemption > >Hi Paul >Well I'm not convinced you need Redemption just to read emaisl, but >assuming you have other reasons why you need to use it then try: > >Dim objOutlook As Outlook.Application >Dim objOutlookMsg As Outlook.MailItem >Dim objOutlookFolder As MAPIFolder >Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As >Object > > > >Set objOutlook = CreateObject("Outlook.Application") >Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set >objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) >For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = >CreateObject("Redemption.SafeMailItem") >objSafeMailItem.Item = objOutlookMsg >With objSafeMailItem >If .UnRead Then >Debug.Print .Subject >Debug.Print .Body >End If >End With >Next > >-- >Andy Lacey >http://www.minstersystems.co.uk > > > > >--------- Original Message -------- >From: "Access Developers discussion and problem solving" > >To: "'Access Developers discussion and problem solving'" > >Subject: [AccessD] OT - Access Using Outlook Redemption >Date: 21/11/05 12:08 > > >To all, > >Can anyone guide me or has anyone got any sample code for using Outlook >redemption via Access, basically all I want to do is scan an Outlook >folder for Unread emails and grab the subject line and the body message >of that particular email. > >Thanks in advance for any help and/or sample code on this.. > >Paul Hartland > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Mon Nov 21 21:43:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 21 Nov 2005 22:43:16 -0500 Subject: [AccessD] Need a couple of monitors for multi-tasking? Message-ID: <046601c5ef16$dfb49540$667aa8c0@ColbyM6805> http://digitaltigers.com/zenview-arenahd.shtml#videocards John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Mon Nov 21 22:22:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 21 Nov 2005 23:22:33 -0500 Subject: [AccessD] SQL - IN Operator - Possible to use parameter In-Reply-To: Message-ID: <200511220422.jAM4MSJ10765@databaseadvisors.com> I wrote some code a while back that turns such a list into a temp table then does a join to said temp table. I will have to dig it out, and when I do I will post it, but Gustav has the basic framework correct. I did it using a function that parses the list and returns a table. Then I joined this table to the real tables. I will go hunting now for this code and send it as soon as I find it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: November 21, 2005 3:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav From dmcafee at pacbell.net Mon Nov 21 23:28:27 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 21 Nov 2005 21:28:27 -0800 Subject: [AccessD] SQL - IN Operator - Possible to use parameter In-Reply-To: <200511220422.jAM4MSJ10765@databaseadvisors.com> Message-ID: Francisco has an SQL Server example on his blog site. You might be able to make something similar in Access: http://sqlthis.blogspot.com/2005/02/list-to-table.html D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, November 21, 2005 8:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter I wrote some code a while back that turns such a list into a temp table then does a join to said temp table. I will have to dig it out, and when I do I will post it, but Gustav has the basic framework correct. I did it using a function that parses the list and returns a table. Then I joined this table to the real tables. I will go hunting now for this code and send it as soon as I find it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: November 21, 2005 3:49 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SQL - IN Operator - Possible to use parameter Hi Borge No you can't do that. Passing more "parameters" will equal to something like: WHERE ShipRegion In ('Avon,Glos,Som') which, as you have seen, results in zero records. You have several options: 1. Retrieve the SQL property of the query, adjust it to include the values of your parameters, and apply the modified property. 2. Write your parameter values to a temp table and include this in your query. 3. Rewrite the IN clause to a series of IIF() clauses each including one of your parameter values. This will only do if you have a fixed and/or limited number of parameters. 4. Build a custom function to which you pass ShipRegion and your parameters. If a value of ShipRegion matches a parameter value, the function returns True, otherwise False. Include the function in your Where clause. 5. As 1 but - if it is not used for any other purpose - write the complete query in code. This is what I mostly do. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 22 00:42:30 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 22 Nov 2005 00:42:30 -0600 Subject: [AccessD] Need a couple of monitors for multi-tasking? Message-ID: <123701F54509D9119A4F00D0B7473490EA608A@main2.marlow.com> And who's getting me that for Christmas? I will beg! ;) Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Monday, November 21, 2005 9:43 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Need a couple of monitors for multi-tasking? http://digitaltigers.com/zenview-arenahd.shtml#videocards John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Nov 22 05:33:31 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Tue, 22 Nov 2005 12:33:31 +0100 Subject: [AccessD] OT - Access Using Outlook Redemption Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B60F7@stekelbes.ithelps.local> If your Outlook is connected with MS Exchange Server, there is a procedure to avoid this security pop-ups. It consists of adding a registry key on the users pc and a Outlook form on the Exchange server public folder. I'm afraid I can't seem to find the MSKB id, but I supose you can find it pretty easy on the MSKB. Ola, hold your horses. Found this in my files. [HKEY_CURRENT_USER\Software\Policies\Microsoft\Security] "CheckAdminSettings"=dword:00000001 Search the MSKB for CheckAdminSettings and choose appropriate Exchanger Server version. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 22, 2005 12:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Outlook will give you that even if you just try to validate an email address against the address book, let alone trying to read the body of a message. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Monday, November 21, 2005 6:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Access Using Outlook Redemption I didn't think I did either I had the following code: For intFolderCount = 1 To objInterview.Items.Count Set objMail = objInterview.Items.Item(intFolderCount) If (objMail.UnRead = True) Then intNewItems = intNewItems + 1 frmMain.txtNewText.Text = intNewItems strSubject = objMail.Subject If (strOffice = "") Then strOffice = Mid(strSubject, (InStrRev(strSubject, " ") + 1)) strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) End If MsgBox strOffice & vbCrLf & vbCrLf & strMessage strOffice = "" objMail.UnRead = False End If Next intFolderCount And when it's gets to the strMessage = Mid(objMail.Body, InStr(objMail.Body, "Message:")) It throws the Outlook security warning up, thought it would only do this if trying to send -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 21 November 2005 13:04 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT - Access Using Outlook Redemption Hi Paul Well I'm not convinced you need Redemption just to read emaisl, but assuming you have other reasons why you need to use it then try: Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookFolder As MAPIFolder Dim objOutlookNameSpace As Outlook.NameSpace Dim objSafeMailItem As Object Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderInbox) For Each objOutlookMsg In objOutlookFolder.Items Set objSafeMailItem = CreateObject("Redemption.SafeMailItem") objSafeMailItem.Item = objOutlookMsg With objSafeMailItem If .UnRead Then Debug.Print .Subject Debug.Print .Body End If End With Next -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT - Access Using Outlook Redemption Date: 21/11/05 12:08 To all, Can anyone guide me or has anyone got any sample code for using Outlook redemption via Access, basically all I want to do is scan an Outlook folder for Unread emails and grab the subject line and the body message of that particular email. Thanks in advance for any help and/or sample code on this.. Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Nov 22 07:32:25 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 22 Nov 2005 08:32:25 -0500 Subject: [AccessD] Compact by code In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CE3198@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF330@ADGSERVER> LOL, why's that? All done in-house. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, November 21, 2005 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact by code Gosh, that code sure looks familiar! ;-> Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 12:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code Sorry, GetFilePath() returns the path of a given file name string. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, November 21, 2005 3:36 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compact by code I use the following code with no problems. I used to rename the original db to something else afterwards as a back-up, but for what I use it for, there was not really a need to. Bobby Public Sub CompactDB(ByRef strDB As String) Dim strNewDB As String On Error GoTo Proc_Err 'temp file name strNewDB = GetFilePath(strDB) & "xyzTemp.mdb" On Error Resume Next Kill strNewDB 'delete temp file if it exists On Error GoTo Proc_Err 'compact the database DBEngine.CompactDatabase strDB, strNewDB, , , ";pwd=" & SECUREPW 'delete the original db Kill strDB 'rename temp db to original name Name strNewDB As strDB Proc_Exit: Exit Sub Proc_Err: MsgBox "The following error occured: " & Err.Number & ": " & Err.Description Resume Proc_Exit Resume End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, November 21, 2005 3:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Compact by code Does anyone have code to compact an external database? I am working on a transformation / migration system. Append operations go to an external database using the IN 'SomeDatabase' clause in SQL. The results are a huge database bloat, not sure if it has anything to do with the IN clause or not, but huge none the less. So I need to do a compact on that backup database from code. I see two methods in help - using DAO DBEngine, the other uses the JetEngine object. I'm just looking for any pointers from anyone who does this already. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From CFraase at officeimagesinc.com Tue Nov 22 09:49:38 2005 From: CFraase at officeimagesinc.com (Cindy Fraase) Date: Tue, 22 Nov 2005 10:49:38 -0500 Subject: [AccessD] How can I match the subreport to back color changes in the main report? Message-ID: Hi all, I've learned a lot just reading all your posts, but I've finally found something I can't figure out from the archives. I have a main report that changes the back color in the detail section alternately. This works fine, but there is a subreport in the detail section. I can't figure out how to have the subreport change color so that it matches the main form. I'm sure this is easy for all you geniuses out there! TIA Cindy Cynthia Fraase Asst. Controller Direct: 678-325-3251 Cell: 770-318-0628 Fax: 770-641-2656 www.officeimagesinc.com From andy at minstersystems.co.uk Tue Nov 22 10:07:55 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 22 Nov 2005 16:07:55 -0000 Subject: [AccessD] How can I match the subreport to back color changes inthe main report? In-Reply-To: Message-ID: <000301c5ef7e$e6492c00$e5b60c54@minster33c3r25> Hi Cindy Try this. Immediately after you put the code to set the BackColor (presumably in the OnFormat of the Detail section) put: Me.subRep.Report.Section("Detail").BackColor = Me.Section("Detail").BackColor Where subRep is the name of the subreport control on your main report. If your subreport has >1 section you'll need to repeat for each. Oh and don't forget to make the background style of the individual controls transparent.. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Cindy Fraase > Sent: 22 November 2005 15:50 > To: Access Developers discussion and problem solving > Subject: [AccessD] How can I match the subreport to back > color changes inthe main report? > > > > Hi all, > I've learned a lot just reading all your posts, but I've > finally found something I can't figure out from the archives. > I have a main report that changes the back color in the > detail section alternately. This works fine, but there is a > subreport in the detail section. I can't figure out how to > have the subreport change color so that it matches the main > form. I'm sure this is easy for all you geniuses out there! TIA Cindy > > > Cynthia Fraase > Asst. Controller > Direct: 678-325-3251 > Cell: 770-318-0628 > Fax: 770-641-2656 > > www.officeimagesinc.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Patricia.O'Connor at otda.state.ny.us Tue Nov 22 13:05:02 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 22 Nov 2005 14:05:02 -0500 Subject: [AccessD] Access 97 compact & repair causing report error Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551F37@EXCNYSM0A1AI.nysemail.nyenet> The error does not seem to be limited to the compact. 1) I created a blank database, imported the tables from the working database to see if I could reduce the size. 2) copied a different smaller database, renamed it, deleted existing tables and imported the other tables. Well the size reduced in both cased but the report got the 3071 error again. This is making no sense to me at all. I can't figure out what is missing or causing the problem. Do I have to re-install Access97 and if so is it ok to re-install it over an existing Access2000? Thanks for the help Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** -------------------------------------------------------- This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. From KIsmert at texassystems.com Tue Nov 22 14:26:15 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Tue, 22 Nov 2005 14:26:15 -0600 Subject: [AccessD] Export To Excel - Formulas Possible? Message-ID: Larry, This is a set of code I developed to do this task. If you're interested, I'll work up a Northwind example and send it to you. -Ken -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Monday, November 21, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 From pcs at azizaz.com Tue Nov 22 20:32:51 2005 From: pcs at azizaz.com (Borge Hansen) Date: Wed, 23 Nov 2005 12:32:51 +1000 Subject: [AccessD] Create Access Reports in PDF format and send as email attachment References: Message-ID: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Thanks Gustav, William and others for the pointers re rich text in text controls. I am looking at Lebans code.... for A2k and up appears to fill all the requirements... Here's another one: We want to create an Access reports in PDF format, save it with a specific name to a specific folder. Then email the PDF document as an attachment. Any one has some code samples of how to achieve this they would like to send me offline? Or pointers to where I may go looking for it? /borge From pcs at azizaz.com Tue Nov 22 23:53:41 2005 From: pcs at azizaz.com (Borge Hansen) Date: Wed, 23 Nov 2005 15:53:41 +1000 Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment References: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <05ed01c5eff2$41d5c560$fa10a8c0@Albatross> Stuart's post from 2 Feb 2005 "Emailing Access Reports in PDF format" is a good starting point. from Stuart's post... "the sample code on my MakePDF/MailPDF page on my website http://www.lexacorp.com.pg under the Free Software button" ....promise, I'll search the archives from now on before submitting any other queries! ;) /borge ----- Original Message ----- From: "Borge Hansen" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 12:32 PM Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment From harkinsss at bellsouth.net Wed Nov 23 04:56:14 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 23 Nov 2005 05:56:14 -0500 Subject: [AccessD] Create Access Reports in PDF format and send as emailattachment In-Reply-To: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <20051123105613.OEZH22893.ibm69aec.bellsouth.net@SUSANONE> We want to create an Access reports in PDF format, save it with a specific name to a specific folder. Then email the PDF document as an attachment. Any one has some code samples of how to achieve this they would like to send me offline? Or pointers to where I may go looking for it? =======I can't credit the accessd who introduced me to this -- can't remember. :( http://www.acrosoftware.com/products/cutepdf/printer.asp Last time I downloaded, it was free. I wrote about using it with Access in the February 2004 issue of Inside Microsoft Access. Very easy to use, because it creates a specific pdf printer, which might be easier than doing it the long way. No promises though -- it's been a while since I've used it and I don't remember it's specific strengths and weaknesses. Susan H. From paul.hartland at isharp.co.uk Wed Nov 23 05:35:37 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 23 Nov 2005 11:35:37 -0000 Subject: [AccessD] Slightly OT - Build My Own Date Control Using VB6 In-Reply-To: <05ed01c5eff2$41d5c560$fa10a8c0@Albatross> Message-ID: To all, I have a long holiday coming up in December (break up on the 14th and don't go back to work until 3rd January).....So I am looking for little projects etc to keep myself occupied, I know that you shouldn't really try to re-invent the wheel but I have always wanted to build my own controls (date control etc)....Does anyone know how I would go about this, or has any sample code that I may look at to possibly get me started. Thanks in advance for any help. Paul Hartland Database Developer.. From lmrazek at lcm-res.com Wed Nov 23 09:45:07 2005 From: lmrazek at lcm-res.com (Larry Mrazek) Date: Wed, 23 Nov 2005 07:45:07 -0800 (PST) Subject: [AccessD] Export To Excel - Formulas Possible? In-Reply-To: Message-ID: <20051123154507.64551.qmail@web81105.mail.mud.yahoo.com> Hi Ken: That would be great, if it is not too much trouble. Thanks! Ken Ismert wrote: Larry, This is a set of code I developed to do this task. If you're interested, I'll work up a Northwind example and send it to you. -Ken -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Monday, November 21, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Export To Excel - Formulas Possible? Thanks Ken: Is this feature built-in to Excel, or do I tap into it via VBA? 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 robert at servicexp.com Wed Nov 23 11:00:27 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 23 Nov 2005 12:00:27 -0500 Subject: [AccessD] Heeeeelp.. Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F87@gbsserver.GBS.local> I need some help, I have been over a month trying to log into the IDN Forums (QuickBooks), which I have a community membership for. I can log into my IDN account but when I attempt to open the forums I get the message below.. **************************** There was an error trying to login to the forums ERROR: A user already exists matching your E-mail Address. **************************** I have change my account's email, password, you name it, I've tried it. And of course there does not seem to be any webmaster contact for the forum... MY REQUEST. Since I can only view the forums ( can't post questions as it requires logging in ), can someone that has an account post a message to the forum about my problem? I have sent something like 6 e-mail to various accounts at Inuit, with no reply. The error occurs no matter what browser I use, I have deleted all cookies, and such in an attempt to correct the problem. I'm to starting a re-write on the QB project next week, and have some questions that I need answers to before I begin.. Thanks A Million Robert Gracie www.gbsysnow.com From pedro at plex.nl Wed Nov 23 10:45:32 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 17:45:32 +0100 Subject: [AccessD] error & structure: Please Help!! References: <003401c5eed1$1ea1e870$4001a8c0@laptop> Message-ID: <003d01c5f04d$51f69630$4001a8c0@laptop> Hi, is there really no one who can help me with this? Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen From robert at servicexp.com Wed Nov 23 11:38:15 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 23 Nov 2005 12:38:15 -0500 Subject: [AccessD] Heeeeelp.. Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> Never Mind........ Finally Some Help.... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Wednesday, November 23, 2005 12:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Heeeeelp.. I need some help, I have been over a month trying to log into the IDN Forums (QuickBooks), which I have a community membership for. I can log into my IDN account but when I attempt to open the forums I get the message below.. **************************** There was an error trying to login to the forums ERROR: A user already exists matching your E-mail Address. **************************** I have change my account's email, password, you name it, I've tried it. And of course there does not seem to be any webmaster contact for the forum... MY REQUEST. Since I can only view the forums ( can't post questions as it requires logging in ), can someone that has an account post a message to the forum about my problem? I have sent something like 6 e-mail to various accounts at Inuit, with no reply. The error occurs no matter what browser I use, I have deleted all cookies, and such in an attempt to correct the problem. I'm to starting a re-write on the QB project next week, and have some questions that I need answers to before I begin.. Thanks A Million Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Wed Nov 23 11:38:45 2005 From: marcus at tsstech.com (Scott Marcus) Date: Wed, 23 Nov 2005 12:38:45 -0500 Subject: [AccessD] error & structure: Please Help!! Message-ID: Pedro, What is the error? Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Wednesday, November 23, 2005 11:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] error & structure: Please Help!! Hi, is there really no one who can help me with this? Last week i posted an error message, but became no answer that gave me an explanation for the error. Is there someone who could look at the databasestructure ( i will send the stripped database ofline) and see why this error can appear, and give me some tips to prevent the error and for improvement of the structure. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 23 11:45:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 09:45:41 -0800 Subject: [AccessD] Slightly OT - Build My Own Date Control Using VB6 References: Message-ID: <4384AAC5.2030306@shaw.ca> You could look at this Access calendar control from Stephen Lebans. a Class that wraps the Microsoft Month Calendar Common Control http://www.lebans.com/monthcalendar.htm You might also want to hunt through this site for VB control examples http://www.planetsourcecode.com Paul Hartland (ISHARP) wrote: >To all, > >I have a long holiday coming up in December (break up on the 14th and don't >go back to work until 3rd January).....So I am looking for little projects >etc to keep myself occupied, I know that you shouldn't really try to >re-invent the wheel but I have always wanted to build my own controls (date >control etc)....Does anyone know how I would go about this, or has any >sample code that I may look at to possibly get me started. > >Thanks in advance for any help. > >Paul Hartland >Database Developer.. > > > -- Marty Connelly Victoria, B.C. Canada From garykjos at gmail.com Wed Nov 23 12:37:48 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Nov 2005 12:37:48 -0600 Subject: [AccessD] Heeeeelp.. In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F89@gbsserver.GBS.local> Message-ID: See, posting it here did the trick ;-) On 11/23/05, Robert Gracie wrote: > Never Mind........ Finally Some Help.... :-) > > > Robert Gracie > www.gbsysnow.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie > Sent: Wednesday, November 23, 2005 12:16 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Heeeeelp.. > > > I need some help, I have been over a month trying to log into the IDN > Forums (QuickBooks), which I have a community membership for. > I can log into my IDN account but when I attempt to open the forums I > get the message below.. > > **************************** > There was an error trying to login to the forums > > ERROR: A user already exists matching your E-mail Address. > **************************** > > I have change my account's email, password, you name it, I've tried it. > And of course there does not seem to be any webmaster contact for the > forum... > > MY REQUEST. > Since I can only view the forums ( can't post questions as it requires > logging in ), can someone that has an account post a message to the > forum about my problem? I have sent something like 6 e-mail to various > accounts at Inuit, with no reply. > > The error occurs no matter what browser I use, I have deleted all > cookies, and such in an attempt to correct the problem. > > I'm to starting a re-write on the QB project next week, and have some > questions that I need answers to before I begin.. > > > Thanks A Million > > > Robert Gracie > www.gbsysnow.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Donald.A.McGillivray at sprint.com Wed Nov 23 12:41:09 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Wed, 23 Nov 2005 12:41:09 -0600 Subject: [AccessD] OT: Mapping and disconnecting network drives Message-ID: Hello All, I have an Access DB that, among other things, monitors folders on various network drives and moves files between them depending on certain conditions. The system runs 24x7 on a terminal server session. As part of the code that manages all of this, I check for the existence of the attached drives before attempting to perform any processing with them. The test uses the Dir() function and the UNC path to look for a known test file on the target drive. If the file is not found, the drive is presumed to be AWOL and my code attempts to attach to it (using the NetWork object of the Windows Script Host), returning an error if unable to do so. While testing this "check and attach" procedure, I manually disconnected the target drive, and ran the reconnect procedure. The procedure returned no error code, but Windows explorer displayed no evidence of the drive having been attached and assigned a drive letter. Refreshing and killing and restarting Explorer had no effect either. Nonetheless, when I run a Dir() from the immediate window (using the UNC path), the target test file is found. Likewise, FileCopy works against the UNC path. Both functions fail when using the deleted drive letter instead of the UNC path. Looks to me as if the mapping persists as a UNC resource, despite the drive letter having been killed. If I kill the terminal server session and restart it, the attached drive is unavailable both under its UNC path and the drive letter. I guess this is not really a problem if my program can still communicate with the resource via UNC path. It's just a bit disconcerting to not see it mapped to a drive letter in explorer. Anybody have an explanation, or better yet, a method for *really* killing a mapped drive in a terminal session? Thanks! Don McGillivray From garykjos at gmail.com Wed Nov 23 12:46:04 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 23 Nov 2005 12:46:04 -0600 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: References: Message-ID: Hi Pedro, Do you have other people using this database??? Is it shared over a network?? Do any of the users have any network connectivity issues?? It is my experience that database corruption is almost always caused by a flakey network connection. Fix that and you will fix the real cause of the problem. I don't think you database structure has anything at all to do with the problem. You are welcome to send me your stripped database and I will have a look at it though. You can send it to be at garykjos at gmail.com Gary On 11/23/05, Scott Marcus wrote: > Pedro, > > What is the error? > > Scott Marcus > IT Programmer > TSS Technologies Inc. > www.tss.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 23, 2005 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] error & structure: Please Help!! > > Hi, > > is there really no one who can help me with this? > > > Last week i posted an error message, but became no answer that gave me > an > explanation for the error. > Is there someone who could look at the databasestructure ( i will send > the > stripped database ofline) and see why this error can appear, and give me > > some tips to prevent the error and for improvement of the structure. > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From pedro at plex.nl Wed Nov 23 13:02:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:02:52 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <004e01c5f060$865018d0$4001a8c0@laptop> Hello Scott, this is the error table that i placed in the Backend ErrorCode ErrorDescription ErrorRecid ErrorTable -1206 Can't find field Description ? tblProjectGegevens -1053 Can't find field Description tblProjectGegevens i don't know when this error occurs. In the table self then one record is corrupt and all kind of weird signs are in the fields, also in the grey square before the tablefields are weird signs. Sometimes after deleting this record and other linked records in linked tables, the database works fine. Sometimes then things are really going wrong and all data has to be imported into a backup database and table that was ok before the error. But this costs very much time. The database in this presents worked for about 9 months without any error. After importing, it worked again for three months, then again three months. The strange thing is that i have no knowledge that i am trying to access a field description, because there is no field description. Pedro Janssen ----- Original Message ----- From: "Scott Marcus" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 6:38 PM Subject: Re: [AccessD] error & structure: Please Help!! > Pedro, > > What is the error? > > Scott Marcus > IT Programmer > TSS Technologies Inc. > www.tss.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Wednesday, November 23, 2005 11:46 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] error & structure: Please Help!! > > Hi, > > is there really no one who can help me with this? > > > Last week i posted an error message, but became no answer that gave me > an > explanation for the error. > Is there someone who could look at the databasestructure ( i will send > the > stripped database ofline) and see why this error can appear, and give me > > some tips to prevent the error and for improvement of the structure. > > > Pedro Janssen > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Wed Nov 23 13:09:09 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:09:09 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <004f01c5f061$65807ae0$4001a8c0@laptop> Hellp Gary, the backend of the database is on one server. The frontends are on the C: drive of about 10 pc's. To my knowledge there are no network problems. I always thought that it could be a problem when more then 1 user is working in the same table, but this is just an idea. Gary, i will send you the database of line. The error you can find in the accessd mail i returned to Scott Marcus. Thanks Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 23 13:32:12 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 11:32:12 -0800 Subject: [AccessD] Create Access Reports in PDF format and send as email attachment References: <055201c5efd6$33a7ec50$fa10a8c0@Albatross> Message-ID: <4384C3BC.1080009@shaw.ca> You could try this one from Stephen Lebans, it is only a week old. However I am bit confused by the license. Does he mean you have to run everything through the supplied mdb. A97ReportToPDF is an Access 97 database containing a function to convert Reports and Snapshot files to PDF documents. No PDF Printer driver is required. just two dll's to install. This archive contains a new version of the DynaPDF library. http://www.lebans.com/reporttopdf.htm Borge Hansen wrote: >Thanks Gustav, William and others for the pointers re rich text in text >controls. >I am looking at Lebans code.... for A2k and up appears to fill all the >requirements... > >Here's another one: > >We want to create an Access reports in PDF format, save it with a specific name >to a specific folder. Then email the PDF document as an attachment. > >Any one has some code samples of how to achieve this they would like to send me >offline? > >Or pointers to where I may go looking for it? > >/borge > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Nov 23 13:54:38 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:54:38 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <00c901c5f067$bc6e4c50$4001a8c0@laptop> Gary, i have send the database to garykjos at gmail.com , but became a Delivery Status Notification (failed). I have send it agaain. Please let me know if you received the database. Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Wed Nov 23 13:57:48 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 20:57:48 +0100 Subject: [AccessD] error & structure: Please Help!! References: Message-ID: <00e401c5f068$2e1fd3f0$4001a8c0@laptop> Gary, i received a second Delivery Status Notification (failure). How is this possible. Does it returns. .zip extensions. I will send it again as an .ok extension. Please change it to .zip Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Wed Nov 23 14:28:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 12:28:46 -0800 Subject: [AccessD] OT MS Explorer In-Reply-To: Message-ID: <001601c5f06c$8148c010$017ba8c0@xpserver> OT: Hi All: I have just installed a Server 2003 OS after a crash. When IE was installed it pre-set its security for 'Restricted Sites' to High. Even as a administrator the 'high' setting could not be adjusted.(??) It was an issue as every intranet and internet site demanded validation and https settings which rendered the product functionally unusable. Tight security is mandatory in network/internet situations but this security level is over the top given all the Firewalls, Virus scanning and Anti-Spy-ware hardware and software already installed. Finally we just switched all the default browsers to Firefox and had to tell the client that IE is broken until further notice. Has anyone run across this issue before? Is there a simple resolution to this problem? MTIA Jim From martyconnelly at shaw.ca Wed Nov 23 14:34:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 12:34:58 -0800 Subject: [AccessD] OT: Mapping and disconnecting network drives References: Message-ID: <4384D272.3070203@shaw.ca> You could try this API method of attaching and detaching mapped drives rather than WSH http://vbnet.mvps.org/code/network/netconnect.htm Maybe some other useful stuff on this site I use this one to monitor folder changes Creating a Watched Folder with FindChangeNotification http://vbnet.mvps.org/code/fileapi/watchedfolder.htm Mcgillivray, Don [IT] wrote: >Hello All, > >I have an Access DB that, among other things, monitors folders on >various network drives and moves files between them depending on certain >conditions. The system runs 24x7 on a terminal server session. As part >of the code that manages all of this, I check for the existence of the >attached drives before attempting to perform any processing with them. >The test uses the Dir() function and the UNC path to look for a known >test file on the target drive. If the file is not found, the drive is >presumed to be AWOL and my code attempts to attach to it (using the >NetWork object of the Windows Script Host), returning an error if unable >to do so. While testing this "check and attach" procedure, I manually >disconnected the target drive, and ran the reconnect procedure. The >procedure returned no error code, but Windows explorer displayed no >evidence of the drive having been attached and assigned a drive letter. >Refreshing and killing and restarting Explorer had no effect either. >Nonetheless, when I run a Dir() from the immediate window (using the UNC >path), the target test file is found. Likewise, FileCopy works against >the UNC path. Both functions fail when using the deleted drive letter >instead of the UNC path. > >Looks to me as if the mapping persists as a UNC resource, despite the >drive letter having been killed. If I kill the terminal server session >and restart it, the attached drive is unavailable both under its UNC >path and the drive letter. > >I guess this is not really a problem if my program can still communicate >with the resource via UNC path. It's just a bit disconcerting to not >see it mapped to a drive letter in explorer. Anybody have an >explanation, or better yet, a method for *really* killing a mapped drive >in a terminal session? > >Thanks! > >Don McGillivray > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Wed Nov 23 16:03:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 14:03:47 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <004f01c5f061$65807ae0$4001a8c0@laptop> Message-ID: <001a01c5f079$c7774a40$017ba8c0@xpserver> Hi Pedro: I have run across similar situations before. Everything will remain sable until a station or the server goes down in the middle of a data operation between the FE and BE. If this happens often enough, the databases will be corrupted. In most cases this database will have to be brought back from the last night's backup. The last time this situation happened on a client's site they ended up losing two weeks worth of work. From then on I have never used the bound database model except for small sites. You should be able to restore the data, by creating a blank BE and exporting one table at a time from the old to new. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 23, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hellp Gary, the backend of the database is on one server. The frontends are on the C: drive of about 10 pc's. To my knowledge there are no network problems. I always thought that it could be a problem when more then 1 user is working in the same table, but this is just an idea. Gary, i will send you the database of line. The error you can find in the accessd mail i returned to Scott Marcus. Thanks Pedro Janssen ----- Original Message ----- From: "Gary Kjos" To: "Access Developers discussion and problem solving" Sent: Wednesday, November 23, 2005 7:46 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro, > > Do you have other people using this database??? Is it shared over a > network?? Do any of the users have any network connectivity issues?? > It is my experience that database corruption is almost always caused > by a flakey network connection. Fix that and you will fix the real > cause of the problem. I don't think you database structure has > anything at all to do with the problem. > > You are welcome to send me your stripped database and I will have a > look at it though. You can send it to be at garykjos at gmail.com > > Gary > > On 11/23/05, Scott Marcus wrote: >> Pedro, >> >> What is the error? >> >> Scott Marcus >> IT Programmer >> TSS Technologies Inc. >> www.tss.com >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >> Sent: Wednesday, November 23, 2005 11:46 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] error & structure: Please Help!! >> >> Hi, >> >> is there really no one who can help me with this? >> >> >> Last week i posted an error message, but became no answer that gave me >> an >> explanation for the error. >> Is there someone who could look at the databasestructure ( i will send >> the >> stripped database ofline) and see why this error can appear, and give me >> >> some tips to prevent the error and for improvement of the structure. >> >> >> Pedro Janssen >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Nov 23 16:23:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 23 Nov 2005 23:23:52 +0100 Subject: [AccessD] error & structure: Please Help!! References: <001a01c5f079$c7774a40$017ba8c0@xpserver> Message-ID: <001401c5f07c$9a91bb20$4001a8c0@laptop> Hi Jim, even exporting the tables in a blanc database sometimes didn't work. In two cases i had to copy and past al the data in tables from backup's. This is a lot of work. Last time it took me about 5 hours to restore al the data. Pedro Janssen ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:03 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro: > > I have run across similar situations before. Everything will remain sable > until a station or the server goes down in the middle of a data operation > between the FE and BE. If this happens often enough, the databases will be > corrupted. In most cases this database will have to be brought back from > the > last night's backup. > > The last time this situation happened on a client's site they ended up > losing two weeks worth of work. From then on I have never used the bound > database model except for small sites. > > You should be able to restore the data, by creating a blank BE and > exporting > one table at a time from the old to new. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: November 23, 2005 11:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] error & structure: Please Help!! > > Hellp Gary, > > the backend of the database is on one server. > The frontends are on the C: drive of about 10 pc's. > > To my knowledge there are no network problems. > I always thought that it could be a problem when more then 1 user is > working > > in the same table, but this is just an idea. > > Gary, i will send you the database of line. The error you can find in the > accessd mail i returned to Scott Marcus. > > Thanks > > Pedro Janssen > > > ----- Original Message ----- > From: "Gary Kjos" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 23, 2005 7:46 PM > Subject: Re: [AccessD] error & structure: Please Help!! > > >> Hi Pedro, >> >> Do you have other people using this database??? Is it shared over a >> network?? Do any of the users have any network connectivity issues?? >> It is my experience that database corruption is almost always caused >> by a flakey network connection. Fix that and you will fix the real >> cause of the problem. I don't think you database structure has >> anything at all to do with the problem. >> >> You are welcome to send me your stripped database and I will have a >> look at it though. You can send it to be at garykjos at gmail.com >> >> Gary >> >> On 11/23/05, Scott Marcus wrote: >>> Pedro, >>> >>> What is the error? >>> >>> Scott Marcus >>> IT Programmer >>> TSS Technologies Inc. >>> www.tss.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Wednesday, November 23, 2005 11:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] error & structure: Please Help!! >>> >>> Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>> Last week i posted an error message, but became no answer that gave me >>> an >>> explanation for the error. >>> Is there someone who could look at the databasestructure ( i will send >>> the >>> stripped database ofline) and see why this error can appear, and give me >>> >>> some tips to prevent the error and for improvement of the structure. >>> >>> >>> Pedro Janssen >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Wed Nov 23 17:55:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 15:55:13 -0800 Subject: [AccessD] error & structure: Please Help!! References: <00e401c5f068$2e1fd3f0$4001a8c0@laptop> Message-ID: <43850161.2040207@shaw.ca> I just thought, I would let you know that email from my domain shaw.ca is being zombie blocked by your isp plex.nl . I don't know what other isp's it is blocking . This might explain your lack of response to your question Shaw is the second or third biggest ISP in Canada. If you would like your own gmail account to get around this I'll send you an invite. English explanation at bottom http://www.plex.nl/zombie/ It could be just a corrupted mdb. Easy to happen with a power failure, someone turning off the PC abruptly or a bad hub, switch or nic card on the network. People generally don't use field Descriptions unless they heavily document their mdb's If it is user doing it, by accidently powering down the PC. You might be able to find out which terminal caused it with the routine below. The routine looks at the associated ldb file, so don't delete it untill you run this run ADOUserRoster in another mdb against the faulty mdb name ' Constants ' 'The Microsoft Jet Provider defines a number of GUIDs 'and property values that are for provider-specific features 'and properties. Because they are provider-specific values, 'ADO does not expose them in enumeration values or constants ' for further info see: ' http://www.microsoft.com/data/ado/adotechinfo/dao2ado_9.htm ' http://msdn.microsoft.com/library/techart/daotoadoupdate_topic10.htm 'Remember to set reference to MS ADO 2.5 or higher ' Jet OLE DB Provider Defined Schema Rowsets Constants Global Const JET_SCHEMA_USERROSTER = _ "{947bb102-5d43-11d1-bdbf-00c04fb92675}" Global Const JET_SCHEMA_ISAMSTATS = _ "{8703b612-5d43-11d1-bdbf-00c04fb92675}" ' Microsoft Jet OLEDB:Database Locking Mode property values Global Const JET_DATABASELOCKMODE_PAGE = 0 Global Const JET_DATABASELOCKMODE_ROW = 1 'Remember to set reference to MS ADO 2.5 or higher ' sample calls ' 'ADOUserRoster "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb" 'ADOUserStats "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb" Function ADOUserRoster(strAccessMDBName As String) As String Dim cnn As New ADODB.Connection Dim rst As ADODB.Recordset Dim varGetString As Variant ' Use before ADO calls On Error GoTo AdoError ' Open the connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessMDBName & ";" ' Open the user roster schema rowset Set rst = cnn.OpenSchema(adSchemaProviderSpecific, , _ JET_SCHEMA_USERROSTER) ' Print the results to the debug window 'Column Description 'COMPUTER_NAME The name of the workstation as specified using ' the Network icon in Control Panel. 'LOGIN_NAME The name of the user used to log on to the database ' if the database has been secured; otherwise, ' the default value will be Admin. 'CONNECTED True, if there is a corresponding user lock ' in the .ldb file. 'SUSPECTED_STATE True, if the user has left the database ' in a suspect state; otherwise, Null. Debug.Print "Computer Name Login Name" & _ " Connected Suspected State" 'can only grab once 'Use all defaults: get all rows, TAB column delimiter, CARRIAGE RETURN 'row delimiter, empty-string null delimiter varGetString = rst.GetString(adClipString, , ",", ";", "?") 'computer name string has a couple of nulls in so remove Dim ab() As Byte Dim i As Long Dim lstrlen As Long lstrlen = (Len(varGetString) - 1) * 2 ab = varGetString For i = 0 To lstrlen Step 2 Debug.Print Chr(ab(i)); ab(i); i If ab(i) = 0 Then ab(i) = 32 End If Next i ' Format string for text box varGetString = ab varGetString = Replace(varGetString, ",0,", ", False ,") varGetString = Replace(varGetString, ",-1,", ", True ,") varGetString = Replace(varGetString, ",?", ", ?? ,") varGetString = Replace(varGetString, ",", " ") varGetString = Replace(varGetString, ";", vbCrLf) Debug.Print varGetString ADOUserRoster = "Computer Name Login Name" & _ " Connected Suspected State" & vbCrLf & _ varGetString cnn.close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.close Set cnn = Nothing 'where Cnn is Connection Object End Function Function ADOUserStats(strAccessMDBName As String) As String ' Grab Isam Statistics at call time ' Write up in Microsoft Jet Dabase Programmer's Guide ' similar to ISAMStats function ' IsamStats(StatNum as Long,Reset as Boolean) Dim cnn As New ADODB.Connection Dim rst As ADODB.Recordset Dim strLine As String Dim i As Integer Dim strLargeLine As String ' Use before ADO calls On Error GoTo AdoError ' Open the connection cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessMDBName & ";" ' Open the user roster schema rowset Set rst = cnn.OpenSchema(adSchemaProviderSpecific, , _ JET_SCHEMA_ISAMSTATS) ' Print the ISAM Stats results to the debug window Debug.Print "ISAM Stats" strLargeLine = "ISAM Stats" & vbCrLf Debug.Print rst.GetString With rst .MoveFirst Do While Not .EOF strLine = "" With .Fields Debug.Print "Count=" & .Count For i = 0 To .Count - 1 strLine = strLine & .Item(i).Name & ":" & _ .Item(i).Value & vbCrLf Next Debug.Print strLine strLargeLine = strLargeLine & strLine & vbCrLf End With .MoveNext Loop End With ADOUserStats = strLargeLine cnn.close Set cnn = Nothing Exit Function ' ADO Error/Exception Handler AdoError: Dim ErrNumber As Long Dim ErrSource As String Dim ErrDescription As String ErrNumber = Err.Number ErrSource = Err.Source ErrDescription = Err.Description AdoErrorExpanded cnn cnn.close 'where Cnn is Connection Object End Function Sub AdoErrorExpanded(Conn1 As ADODB.Connection) ' ADO Error/Exception Handler Expanded Dim Errs1 As ADODB.Errors Dim errLoop As ADODB.Error Dim i As Long Dim strMsgErr As String i = 1 On Error Resume Next ' For any error condition, show results in debug ' Enumerate Errors collection and display properties ' of each Error object. Set Errs1 = Conn1.Errors For Each errLoop In Errs1 With errLoop Debug.Print " Error #" & i & ":" Debug.Print " ADO Error #" & .Number Debug.Print " Description " & .Description Debug.Print " Source " & .Source Debug.Print " HelpFile " & .HelpFile Debug.Print " HelpContext " & .HelpContext Debug.Print " NativeError " & .NativeError Debug.Print " SQLState " & .SQLState strMsgErr = " Error #" & i & ":" strMsgErr = strMsgErr & vbCrLf & " ADO Error #" & .Number strMsgErr = strMsgErr & vbCrLf & " Description " & .Description strMsgErr = strMsgErr & vbCrLf & " Source " & .Source strMsgErr = strMsgErr & vbCrLf & " HelpFile " & .HelpFile strMsgErr = strMsgErr & vbCrLf & " HelpContext " & .HelpContext strMsgErr = strMsgErr & vbCrLf & " NativeError " & .NativeError strMsgErr = strMsgErr & vbCrLf & " SQLState " & .SQLState MsgBox strMsgErr i = i + 1 End With Next With Conn1 Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf Debug.Print "ADO Version: " & .Version & vbCrLf & _ "DBMS Name: " & .Properties("DBMS Name") & vbCrLf & _ "DBMS Version: " & .Properties("DBMS Version") & vbCrLf & _ "OLE DB Version: " & .Properties("OLE DB Version") & vbCrLf & _ "Provider Name: " & .Properties("Provider Name") & vbCrLf & _ "Provider Version: " & .Properties("Provider Version") & vbCrLf & _ "Driver Name: " & .Properties("Driver Name") & vbCrLf & _ "Driver Version: " & .Properties("Driver Version") & vbCrLf & _ "Driver ODBC Version: " & .Properties("Driver ODBC Version") End With End Sub Pedro Janssen wrote: >Gary, > >i received a second Delivery Status Notification (failure). How is this >possible. >Does it returns. .zip extensions. I will send it again as an .ok extension. >Please change it to .zip > >Pedro Janssen > > >----- Original Message ----- >From: "Gary Kjos" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, November 23, 2005 7:46 PM >Subject: Re: [AccessD] error & structure: Please Help!! > > > > >>Hi Pedro, >> >>Do you have other people using this database??? Is it shared over a >>network?? Do any of the users have any network connectivity issues?? >>It is my experience that database corruption is almost always caused >>by a flakey network connection. Fix that and you will fix the real >>cause of the problem. I don't think you database structure has >>anything at all to do with the problem. >> >>You are welcome to send me your stripped database and I will have a >>look at it though. You can send it to be at garykjos at gmail.com >> >>Gary >> >>On 11/23/05, Scott Marcus wrote: >> >> >>>Pedro, >>> >>>What is the error? >>> >>>Scott Marcus >>>IT Programmer >>>TSS Technologies Inc. >>>www.tss.com >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>>Sent: Wednesday, November 23, 2005 11:46 AM >>>To: Access Developers discussion and problem solving >>>Subject: [AccessD] error & structure: Please Help!! >>> >>>Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>>Last week i posted an error message, but became no answer that gave me >>>an >>>explanation for the error. >>>Is there someone who could look at the databasestructure ( i will send >>>the >>>stripped database ofline) and see why this error can appear, and give me >>> >>>some tips to prevent the error and for improvement of the structure. >>> >>> >>>Pedro Janssen >>> >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>Gary Kjos >>garykjos at gmail.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 accessd at shaw.ca Wed Nov 23 18:50:40 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 23 Nov 2005 16:50:40 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <001401c5f07c$9a91bb20$4001a8c0@laptop> Message-ID: <002101c5f091$17e98030$017ba8c0@xpserver> Hi Pedro: One thing you can do is when you get the BE recovered. Check to see how database is being used. Some of the problems that I had were: 1. Some users never logged off and just left everything running.... result in extra exposure and halted backups. 2. One user simply used the off and on button when ending for the day. 3. One of the local IT guys would re-boot the server without getting everyone logged off. I am not suggesting that these are the issues at your site but a similar set of problems that that physically affect database I/O would continuously corrupt your BE. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 23, 2005 2:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hi Jim, even exporting the tables in a blanc database sometimes didn't work. In two cases i had to copy and past al the data in tables from backup's. This is a lot of work. Last time it took me about 5 hours to restore al the data. Pedro Janssen ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:03 PM Subject: Re: [AccessD] error & structure: Please Help!! > Hi Pedro: > > I have run across similar situations before. Everything will remain sable > until a station or the server goes down in the middle of a data operation > between the FE and BE. If this happens often enough, the databases will be > corrupted. In most cases this database will have to be brought back from > the > last night's backup. > > The last time this situation happened on a client's site they ended up > losing two weeks worth of work. From then on I have never used the bound > database model except for small sites. > > You should be able to restore the data, by creating a blank BE and > exporting > one table at a time from the old to new. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: November 23, 2005 11:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] error & structure: Please Help!! > > Hellp Gary, > > the backend of the database is on one server. > The frontends are on the C: drive of about 10 pc's. > > To my knowledge there are no network problems. > I always thought that it could be a problem when more then 1 user is > working > > in the same table, but this is just an idea. > > Gary, i will send you the database of line. The error you can find in the > accessd mail i returned to Scott Marcus. > > Thanks > > Pedro Janssen > > > ----- Original Message ----- > From: "Gary Kjos" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, November 23, 2005 7:46 PM > Subject: Re: [AccessD] error & structure: Please Help!! > > >> Hi Pedro, >> >> Do you have other people using this database??? Is it shared over a >> network?? Do any of the users have any network connectivity issues?? >> It is my experience that database corruption is almost always caused >> by a flakey network connection. Fix that and you will fix the real >> cause of the problem. I don't think you database structure has >> anything at all to do with the problem. >> >> You are welcome to send me your stripped database and I will have a >> look at it though. You can send it to be at garykjos at gmail.com >> >> Gary >> >> On 11/23/05, Scott Marcus wrote: >>> Pedro, >>> >>> What is the error? >>> >>> Scott Marcus >>> IT Programmer >>> TSS Technologies Inc. >>> www.tss.com >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>> Sent: Wednesday, November 23, 2005 11:46 AM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] error & structure: Please Help!! >>> >>> Hi, >>> >>> is there really no one who can help me with this? >>> >>> >>> Last week i posted an error message, but became no answer that gave me >>> an >>> explanation for the error. >>> Is there someone who could look at the databasestructure ( i will send >>> the >>> stripped database ofline) and see why this error can appear, and give me >>> >>> some tips to prevent the error and for improvement of the structure. >>> >>> >>> Pedro Janssen >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Nov 23 19:43:16 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 23 Nov 2005 17:43:16 -0800 Subject: [AccessD] error & structure: Please Help!! References: <002101c5f091$17e98030$017ba8c0@xpserver> Message-ID: <43851AB4.9000109@shaw.ca> You can force out Idle Users and also a similar method with a timer and hidden form and a small field in a table can be used to force everyone out with a 5 minute warning Candace Tripp has an example mdb "Detect and Logoff Idle Users" http://www.candace-tripp.com/pages/access_downloads.aspx HOW TO: Detect User Idle Time or Inactivity in Access 2000 http://support.microsoft.com/?id=210297 use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the Knowledge Base article), and do not display a message box as shown in the article, since message boxes are modal and this would defeat any attempt to close: Sub IdleTimeDetected(sngExpiredMinutes) 'Dim strMessage As String 'strMessage = "No user activity detected in the last" & vbCrLf 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" 'MsgBox strMessage, vbInformation, "No Sign of Activity!" Application.Quit acSaveYes End Sub Jim Lawrence wrote: >Hi Pedro: > >One thing you can do is when you get the BE recovered. Check to see how >database is being used. Some of the problems that I had were: > >1. Some users never logged off and just left everything running.... result >in extra exposure and halted backups. >2. One user simply used the off and on button when ending for the day. >3. One of the local IT guys would re-boot the server without getting >everyone logged off. > >I am not suggesting that these are the issues at your site but a similar set >of problems that that physically affect database I/O would continuously >corrupt your BE. > >HTH >Jim > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >Sent: November 23, 2005 2:24 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] error & structure: Please Help!! > >Hi Jim, > >even exporting the tables in a blanc database sometimes didn't work. >In two cases i had to copy and past al the data in tables from backup's. >This is a lot of work. Last time it took me about 5 hours to restore al the >data. > >Pedro Janssen > > > >----- Original Message ----- >From: "Jim Lawrence" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:03 PM >Subject: Re: [AccessD] error & structure: Please Help!! > > > > >>Hi Pedro: >> >>I have run across similar situations before. Everything will remain sable >>until a station or the server goes down in the middle of a data operation >>between the FE and BE. If this happens often enough, the databases will be >>corrupted. In most cases this database will have to be brought back from >>the >>last night's backup. >> >>The last time this situation happened on a client's site they ended up >>losing two weeks worth of work. From then on I have never used the bound >>database model except for small sites. >> >>You should be able to restore the data, by creating a blank BE and >>exporting >>one table at a time from the old to new. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>Sent: November 23, 2005 11:09 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] error & structure: Please Help!! >> >>Hellp Gary, >> >>the backend of the database is on one server. >>The frontends are on the C: drive of about 10 pc's. >> >>To my knowledge there are no network problems. >>I always thought that it could be a problem when more then 1 user is >>working >> >>in the same table, but this is just an idea. >> >>Gary, i will send you the database of line. The error you can find in the >>accessd mail i returned to Scott Marcus. >> >>Thanks >> >>Pedro Janssen >> >> >>----- Original Message ----- >>From: "Gary Kjos" >>To: "Access Developers discussion and problem solving" >> >>Sent: Wednesday, November 23, 2005 7:46 PM >>Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> >> >>>Hi Pedro, >>> >>>Do you have other people using this database??? Is it shared over a >>>network?? Do any of the users have any network connectivity issues?? >>>It is my experience that database corruption is almost always caused >>>by a flakey network connection. Fix that and you will fix the real >>>cause of the problem. I don't think you database structure has >>>anything at all to do with the problem. >>> >>>You are welcome to send me your stripped database and I will have a >>>look at it though. You can send it to be at garykjos at gmail.com >>> >>>Gary >>> >>>On 11/23/05, Scott Marcus wrote: >>> >>> >>>>Pedro, >>>> >>>>What is the error? >>>> >>>>Scott Marcus >>>>IT Programmer >>>>TSS Technologies Inc. >>>>www.tss.com >>>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen >>>>Sent: Wednesday, November 23, 2005 11:46 AM >>>>To: Access Developers discussion and problem solving >>>>Subject: [AccessD] error & structure: Please Help!! >>>> >>>>Hi, >>>> >>>> is there really no one who can help me with this? >>>> >>>> >>>>Last week i posted an error message, but became no answer that gave me >>>>an >>>>explanation for the error. >>>>Is there someone who could look at the databasestructure ( i will send >>>>the >>>>stripped database ofline) and see why this error can appear, and give me >>>> >>>>some tips to prevent the error and for improvement of the structure. >>>> >>>> >>>>Pedro Janssen >>>> >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>>-- >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>-- >>>Gary Kjos >>>garykjos at gmail.com >>>-- >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/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 DorisH3 at aol.com Wed Nov 23 20:59:16 2005 From: DorisH3 at aol.com (DorisH3 at aol.com) Date: Wed, 23 Nov 2005 21:59:16 EST Subject: [AccessD] Need help Message-ID: I am fairly new to Access, so I apologize ahead of time for my incompetence. I have a report that I need to put together which shows the First and Last Names of Volunteers and their qualifications...I need to show as an example: Last Name First Name Qualifications Smith Ann BB, CC, MF, Jones Richard CF, CT I have 2 tables....one for the volunteers which contains VolNum, FirstNm, LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum and QualificationCode. Because the volunteers are qualified in more than one area their could be several records for one volunteer in the Qualifications table. My problem is how do I show the last column of the report with commas after each record from the Qualifications table vs listing each qualification on a seperate line for the volunteer. Thanks ahead of time for the assistance. Doris From jmhecht at earthlink.net Wed Nov 23 22:36:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 23 Nov 2005 20:36:45 -0800 Subject: [AccessD] Installing a retail Access app Message-ID: <000001c5f0b0$ad8d5c00$6701a8c0@Hewlett> My client may want to sell the application I am working on for him. It would be split and an .mde. I admit I will likely be stealing ( ummmm borrowing from JC). Some questions: 1. How do you design for an installation where you do not know the target network? 2. Currently I am working with A2K3. No VS. How do I select an install package? 3. What other design things should I be waiting to bite me? Thanks, Joe Hecht jmhecht at earthlink.net From wdhindman at bellsouth.net Wed Nov 23 22:50:20 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 23 Nov 2005 23:50:20 -0500 Subject: [AccessD] Need help References: Message-ID: <000301c5f0b2$93389110$6101a8c0@JISREGISTRATION.local> ...this is a sample module which does what you want to do ...you'll have to rewrite the code to address your tables, fields, and relationships but the functionality you need is all there. http://www.mvps.org/access/modules/mdl0004.htm William ----- Original Message ----- From: To: Sent: Wednesday, November 23, 2005 9:59 PM Subject: [AccessD] Need help >I am fairly new to Access, so I apologize ahead of time for my >incompetence. > > I have a report that I need to put together which shows the First and Last > Names of Volunteers and their qualifications...I need to show as an > example: > > Last Name First Name Qualifications > Smith Ann BB, CC, MF, > Jones Richard CF, CT > > I have 2 tables....one for the volunteers which contains VolNum, FirstNm, > LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum > and > QualificationCode. Because the volunteers are qualified in more than one > area > their could be several records for one volunteer in the Qualifications > table. > > > My problem is how do I show the last column of the report with commas > after > each record from the Qualifications table vs listing each qualification on > a > seperate line for the volunteer. > > Thanks ahead of time for the assistance. > > Doris > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at bellsouth.net Wed Nov 23 22:58:44 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 23 Nov 2005 23:58:44 -0500 Subject: [AccessD] Installing a retail Access app References: <000001c5f0b0$ad8d5c00$6701a8c0@Hewlett> Message-ID: <000701c5f0b3$c03750b0$6101a8c0@JISREGISTRATION.local> ...I believe you will need the runtime distribution licensing that comes with the VS Tools for Office for the common case where the customer does not have Access pre-installed. ...the install packager that comes with the VSTFO is adequate only for controlled local installs ...for the siuation you describe you will need the Wise/Sage combo. ...if you are talking about installing on a non-Win network like Novell or Unix then there a number of posts in the archives, particularly from Gustav, that will be of considerable help. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:36 PM Subject: [AccessD] Installing a retail Access app > My client may want to sell the application I am working on > for him. > > > > It would be split and an .mde. I admit I will likely be > stealing ( ummmm borrowing from JC). > > > > Some questions: > > 1. How do you design for an installation where you do > not know the target network? > 2. Currently I am working with A2K3. No VS. How do I > select an install package? > 3. What other design things should I be waiting to bite > me? > > > > Thanks, > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Wed Nov 23 23:03:26 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 23 Nov 2005 21:03:26 -0800 Subject: [AccessD] Installing a retail Access app In-Reply-To: <000701c5f0b3$c03750b0$6101a8c0@JISREGISTRATION.local> Message-ID: <000001c5f0b4$67f18c30$6701a8c0@Hewlett> Thanks William, Guess I will spend Thanksgiving in the archives. Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, November 23, 2005 8:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app ...I believe you will need the runtime distribution licensing that comes with the VS Tools for Office for the common case where the customer does not have Access pre-installed. ...the install packager that comes with the VSTFO is adequate only for controlled local installs ...for the siuation you describe you will need the Wise/Sage combo. ...if you are talking about installing on a non-Win network like Novell or Unix then there a number of posts in the archives, particularly from Gustav, that will be of considerable help. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 23, 2005 11:36 PM Subject: [AccessD] Installing a retail Access app > My client may want to sell the application I am working on > for him. > > > > It would be split and an .mde. I admit I will likely be > stealing ( ummmm borrowing from JC). > > > > Some questions: > > 1. How do you design for an installation where you do > not know the target network? > 2. Currently I am working with A2K3. No VS. How do I > select an install package? > 3. What other design things should I be waiting to bite > me? > > > > Thanks, > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Nov 24 03:57:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 10:57:02 +0100 Subject: [AccessD] Need help Message-ID: Hi Doris Here's a variation where you save the SQL to look up the Qualifications in a separate query assuming that your primary key, VolNum, is a number: PARAMETERS lngKey Long; SELECT QualificationCode FROM tblQualifications WHERE VolNum = lngKey ORDER BY QualificationCode; Save this as, say, qdyQualifications. Now, adjust you main query to include the function below to look something like this: SELECT *, ConcatenateRecords('qdyQualifications',[VolNum],'QualificationCode',', ') FROM tblVolunteers; /gustav Public Function ConcatenateRecords( _ ByVal strSource As String, _ ByVal lngKey As Long, _ ByVal strField As String, _ Optional ByVal strSeparator As String = ";") _ As String ' Concatenates values from one field (strField) from all ' records in query strSource using parameter value lngKey. ' Values are separated by strSeparator. ' Default output like: ' 34;56;34;67;234 ' ' 1999-10-12. Cactus Data ApS, CPH Dim dbs As DAO.Database Dim qdf As DAO.QueryDef Dim rst As DAO.Recordset Dim fld As DAO.Field Dim booPluralis As Boolean Dim strFields As String On Error GoTo Err_ConcatenateRecords Set dbs = CurrentDb() If Len(strSource) > 0 And Len(strField) > 0 Then Set qdf = dbs.QueryDefs(strSource) qdf.Parameters(0) = lngKey Set rst = qdf.OpenRecordset() Set fld = rst.Fields(strField) With rst While Not .EOF If booPluralis = True Then ' There is more than one record. ' Add separator. strFields = strFields & strSeparator End If strFields = strFields & Trim(fld.value) booPluralis = True .MoveNext Wend .Close End With Set fld = Nothing Set rst = Nothing Set qdf = Nothing End If Set dbs = Nothing ConcatenateRecords = strFields Exit_ConcatenateRecords: Exit Function Err_ConcatenateRecords: MsgBox "Error " & Err.Number & ". " & Err.Description Resume Exit_ConcatenateRecords End Function >>> DorisH3 at aol.com 24-11-2005 03:59 >>> I am fairly new to Access, so I apologize ahead of time for my incompetence. I have a report that I need to put together which shows the First and Last Names of Volunteers and their qualifications...I need to show as an example: Last Name First Name Qualifications Smith Ann BB, CC, MF, Jones Richard CF, CT I have 2 tables....one for the volunteers which contains VolNum, FirstNm, LstNm,Addr,City,St,Zip and then I have a 2nd table which contains VolNum and QualificationCode. Because the volunteers are qualified in more than one area their could be several records for one volunteer in the Qualifications table. My problem is how do I show the last column of the report with commas after each record from the Qualifications table vs listing each qualification on a seperate line for the volunteer. Thanks ahead of time for the assistance. Doris -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This mail is marked as non spam by Pinjo revealer, spamfilter technology. ( http://www.pinjo.nl ) From Pedro at plex.nl Thu Nov 24 11:32:51 2005 From: Pedro at plex.nl (Pedro at plex.nl) Date: Thu, 24 Nov 2005 11:32:51 (MET) Subject: [AccessD] error & structure: Please Help!! Message-ID: <200511241032.jAOAWpUh011022@mailhostC.plex.net> Hello Marty, because the response on my question is send by accessd, i presume that this isn't blocked by my provider?? Pedro In antwoord op: > From: MartyConnelly > To: Access Developers discussion and problem solving > Date: Wed, 23 Nov 2005 15:55:13 -0800 > Subject: Re: [AccessD] error & structure: Please Help!! > > > I just thought, I would let you know that email from my domain shaw.ca > is being zombie blocked > by your isp plex.nl . I don't know what other isp's it is blocking . > This might explain your lack of response to your question > Shaw is the second or third biggest ISP in Canada. If you would like > your own gmail account to get around this > I'll send you an invite. > > English explanation at bottom > http://www.plex.nl/zombie/ > > From Pedro at plex.nl Thu Nov 24 11:36:47 2005 From: Pedro at plex.nl (Pedro at plex.nl) Date: Thu, 24 Nov 2005 11:36:47 (MET) Subject: [AccessD] error & structure: Please Help!! Message-ID: <200511241036.jAOAalx1011136@mailhostC.plex.net> Hello Jim And Marty, thanks for the tips. I will check this out. Pedro Janssen In antwoord op: > From: MartyConnelly > To: Access Developers discussion and problem solving > Date: Wed, 23 Nov 2005 17:43:16 -0800 > Subject: Re: [AccessD] error & structure: Please Help!! > > > You can force out Idle Users and also a similar method with a timer and > hidden form and a small field in a table > can be used to force everyone out with a 5 minute warning > > Candace Tripp has an example mdb "Detect and Logoff Idle Users" > http://www.candace-tripp.com/pages/access_downloads.aspx > > > HOW TO: Detect User Idle Time or Inactivity in Access 2000 > http://support.microsoft.com/?id=210297 > > use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the > Knowledge Base article), > and do not display a message box as shown in the article, since > message boxes are modal and this would defeat any attempt to close: > > Sub IdleTimeDetected(sngExpiredMinutes) > 'Dim strMessage As String > 'strMessage = "No user activity detected in the last" & vbCrLf > 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" > 'MsgBox strMessage, vbInformation, "No Sign of Activity!" > Application.Quit acSaveYes > End Sub > > > Jim Lawrence wrote: > > >Hi Pedro: > > > >One thing you can do is when you get the BE recovered. Check to see how > >database is being used. Some of the problems that I had were: > > > >1. Some users never logged off and just left everything running.... result > >in extra exposure and halted backups. > >2. One user simply used the off and on button when ending for the day. > >3. One of the local IT guys would re-boot the server without getting > >everyone logged off. > > > >I am not suggesting that these are the issues at your site but a similar set > >of problems that that physically affect database I/O would continuously > >corrupt your BE. > > > >HTH > >Jim > > From Gustav at cactus.dk Thu Nov 24 08:51:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 15:51:49 +0100 Subject: [AccessD] OT: Sum in MySQL Message-ID: Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav From paul.hartland at isharp.co.uk Thu Nov 24 09:07:47 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 24 Nov 2005 15:07:47 -0000 Subject: [AccessD] OT: Sum in MySQL In-Reply-To: Message-ID: Not sure about MYSQL, but off the top of my head I think I would use something like the following in SQL Server SELECT SUM(CAST([FieldInteger] AS Float)) FROM tblTable Or possibly SELECT SUM(CONVERT(Float, [FieldInteger])) FROM tblTable If it works, let me know as I want to start getting into MYSQL....In fact if anyone knows if and where a good front-end for MYSQL exists (hopefully similar to Enterprise Manager) then could you let me know. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 24 November 2005 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT: Sum in MySQL Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Nov 24 10:56:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 24 Nov 2005 08:56:35 -0800 Subject: [AccessD] error & structure: Please Help!! References: <200511241032.jAOAWpUh011022@mailhostC.plex.net> Message-ID: <4385F0C3.3000901@shaw.ca> No your ISP is using a database from the SORBS organization Spam and Open Relay Blocking System to block email from certain ISP's if mail is sent from my ISP shaw.ca directly to plex.nl it is bounced. There are certain levels of blocking maybe your ISP is being very aggressive. For example my ISP lets some SPAM through but flags it so you can dump into a seperate folder and lets you decide what to do with it.. However my isp is on the list because of suspicions of running open relay mail servers more serious than just ordinary SPAM http://www.us.sorbs.net/ Pedro at plex.nl wrote: >Hello Marty, > >because the response on my question is send by accessd, i presume that this isn't blocked by my provider?? > >Pedro > > >In antwoord op: > > > >>From: MartyConnelly >>To: Access Developers discussion and problem solving >>Date: Wed, 23 Nov 2005 15:55:13 -0800 >>Subject: Re: [AccessD] error & structure: Please Help!! >> >> >>I just thought, I would let you know that email from my domain shaw.ca >>is being zombie blocked >>by your isp plex.nl . I don't know what other isp's it is blocking . >>This might explain your lack of response to your question >>Shaw is the second or third biggest ISP in Canada. If you would like >>your own gmail account to get around this >>I'll send you an invite. >> >>English explanation at bottom >>http://www.plex.nl/zombie/ >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Nov 24 10:59:04 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 24 Nov 2005 08:59:04 -0800 Subject: [AccessD] Installing a retail Access app References: <000001c5f0b4$67f18c30$6701a8c0@Hewlett> Message-ID: <4385F158.3030808@shaw.ca> There are some articles at http://www.sagekey.com Joe Hecht wrote: >Thanks William, > >Guess I will spend Thanksgiving in the archives. > >Joe Hecht >jmhecht at earthlink.net >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >William Hindman >Sent: Wednesday, November 23, 2005 8:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Installing a retail Access app > >...I believe you will need the runtime distribution >licensing that comes >with the VS Tools for Office for the common case where the >customer does not >have Access pre-installed. > >...the install packager that comes with the VSTFO is >adequate only for >controlled local installs ...for the siuation you describe >you will need the >Wise/Sage combo. > >...if you are talking about installing on a non-Win network >like Novell or >Unix then there a number of posts in the archives, >particularly from Gustav, >that will be of considerable help. > >William > >----- Original Message ----- >From: "Joe Hecht" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:36 PM >Subject: [AccessD] Installing a retail Access app > > > > >>My client may want to sell the application I am working on >>for him. >> >> >> >>It would be split and an .mde. I admit I will likely be >>stealing ( ummmm borrowing from JC). >> >> >> >>Some questions: >> >>1. How do you design for an installation where you do >>not know the target network? >>2. Currently I am working with A2K3. No VS. How do I >>select an install package? >>3. What other design things should I be waiting to bite >>me? >> >> >> >>Thanks, >> >> >> >>Joe Hecht >> >>jmhecht at earthlink.net >> >> >> >>-- >>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 Gustav at cactus.dk Thu Nov 24 11:13:58 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 24 Nov 2005 18:13:58 +0100 Subject: [AccessD] OT: Sum in MySQL Message-ID: Hi Paul None of those work for me. Several admin tools are available. I use "MySQL Control Center" by "MySQL & Jorge del Conde". Should be a free download. /gustav >>> paul.hartland at isharp.co.uk 24-11-2005 16:07 >>> Not sure about MYSQL, but off the top of my head I think I would use something like the following in SQL Server SELECT SUM(CAST([FieldInteger] AS Float)) FROM tblTable Or possibly SELECT SUM(CONVERT(Float, [FieldInteger])) FROM tblTable If it works, let me know as I want to start getting into MYSQL....In fact if anyone knows if and where a good front-end for MYSQL exists (hopefully similar to Enterprise Manager) then could you let me know. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 24 November 2005 14:52 To: accessd at databaseadvisors.com Subject: [AccessD] OT: Sum in MySQL Hi all I recall we have some MySQL gurus around ... If you have a field of datatype Integer (Long in Access) and wish to sum this from a large amount of records, how would you do in MySQL? In Access you would do something like: SELECT SUM(CDbl([FieldInteger])) FROM tblTable ...; and the result would be a - potentially very large - Double. What to use for CDbl() in MySQL? /gustav From john at winhaven.net Thu Nov 24 12:28:18 2005 From: john at winhaven.net (John Bartow) Date: Thu, 24 Nov 2005 12:28:18 -0600 Subject: [AccessD] Installing a retail Access app In-Reply-To: <4385F158.3030808@shaw.ca> Message-ID: <014201c5f124$d7ca4040$7301a8c0@ScuzzPaq> IMO the best source for distributing stand alone Access apps. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 24, 2005 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app There are some articles at http://www.sagekey.com Joe Hecht wrote: >Thanks William, > >Guess I will spend Thanksgiving in the archives. > >Joe Hecht >jmhecht at earthlink.net >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >Hindman >Sent: Wednesday, November 23, 2005 8:59 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Installing a retail Access app > >...I believe you will need the runtime distribution licensing that >comes with the VS Tools for Office for the common case where the >customer does not have Access pre-installed. > >...the install packager that comes with the VSTFO is adequate only for >controlled local installs ...for the siuation you describe you will >need the Wise/Sage combo. > >...if you are talking about installing on a non-Win network like Novell >or Unix then there a number of posts in the archives, particularly from >Gustav, that will be of considerable help. > >William > >----- Original Message ----- >From: "Joe Hecht" >To: "'Access Developers discussion and problem solving'" > >Sent: Wednesday, November 23, 2005 11:36 PM >Subject: [AccessD] Installing a retail Access app > > > > >>My client may want to sell the application I am working on for him. >> >> >> >>It would be split and an .mde. I admit I will likely be stealing ( >>ummmm borrowing from JC). >> >> >> >>Some questions: >> >>1. How do you design for an installation where you do not know the >>target network? >>2. Currently I am working with A2K3. No VS. How do I select an install >>package? >>3. What other design things should I be waiting to bite me? >> >> >> >>Thanks, >> >> >> >>Joe Hecht >> >>jmhecht at earthlink.net >> >> >> >>-- >>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 jmhecht at earthlink.net Thu Nov 24 14:59:19 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 24 Nov 2005 12:59:19 -0800 Subject: [AccessD] Installing a retail Access app In-Reply-To: <4385F158.3030808@shaw.ca> Message-ID: <000f01c5f139$f10147b0$6701a8c0@Hewlett> Marty, Any idea how to get at the knowledgebase if you do not own the product. Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, November 24, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Installing a retail Access app There are some articles at http://www.sagekey.com From pedro at plex.nl Thu Nov 24 16:25:42 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 24 Nov 2005 23:25:42 +0100 Subject: [AccessD] error & structure: Please Help!! References: <200511241032.jAOAWpUh011022@mailhostC.plex.net> <4385F0C3.3000901@shaw.ca> Message-ID: <002401c5f146$06980d00$4001a8c0@laptop> Hello Marty, Ok when it is directly send to plex, then the messages can be blocked, but i presume that most of the messages on that question wouls arrive through accessd. Pedro ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, November 24, 2005 5:56 PM Subject: Re: [AccessD] error & structure: Please Help!! > No your ISP is using a database from the SORBS organization > Spam and Open Relay Blocking System to block email from certain ISP's > if mail is sent from my ISP shaw.ca directly to plex.nl it is bounced. > There are certain levels of blocking maybe your ISP is being very > aggressive. > For example my ISP lets some SPAM through but flags it so you can dump > into > a seperate folder and lets you decide what to do with it.. > However my isp is on the list because of suspicions of running open > relay mail servers > more serious than just ordinary SPAM > > http://www.us.sorbs.net/ > > Pedro at plex.nl wrote: > >>Hello Marty, >> >>because the response on my question is send by accessd, i presume that >>this isn't blocked by my provider?? >> >>Pedro >> >> >>In antwoord op: >> >> >> >>>From: MartyConnelly >>>To: Access Developers discussion and problem solving >>>Date: Wed, 23 Nov 2005 15:55:13 -0800 >>>Subject: Re: [AccessD] error & structure: Please Help!! >>> >>> >>>I just thought, I would let you know that email from my domain shaw.ca >>>is being zombie blocked >>>by your isp plex.nl . I don't know what other isp's it is blocking . >>>This might explain your lack of response to your question >>>Shaw is the second or third biggest ISP in Canada. If you would like >>>your own gmail account to get around this >>>I'll send you an invite. >>> >>>English explanation at bottom >>>http://www.plex.nl/zombie/ >>> >>> >>> >>> >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Thu Nov 24 16:29:55 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 24 Nov 2005 23:29:55 +0100 Subject: [AccessD] error & structure: Please Help!! References: <200511241036.jAOAalx1011136@mailhostC.plex.net> Message-ID: <002f01c5f146$9b347c00$4001a8c0@laptop> Hello Jim and Marty, i have forgotten to tell something. You both think that this error occurs by network or closing problems. Why do we never have problems with other databases, who share the same network. I still think that it lies in the database structure. Pedro Janssen ----- Original Message ----- From: To: Sent: Thursday, November 24, 2005 11:36 AM Subject: Re: [AccessD] error & structure: Please Help!! > Hello Jim And Marty, > > thanks for the tips. > > I will check this out. > > Pedro Janssen > > > > In antwoord op: > >> From: MartyConnelly >> To: Access Developers discussion and problem solving >> Date: Wed, 23 Nov 2005 17:43:16 -0800 >> Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> You can force out Idle Users and also a similar method with a timer and >> hidden form and a small field in a table >> can be used to force everyone out with a 5 minute warning >> >> Candace Tripp has an example mdb "Detect and Logoff Idle Users" >> http://www.candace-tripp.com/pages/access_downloads.aspx >> >> >> HOW TO: Detect User Idle Time or Inactivity in Access 2000 >> http://support.microsoft.com/?id=210297 >> >> use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the >> Knowledge Base article), >> and do not display a message box as shown in the article, since >> message boxes are modal and this would defeat any attempt to close: >> >> Sub IdleTimeDetected(sngExpiredMinutes) >> 'Dim strMessage As String >> 'strMessage = "No user activity detected in the last" & vbCrLf >> 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" >> 'MsgBox strMessage, vbInformation, "No Sign of Activity!" >> Application.Quit acSaveYes >> End Sub >> >> >> Jim Lawrence wrote: >> >> >Hi Pedro: >> > >> >One thing you can do is when you get the BE recovered. Check to see how >> >database is being used. Some of the problems that I had were: >> > >> >1. Some users never logged off and just left everything running.... >> >result >> >in extra exposure and halted backups. >> >2. One user simply used the off and on button when ending for the day. >> >3. One of the local IT guys would re-boot the server without getting >> >everyone logged off. >> > >> >I am not suggesting that these are the issues at your site but a similar >> >set >> >of problems that that physically affect database I/O would continuously >> >corrupt your BE. >> > >> >HTH >> >Jim >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Thu Nov 24 16:37:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 24 Nov 2005 14:37:38 -0800 Subject: [AccessD] VS for Office and Access Extensions Message-ID: <001501c5f147$ac9ba260$6701a8c0@Hewlett> I am looking at selling an application I am working on. Been poking around the Microsoft site. What does VS office offer vs. Access extensions. Thanks Joe Hecht jmhecht at earthlink.net From accessd at shaw.ca Thu Nov 24 17:33:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 24 Nov 2005 15:33:58 -0800 Subject: [AccessD] error & structure: Please Help!! In-Reply-To: <002f01c5f146$9b347c00$4001a8c0@laptop> Message-ID: <002b01c5f14f$8b32cd80$017ba8c0@xpserver> ...or who is using it, Pedro. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: November 24, 2005 2:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] error & structure: Please Help!! Hello Jim and Marty, i have forgotten to tell something. You both think that this error occurs by network or closing problems. Why do we never have problems with other databases, who share the same network. I still think that it lies in the database structure. Pedro Janssen ----- Original Message ----- From: To: Sent: Thursday, November 24, 2005 11:36 AM Subject: Re: [AccessD] error & structure: Please Help!! > Hello Jim And Marty, > > thanks for the tips. > > I will check this out. > > Pedro Janssen > > > > In antwoord op: > >> From: MartyConnelly >> To: Access Developers discussion and problem solving >> Date: Wed, 23 Nov 2005 17:43:16 -0800 >> Subject: Re: [AccessD] error & structure: Please Help!! >> >> >> You can force out Idle Users and also a similar method with a timer and >> hidden form and a small field in a table >> can be used to force everyone out with a 5 minute warning >> >> Candace Tripp has an example mdb "Detect and Logoff Idle Users" >> http://www.candace-tripp.com/pages/access_downloads.aspx >> >> >> HOW TO: Detect User Idle Time or Inactivity in Access 2000 >> http://support.microsoft.com/?id=210297 >> >> use Const IDLEMINUTES = 20 (instead of the 1 minute setting shown in the >> Knowledge Base article), >> and do not display a message box as shown in the article, since >> message boxes are modal and this would defeat any attempt to close: >> >> Sub IdleTimeDetected(sngExpiredMinutes) >> 'Dim strMessage As String >> 'strMessage = "No user activity detected in the last" & vbCrLf >> 'strMessage = strMessage & sngExpiredMinutes & " minute(s)!" >> 'MsgBox strMessage, vbInformation, "No Sign of Activity!" >> Application.Quit acSaveYes >> End Sub >> >> >> Jim Lawrence wrote: >> >> >Hi Pedro: >> > >> >One thing you can do is when you get the BE recovered. Check to see how >> >database is being used. Some of the problems that I had were: >> > >> >1. Some users never logged off and just left everything running.... >> >result >> >in extra exposure and halted backups. >> >2. One user simply used the off and on button when ending for the day. >> >3. One of the local IT guys would re-boot the server without getting >> >everyone logged off. >> > >> >I am not suggesting that these are the issues at your site but a similar >> >set >> >of problems that that physically affect database I/O would continuously >> >corrupt your BE. >> > >> >HTH >> >Jim >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Thu Nov 24 21:30:27 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 13:30:27 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <002b01c5f14f$8b32cd80$017ba8c0@xpserver> Message-ID: <000d01c5f170$9462c7e0$fa10a8c0@Albatross> Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge From Bruce.Bruen at railcorp.nsw.gov.au Thu Nov 24 21:37:42 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 25 Nov 2005 14:37:42 +1100 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> If you declare it in both modules then you will have two variables! Decalre it in the main and reference it in the sub --- without thinking me.parent.report.somethingorother.pbooletc Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Friday, 25 November 2005 2:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Public Variables - Scope and Lifetime Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From pcs at azizaz.com Thu Nov 24 22:01:12 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 14:01:12 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> Message-ID: <001b01c5f174$e06d7fa0$fa10a8c0@Albatross> I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Thu Nov 24 23:53:05 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 25 Nov 2005 00:53:05 -0500 Subject: [AccessD] VS for Office and Access Extensions References: <001501c5f147$ac9ba260$6701a8c0@Hewlett> Message-ID: <000401c5f184$817b3680$6101a8c0@JISREGISTRATION.local> ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Thursday, November 24, 2005 5:37 PM Subject: [AccessD] VS for Office and Access Extensions >I am looking at selling an application I am working on. > > > > Been poking around the Microsoft site. What does VS office > offer vs. Access extensions. > > > > Thanks > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs at azizaz.com Fri Nov 25 00:30:39 2005 From: pcs at azizaz.com (Borge Hansen) Date: Fri, 25 Nov 2005 16:30:39 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime References: <8531E9A9B2ADC94994C25E0856C5663606D040@EXCHVS1.rail.nsw.gov.au> Message-ID: <002b01c5f189$c1230b00$fa10a8c0@Albatross> Finally reverted to the old, tried and tested frmSystem hidden form! As I walk the formatting of the main form and the two major subforms each having three subforms, by referencing / setting value of a 'flag' text control on the hidden frmSystem I can control the formatting and printing of the pageheader. (final output of report is saved as RTF file and further formatted in Word; found that a repeating groupheader label totally messes up the RTF file format, sometimes the groupheader appears in the middle of the page in between the rows of data, whereas according to the 'book' a repeating groupheader label should appear on top of the page.... not so; hence the need for formatting and controlling the printing of the pageheader depending on where in the report we are....) But, what am I missing for achieving the same using a global/public variable? ...hmmm maybe it's not a public variable that is needed but an object type of thing? ... perhaps a framework? ;) /borge ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Nov 25 10:16:58 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Nov 2005 10:16:58 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <19551780.1132900530264.JavaMail.root@sniper22> Message-ID: <000801c5f1db$a970c900$0200a8c0@danwaters> Borge, Have you tried declaring a Public variable at the top of a standard module? With this type of variable, it is always in scope and it always keeps its value. However, be very careful with this if you use that variable in multiple places in your database. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Friday, November 25, 2005 12:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime Finally reverted to the old, tried and tested frmSystem hidden form! As I walk the formatting of the main form and the two major subforms each having three subforms, by referencing / setting value of a 'flag' text control on the hidden frmSystem I can control the formatting and printing of the pageheader. (final output of report is saved as RTF file and further formatted in Word; found that a repeating groupheader label totally messes up the RTF file format, sometimes the groupheader appears in the middle of the page in between the rows of data, whereas according to the 'book' a repeating groupheader label should appear on top of the page.... not so; hence the need for formatting and controlling the printing of the pageheader depending on where in the report we are....) But, what am I missing for achieving the same using a global/public variable? ...hmmm maybe it's not a public variable that is needed but an object type of thing? ... perhaps a framework? ;) /borge ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, November 25, 2005 1:37 PM Subject: Re: [AccessD] Public Variables - Scope and Lifetime > If you declare it in both modules then you will have two variables! > > Decalre it in the main and reference it in the sub --- without thinking > me.parent.report.somethingorother.pbooletc > > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Friday, 25 November 2005 2:30 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Public Variables - Scope and Lifetime > > Hi all, > Please help me here, I am going nuts! > > How do I keep the value of a public variable between a Main Report class > module and Sub Report class module > > In the main report class module I have declared the variable: > > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > And Similar in the sub report class module: > Option Compare Database > Option Explicit > Public pboolPrintPageHeader as boolean > > > I just want a variable I can control the value of. When running the > report it switches between the subreport and the mainreport..... > > regards > /borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Nov 25 11:27:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 25 Nov 2005 11:27:40 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A2@main2.marlow.com> The code page behind a form or a report is a class module, not a standard module. The Public statement in a class module creates a property for that class. (instant Get and Let basically). The reason the 'value' isn't going to be shared between the two, is because the property is unique on the Report, and the sub report, so changing or setting it in one doesn't affect the other. What you need is to put your Global variables into a standard module. If I am going to use Global Variables in a project, I will create a module called modGlobalVariables, and declare all of my Global variables in there. Drew -----Original Message----- From: Borge Hansen [SMTP:pcs at azizaz.com] Sent: Thursday, November 24, 2005 9:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Public Variables - Scope and Lifetime Hi all, Please help me here, I am going nuts! How do I keep the value of a public variable between a Main Report class module and Sub Report class module In the main report class module I have declared the variable: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean And Similar in the sub report class module: Option Compare Database Option Explicit Public pboolPrintPageHeader as boolean I just want a variable I can control the value of. When running the report it switches between the subreport and the mainreport..... regards /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Nov 25 12:29:37 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 25 Nov 2005 13:29:37 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F8E@gbsserver.GBS.local> This is how I do it on forms.... create Properties Main form Module Level Variable (Top of form) Private m_bPrintPageHeader As Boolean Create Properties Public Property Get PrintPageHeader() As Boolean PrintPageHeader= m_bPrintPageHeader End Property Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property You can then access this information from the subform as such With Me.Parent If .PrintPageHeader = true then 'Do something End If Keep in mind the order in which the forms load... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, November 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) SNIP From iggy at nanaimo.ark.com Fri Nov 25 12:43:46 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Fri, 25 Nov 2005 10:43:46 -0800 Subject: [AccessD] Converting Access97 to 2000 to XP Message-ID: <43875B62.1050608@nanaimo.ark.com> Hey All Just a quick, probably dumb question. Are there major differences between Access2000 and AccessXP. I have converted an Access97.mdb application to Access2000 and everything runs/works fine. Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. My other option at this time is just to create a standalone self installing version of the Access97 program. Thanks From artful at rogers.com Fri Nov 25 13:47:18 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 25 Nov 2005 14:47:18 -0500 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: Message-ID: <200511251947.jAPJlLJ16009@databaseadvisors.com> I have scouted the archives and didn't find what I need, so I will risk your accusations that I don't know how to search efficiently, and ask the question.... I am working on an inherited app one of whose tables contains StartTime, StopTime and TravelTime, all of which are defined as datetime fields. The first two definitions I can live with; the last I deem idiotic. Q1: It has so far never occurred that StopTime occurs on the day following StartTime, so given the current data this is a mere subtraction. But I am unsure how to do it. What I wish to store is the number of minutes between StartTime and StopTime (and even better if the formula can anticipate that StopDay is > StartDay -- even though this has never happened). It seems to me that TravelTime should not be a DateTime field but rather an integer equivalent to the number of minutes. Thus, SubTotal on the given line equals StopTime - StartTime (expressed as minutes) + TravelTime (integer). So SubTotal (a concept if not an actual field) is expressed in minutes, which in turn are divided by BillingRate (expressed in hours, with a floor; i.e. minimum time = x hours, anything less gets bumped up to x; IOW, client bills for 4 hours (half a day) minimum. I can figure out these details once I have an accurate method of determining the number of minutes between Start and Stop. (There may be additional wrinkles, such as those imposed by cell-phone companies wherein the charge is per minute not per second, but that is trivial once I have the basics in place.) Q2: In the inherited app, travel time is recorded as a DateTime field. Bummer! Yeah, well, that is one reason among several why they called me in. So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes of travel time are to be added to the Subtotal. Thus another question: how to efficiently derive an integer of 30 from the datetime value 12:30am. I suppose I can grab the minutes portion; I am just asking if anyone can see any glaring errors in this assumption. (I know how to do this in SQL but I don't know how to do it in Access.) TIA, Arthur From robert at servicexp.com Fri Nov 25 14:22:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 25 Nov 2005 15:22:25 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F8F@gbsserver.GBS.local> Oops, you would need to of course close the property let ..... Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property End Property Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Friday, November 25, 2005 1:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime This is how I do it on forms.... create Properties Main form Module Level Variable (Top of form) Private m_bPrintPageHeader As Boolean Create Properties Public Property Get PrintPageHeader() As Boolean PrintPageHeader= m_bPrintPageHeader End Property Public Property Let LinkType(ByVal sPrintPageHeader As Boolean) m_bPrintPageHeader = sPrintPageHeader End Property You can then access this information from the subform as such With Me.Parent If .PrintPageHeader = true then 'Do something End If Keep in mind the order in which the forms load... Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, November 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime I first tried to use an unbound textcontrol on the main report, setting the value along the way, referencing the control me.txtControl or me.parent.txtcontrol However, didn't work...... So I thought: use a public variable. But how to prevent it going out of scope? If - as you say - I only have to declare a public variable once, like in the main report class module, how do I reference and set the value of the variable within the subreport class module? This is fundamental stuff, but I never got it (sigh!) in small font: /borge ;) SNIP -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri Nov 25 14:58:33 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 25 Nov 2005 14:58:33 -0600 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: <200511251947.jAPJlLJ16009@databaseadvisors.com> References: <200511251947.jAPJlLJ16009@databaseadvisors.com> Message-ID: Hi Arthur, I agree with your position on the use of a date/time field for the travel time. Date/time fields are made for points in time, not quantities of time. The statement to use to determine the difference between two date time fields is DATEDIFF. Unfortunately it doesn't seem to be in the HELP files anymore, but it still seems to work. You can get info on it here; http://www.techonthenet.com/access/functions/date/datediff.php Basically you would have a statement like this in a query.... TravelTime: DateDiff("n",[EndTime],[StartTime]) The "n" there means to return Minutes from the function. (M means MONTHS. See the list in that link for all the different operators you could use. You could also use the datediff function to solve your second question by calculating the difference in minutes between the old date/time based travel time field and the date stored in that field without the time which you can get with the DATEVALUE statement. So something like datediff("n",[TravelTime],datevalue([TravelTime]) would give you the number of minutes in travel time. Assuming I don't have the operands reversed which I have been known to do. DateValue used to be included in the help files too but I cannot find it now. Why I keep the A97 help files on my work system. Good luck straightening it out. Gary On 11/25/05, Arthur Fuller wrote: > I have scouted the archives and didn't find what I need, so I will risk your > accusations that I don't know how to search efficiently, and ask the > question.... > I am working on an inherited app one of whose tables contains StartTime, > StopTime and TravelTime, all of which are defined as datetime fields. The > first two definitions I can live with; the last I deem idiotic. > Q1: It has so far never occurred that StopTime occurs on the day following > StartTime, so given the current data this is a mere subtraction. But I am > unsure how to do it. What I wish to store is the number of minutes between > StartTime and StopTime (and even better if the formula can anticipate that > StopDay is > StartDay -- even though this has never happened). > It seems to me that TravelTime should not be a DateTime field but rather an > integer equivalent to the number of minutes. Thus, SubTotal on the given > line equals StopTime - StartTime (expressed as minutes) + TravelTime > (integer). So SubTotal (a concept if not an actual field) is expressed in > minutes, which in turn are divided by BillingRate (expressed in hours, with > a floor; i.e. minimum time = x hours, anything less gets bumped up to x; > IOW, client bills for 4 hours (half a day) minimum. > I can figure out these details once I have an accurate method of determining > the number of minutes between Start and Stop. (There may be additional > wrinkles, such as those imposed by cell-phone companies wherein the charge > is per minute not per second, but that is trivial once I have the basics in > place.) > Q2: In the inherited app, travel time is recorded as a DateTime field. > Bummer! Yeah, well, that is one reason among several why they called me in. > So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes > of travel time are to be added to the Subtotal. > Thus another question: how to efficiently derive an integer of 30 from the > datetime value 12:30am. I suppose I can grab the minutes portion; I am just > asking if anyone can see any glaring errors in this assumption. (I know how > to do this in SQL but I don't know how to do it in Access.) > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Fri Nov 25 15:04:53 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 25 Nov 2005 15:04:53 -0600 Subject: [AccessD] Converting Access97 to 2000 to XP In-Reply-To: <43875B62.1050608@nanaimo.ark.com> References: <43875B62.1050608@nanaimo.ark.com> Message-ID: Hi Tony, I don't think there are any stop the presses differences. I'd guess he is having issues with references for DAO. Does the application do anything with recordsets in code?? The references for DAO need to be put above the ones for ADO or the recordset references need be explicitly made for DAO or anything with recordsets will not work. I have users using the same databases without conversion on Access 2000, Acess XP and Access 2003. In fact on my work system where I have Access 2000 I develop applications that the A2003 users use without issues. Check for missing references first. GK On 11/25/05, Tony Septav wrote: > Hey All > Just a quick, probably dumb question. > Are there major differences between Access2000 and AccessXP. > I have converted an Access97.mdb application to Access2000 and > everything runs/works fine. > Sent the Access97.mdb to a friend (not a programmer or developer) to > convert to AccessXP and he is getting major errors when trying to run > the program. > My other option at this time is just to create a standalone self > installing version of the Access97 program. > > Thanks > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jmhecht at earthlink.net Fri Nov 25 15:07:04 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Fri, 25 Nov 2005 13:07:04 -0800 Subject: [AccessD] VS for Office and Access Extensions In-Reply-To: <000401c5f184$817b3680$6101a8c0@JISREGISTRATION.local> Message-ID: <001201c5f204$3096b020$6701a8c0@Hewlett> William, What are the developer extensions and how should I plan to work them into my database as I do not currently own VS for Office? Thanks Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 24, 2005 9:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VS for Office and Access Extensions ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William From wdhindman at bellsouth.net Fri Nov 25 15:59:11 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 25 Nov 2005 16:59:11 -0500 Subject: [AccessD] VS for Office and Access Extensions References: <001201c5f204$3096b020$6701a8c0@Hewlett> Message-ID: <000701c5f20b$7811c640$6101a8c0@JISREGISTRATION.local> ...they're just the packager and a couple of developer wizards that I've never used ...I bought it for the runtime licence but the VB.NET is proving interesting ...but that's another list, eh. William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Friday, November 25, 2005 4:07 PM Subject: Re: [AccessD] VS for Office and Access Extensions > William, > > What are the developer extensions and how should I plan to > work them into my database as I do not currently own VS for > Office? > > Thanks > > Joe Hecht > jmhecht at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > William Hindman > Sent: Thursday, November 24, 2005 9:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VS for Office and Access Extensions > > ...hhhmmm ...the Visual Studio Tools for the Microsoft > Office System > includes the Access 2003 Developer Extentions ...I don't > believe they are > available otherwise ...besides the packager, runtime > license, and a couple > of wizards, you get a copy of VB.NET and SQL Server 2000 > Developer Edition. > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Nov 25 16:19:04 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 25 Nov 2005 16:19:04 -0600 Subject: [AccessD] VS for Office and Access Extensions In-Reply-To: <12652055.1132953038024.JavaMail.root@sniper15> Message-ID: <000201c5f20e$3f1e4720$0200a8c0@danwaters> Joe, You can purchase Visual Studio Tools for Office separately. Go to: http://shopper.cnet.com/Microsoft_Visual_Studio_Tools_for_Office_2003_comple te_package/4014-8029_9-30599574.html It's about $290. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Friday, November 25, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VS for Office and Access Extensions William, What are the developer extensions and how should I plan to work them into my database as I do not currently own VS for Office? Thanks Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, November 24, 2005 9:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VS for Office and Access Extensions ...hhhmmm ...the Visual Studio Tools for the Microsoft Office System includes the Access 2003 Developer Extentions ...I don't believe they are available otherwise ...besides the packager, runtime license, and a couple of wizards, you get a copy of VB.NET and SQL Server 2000 Developer Edition. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Nov 25 17:32:34 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 25 Nov 2005 18:32:34 -0500 Subject: [AccessD] Date-Time Durations yet again In-Reply-To: Message-ID: <200511252332.jAPNWZJ11217@databaseadvisors.com> Thanks a million pesetas! I think your arguments were reversed, but one quick query that returned minus integers clarified that so I reversed them to: DateDiff("n",[StartTime],[StopTime]) Which produced the desired result -- the number of minutes between start and stop, expressed as a positive. A. P.S. It appears that this formula can also deal with StopTime.Date > StartTime.Date (loose syntax but I hope you get what I mean). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: November 25, 2005 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date-Time Durations yet again Hi Arthur, I agree with your position on the use of a date/time field for the travel time. Date/time fields are made for points in time, not quantities of time. The statement to use to determine the difference between two date time fields is DATEDIFF. Unfortunately it doesn't seem to be in the HELP files anymore, but it still seems to work. You can get info on it here; http://www.techonthenet.com/access/functions/date/datediff.php Basically you would have a statement like this in a query.... TravelTime: DateDiff("n",[EndTime],[StartTime]) The "n" there means to return Minutes from the function. (M means MONTHS. See the list in that link for all the different operators you could use. You could also use the datediff function to solve your second question by calculating the difference in minutes between the old date/time based travel time field and the date stored in that field without the time which you can get with the DATEVALUE statement. So something like datediff("n",[TravelTime],datevalue([TravelTime]) would give you the number of minutes in travel time. Assuming I don't have the operands reversed which I have been known to do. DateValue used to be included in the help files too but I cannot find it now. Why I keep the A97 help files on my work system. Good luck straightening it out. Gary On 11/25/05, Arthur Fuller wrote: > I have scouted the archives and didn't find what I need, so I will risk your > accusations that I don't know how to search efficiently, and ask the > question.... > I am working on an inherited app one of whose tables contains StartTime, > StopTime and TravelTime, all of which are defined as datetime fields. The > first two definitions I can live with; the last I deem idiotic. > Q1: It has so far never occurred that StopTime occurs on the day following > StartTime, so given the current data this is a mere subtraction. But I am > unsure how to do it. What I wish to store is the number of minutes between > StartTime and StopTime (and even better if the formula can anticipate that > StopDay is > StartDay -- even though this has never happened). > It seems to me that TravelTime should not be a DateTime field but rather an > integer equivalent to the number of minutes. Thus, SubTotal on the given > line equals StopTime - StartTime (expressed as minutes) + TravelTime > (integer). So SubTotal (a concept if not an actual field) is expressed in > minutes, which in turn are divided by BillingRate (expressed in hours, with > a floor; i.e. minimum time = x hours, anything less gets bumped up to x; > IOW, client bills for 4 hours (half a day) minimum. > I can figure out these details once I have an accurate method of determining > the number of minutes between Start and Stop. (There may be additional > wrinkles, such as those imposed by cell-phone companies wherein the charge > is per minute not per second, but that is trivial once I have the basics in > place.) > Q2: In the inherited app, travel time is recorded as a DateTime field. > Bummer! Yeah, well, that is one reason among several why they called me in. > So, given a DateTime value of 12:30AM, I take this to mean that 30 minutes > of travel time are to be added to the Subtotal. > Thus another question: how to efficiently derive an integer of 30 from the > datetime value 12:30am. I suppose I can grab the minutes portion; I am just > asking if anyone can see any glaring errors in this assumption. (I know how > to do this in SQL but I don't know how to do it in Access.) > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Nov 26 03:38:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 10:38:28 +0100 Subject: [AccessD] Converting Access97 to 2000 to XP Message-ID: Hi Tony Why not send him your A2000 version? Should run as is. /gustav >>> iggy at nanaimo.ark.com 25-11-2005 19:43:46 >>> Hey All Just a quick, probably dumb question. Are there major differences between Access2000 and AccessXP. I have converted an Access97.mdb application to Access2000 and everything runs/works fine. Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. My other option at this time is just to create a standalone self installing version of the Access97 program. Thanks From artful at rogers.com Sat Nov 26 08:51:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 09:51:57 -0500 Subject: [AccessD] Column Formulae In-Reply-To: <001201c5f204$3096b020$6701a8c0@Hewlett> Message-ID: <200511261452.jAQEq4J02609@databaseadvisors.com> In SQL, I can create a calculated column; i.e. ExtendedAmount = 1 + TaxRate * (Quantity * Price). Can I store said result in an actual column in Access (MDB)? Aside from the fact that it's not a good idea to store calculations in columns, I am retrofitting an existing db so I have limited choices here. I have toyed with the default value attribute but so far have not had success when attempting to reference other columns in the table. So let me pose the question as simply as I can. Given these columns: Quantity int Price currency Extended currency Is there a way to make the value of Extended = Quantity * Price? I do not want to do this in the front end. I want to do this in the table definition. TIA, Arthur From artful at rogers.com Sat Nov 26 09:06:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 10:06:52 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <002b01c5f189$c1230b00$fa10a8c0@Albatross> Message-ID: <200511261506.jAQF6xJ06504@databaseadvisors.com> You could also try the static function approach. For simple things like preservation of a variable, I tend to prefer this over a class declaration, but I don't want to start a war on this subject. A static function is also known as a get/set function, which means that you can either set the value or obtain it. If you pass a value in, that sets it; if you don't, that obtains it. For example: '--------------------------------------------------------------------------- ------------ ' Procedure : CurrentX ' DateTime : 04/09/2003 ' Author : Arthur Fuller ' Purpose : ' : Copy this template each time you need a new set/get function ' : Then Replace "X" with the name of your object, i.e.,"Employee" ' : Replace all in current proc and you're done. '--------------------------------------------------------------------------- ------------ ' Static Function CurrentX(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentTimeBilledID_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If On Error GoTo 0 Exit Function CurrentTimeBilledID_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentX of Module CurrentValues" End Function Given this template, you call the function in two ways: 1. SET: CurrentX( 123 ) 2. GET: CurrentX() 'returns 123 -------------------------------- Others do things in other ways. I often see apps that reference a specific form's controls in their queries, record sources and report arguments. I never do this. Instead I write a query such as: SELECT * FROM Orders WHERE CustomerID = CurrentCustomerID() Then I use that query in the report or form in question. The function CurrentCustomerID() is a clone of the code above, with CustomerID substituting for X. Suppose I have a button on a Customer form that should display the current orders for the selected Customer. I create the query as above, then build the report on it. In the OnCurrent event of said Customer form, I write: CurrentCustomerID( Me.CustomerID ) I do it this way so that any button that invokes any process (related form, report, query, whatever) knows the value of CurrentCustomerID(). An additional benefit of this approach is that all these components do not depend on some form being open and its values set. Instead I can go into the debug window, for example, set the value of CurrentCustomerID() and then run any query or report I want. This appeals to me. HTH, Arthur From Gustav at cactus.dk Sat Nov 26 09:11:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 16:11:19 +0100 Subject: [AccessD] Column Formulae Message-ID: Hi Arthur I don't think you have any other option than using a query which includes your calculated field. Whenever you need data from that table use the query as source. /gustav >>> artful at rogers.com 26-11-2005 15:51:57 >>> In SQL, I can create a calculated column; i.e. ExtendedAmount = 1 + TaxRate * (Quantity * Price). Can I store said result in an actual column in Access (MDB)? Aside from the fact that it's not a good idea to store calculations in columns, I am retrofitting an existing db so I have limited choices here. I have toyed with the default value attribute but so far have not had success when attempting to reference other columns in the table. So let me pose the question as simply as I can. Given these columns: Quantity int Price currency Extended currency Is there a way to make the value of Extended = Quantity * Price? I do not want to do this in the front end. I want to do this in the table definition. TIA, Arthur From martyconnelly at shaw.ca Sat Nov 26 10:45:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 26 Nov 2005 08:45:23 -0800 Subject: [AccessD] Converting Access97 to 2000 to XP References: Message-ID: <43889123.9040708@shaw.ca> You may still have a reference pointing to DAO 3.51 from 97 whereas his machine only has DAO 3.6 Sending him the working 2000 program after checking this reference in 2000 should get around any problems like this He should be able to run the 2000 program without any conversion unless he wants to take advantage of new methods added in XP like the printer object. Gustav Brock wrote: >Hi Tony > >Why not send him your A2000 version? Should run as is. > >/gustav > > > >>>>iggy at nanaimo.ark.com 25-11-2005 19:43:46 >>> >>>> >>>> >Hey All >Just a quick, probably dumb question. >Are there major differences between Access2000 and AccessXP. >I have converted an Access97.mdb application to Access2000 and everything runs/works fine. >Sent the Access97.mdb to a friend (not a programmer or developer) to convert to AccessXP and he is getting major errors when trying to run the program. >My other option at this time is just to create a standalone self installing version of the Access97 program. > >Thanks > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Nov 26 10:50:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 26 Nov 2005 08:50:53 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime References: <000801c5f1db$a970c900$0200a8c0@danwaters> Message-ID: <4388926D.5030804@shaw.ca> If you go into Debug mode with global variables. They maybe reset or lose their values.. Dan Waters wrote: >Borge, > >Have you tried declaring a Public variable at the top of a standard module? > > >With this type of variable, it is always in scope and it always keeps its >value. > >However, be very careful with this if you use that variable in multiple >places in your database. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >Sent: Friday, November 25, 2005 12:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > >Finally reverted to the old, tried and tested frmSystem hidden form! >As I walk the formatting of the main form and the two major subforms each >having >three subforms, by referencing / setting value of a 'flag' text control on >the >hidden frmSystem I can control the formatting and printing of the >pageheader. >(final output of report is saved as RTF file and further formatted in Word; >found that a repeating groupheader label totally messes up the RTF file >format, >sometimes the groupheader appears in the middle of the page in between the >rows >of data, whereas according to the 'book' a repeating groupheader label >should >appear on top of the page.... not so; hence the need for formatting and >controlling the printing of the pageheader depending on where in the report >we >are....) > >But, what am I missing for achieving the same using a global/public >variable? > >...hmmm maybe it's not a public variable that is needed but an object type >of >thing? > >... perhaps a framework? > >;) > >/borge > >----- Original Message ----- >From: "Bruen, Bruce" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 25, 2005 1:37 PM >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > > > >>If you declare it in both modules then you will have two variables! >> >>Decalre it in the main and reference it in the sub --- without thinking >>me.parent.report.somethingorother.pbooletc >> >>Hth >>bruce >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >>Sent: Friday, 25 November 2005 2:30 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Public Variables - Scope and Lifetime >> >>Hi all, >>Please help me here, I am going nuts! >> >>How do I keep the value of a public variable between a Main Report class >>module and Sub Report class module >> >>In the main report class module I have declared the variable: >> >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >>And Similar in the sub report class module: >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >> >>I just want a variable I can control the value of. When running the >>report it switches between the subreport and the mainreport..... >> >>regards >>/borge >> >> >>-- >> -- Marty Connelly Victoria, B.C. Canada From iggy at nanaimo.ark.com Sat Nov 26 11:23:15 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Sat, 26 Nov 2005 09:23:15 -0800 Subject: [AccessD] Converting Message-ID: <43889A03.4040008@nanaimo.ark.com> Hey Gary, Gustav and Marty Thank you for your responses. I used the converted Access2000 version and made sure all the Database and Recordet references were prefixed with DAO and sent him both an mdb and mde version and everything seems to be working fine. I am correct in my assumption that with Access versions later than 97, one would use DAO on a small applications (a few users) or when speed is required and ADO for server systems and SQL backends. From DWUTKA at marlow.com Sat Nov 26 12:42:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 12:42:23 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. Dan Waters wrote: >Borge, > >Have you tried declaring a Public variable at the top of a standard module? > > >With this type of variable, it is always in scope and it always keeps its >value. > >However, be very careful with this if you use that variable in multiple >places in your database. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >Sent: Friday, November 25, 2005 12:31 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > >Finally reverted to the old, tried and tested frmSystem hidden form! >As I walk the formatting of the main form and the two major subforms each >having >three subforms, by referencing / setting value of a 'flag' text control on >the >hidden frmSystem I can control the formatting and printing of the >pageheader. >(final output of report is saved as RTF file and further formatted in Word; >found that a repeating groupheader label totally messes up the RTF file >format, >sometimes the groupheader appears in the middle of the page in between the >rows >of data, whereas according to the 'book' a repeating groupheader label >should >appear on top of the page.... not so; hence the need for formatting and >controlling the printing of the pageheader depending on where in the report >we >are....) > >But, what am I missing for achieving the same using a global/public >variable? > >...hmmm maybe it's not a public variable that is needed but an object type >of >thing? > >... perhaps a framework? > >;) > >/borge > >----- Original Message ----- >From: "Bruen, Bruce" >To: "Access Developers discussion and problem solving" > >Sent: Friday, November 25, 2005 1:37 PM >Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > > > >>If you declare it in both modules then you will have two variables! >> >>Decalre it in the main and reference it in the sub --- without thinking >>me.parent.report.somethingorother.pbooletc >> >>Hth >>bruce >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen >>Sent: Friday, 25 November 2005 2:30 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Public Variables - Scope and Lifetime >> >>Hi all, >>Please help me here, I am going nuts! >> >>How do I keep the value of a public variable between a Main Report class >>module and Sub Report class module >> >>In the main report class module I have declared the variable: >> >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >>And Similar in the sub report class module: >>Option Compare Database >>Option Explicit >>Public pboolPrintPageHeader as boolean >> >> >>I just want a variable I can control the value of. When running the >>report it switches between the subreport and the mainreport..... >> >>regards >>/borge >> >> >>-- >> -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Nov 26 13:00:47 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 26 Nov 2005 20:00:47 +0100 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: Hi Drew That's right, but perhaps you should mention that you _stop_ the code by the command END. Command STOP only pauses it ... /gustav >>> DWUTKA at marlow.com 26-11-2005 19:42:23 >>> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. From artful at rogers.com Sat Nov 26 15:46:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 16:46:24 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Message-ID: <200511262146.jAQLkQJ01968@databaseadvisors.com> Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew From stuart at lexacorp.com.pg Sat Nov 26 18:47:58 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 27 Nov 2005 10:47:58 +1000 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <200511262146.jAQLkQJ01968@databaseadvisors.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1A4@main2.marlow.com> Message-ID: <43898EDE.16841.17929AD3@stuart.lexacorp.com.pg> On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest End Function -- Stuart From artful at rogers.com Sat Nov 26 21:41:26 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 26 Nov 2005 22:41:26 -0500 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <43898EDE.16841.17929AD3@stuart.lexacorp.com.pg> Message-ID: <200511270341.jAR3fOJ05680@databaseadvisors.com> Okay... Since I never use globals, I decided to write a tester to verify your assertion. Option Compare Database Option Explicit Global gstrTest As String Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop Call Proc1 MsgBox gstrTest Call Proc2 End Function Private Sub Proc1() MsgBox gstrTest, vbOKOnly, "Proc1" Stop End Sub Private Sub Proc2() MsgBox gstrTest, vbOKOnly, "Proc2" Stop End Sub Which leads me to wonder what Drew meant in the foregoing message: "Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared." Just to make sure, at each STOP statement, I went into the Debug window and entered "Debug.Print gstrTest" and obtained the expected result. So in this respect, it would appear that globals and statics are equivalent. So then what was Drew getting at? I could easily be missing the point; it certainly wouldn't be the first time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: November 26, 2005 7:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest End Function -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:27:19 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:27:19 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A5@main2.marlow.com> Or pressing the stop button. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Saturday, November 26, 2005 1:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Hi Drew That's right, but perhaps you should mention that you _stop_ the code by the command END. Command STOP only pauses it ... /gustav >>> DWUTKA at marlow.com 26-11-2005 19:42:23 >>> Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -----Original Message----- From: MartyConnelly [SMTP:martyconnelly at shaw.ca] Sent: Saturday, November 26, 2005 10:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime If you go into Debug mode with global variables. They maybe reset or lose their values.. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:32:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:32:18 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A6@main2.marlow.com> Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Nov 26 23:36:49 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 26 Nov 2005 23:36:49 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1A7@main2.marlow.com> End. I wasn't referring to the stop statement, but actually stopping the execution of your code. When Access is running, your code is 'running'. The best way to give an example of this, is if you run VB 6. Pressing the 'play' button in VB6, runs your code in debug mode. Startup processes run (first form loads, or Sub Main() runs). If you press the stop button (the square button), or run into an END statement, your entire project unloads. Forms close/shutdown, variables clear, memory is returned to the system, etc. Access doesn't close your forms. It doesn't do this, because with Access you are running two processes, one is the code, one is the .mdb in the Access window. If the code is stopped (execution ended), all variables are reset, and memory is returned to the system. However, the Access project is not unloaded. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 9:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Okay... Since I never use globals, I decided to write a tester to verify your assertion. Option Compare Database Option Explicit Global gstrTest As String Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop Call Proc1 MsgBox gstrTest Call Proc2 End Function Private Sub Proc1() MsgBox gstrTest, vbOKOnly, "Proc1" Stop End Sub Private Sub Proc2() MsgBox gstrTest, vbOKOnly, "Proc2" Stop End Sub Which leads me to wonder what Drew meant in the foregoing message: "Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared." Just to make sure, at each STOP statement, I went into the Debug window and entered "Debug.Print gstrTest" and obtained the expected result. So in this respect, it would appear that globals and statics are equivalent. So then what was Drew getting at? I could easily be missing the point; it certainly wouldn't be the first time. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: November 26, 2005 7:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Public Variables - Scope and Lifetime On 26 Nov 2005 at 16:46, Arthur Fuller wrote: > Your reply made me decide to test static functions against a STOP, which I > have never done before. > Turns out that static values are preserved despite a STOP. Code follows. No different to a global variable, this works the same way: Function TestGlobal() As Long gstrTest = "This is a test" MsgBox gstrTest Stop MsgBox gstrTest 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 martyconnelly at shaw.ca Sun Nov 27 11:38:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 27 Nov 2005 09:38:22 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime References: <17724746D360394AA3BFE5B8D40A9C1BD1A6@main2.marlow.com> Message-ID: <4389EF0E.8070106@shaw.ca> Actually it resets the value of a data type to it's default value A Long would be reset to 0 A Date would be reset to 31/12/1899 12:00:00 AM Try it with an Err.Raise=13 Then after running check global value in debug window DWUTKA at marlow.com wrote: >Change the stop to an End. Stop only 'pauses' the code, it doesn't stop >it's execution. End clears the value, just as it would with a global >variable. > >Drew > > -----Original Message----- > From: Arthur Fuller [SMTP:artful at rogers.com] > Sent: Saturday, November 26, 2005 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > Your reply made me decide to test static functions against a STOP, >which I > have never done before. > Turns out that static values are preserved despite a STOP. Code >follows. > Place this in a new module: > > Static Function CurrentValue(Optional lngNew As Long) As Long > > Dim lngCurrent As Long > On Error GoTo CurrentValue_Error > > If lngNew <> 0 Then lngCurrent = lngNew > CurrentValue = lngCurrent > #If conDebug = 1 Then > Debug.Print "Current Value: ", CurrentValue > #End If > > On Error GoTo 0 > Exit Function > > CurrentValue_Error: > MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & >vbCrLf & _ > "in procedure CurrentValue of Module CurrentValues" > > End Function > Place this in a new module: > > Option Compare Database > Option Explicit > > Sub TestPersistence() > CurrentValue (123) > MsgBox "Current value is: " & CurrentValue(), vbInformation + >vbOKOnly, > "Test Persistence of Static Values" > Stop > MsgBox "Current value is: " & CurrentValue() > End Sub > > Compile, then run the sub above. At the STOP, hit F5 to continue. >The moral > of the story is that if you want values to persist beyond a STOP, >use static > functions. > Arthur > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >DWUTKA at marlow.com > Sent: November 26, 2005 1:42 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Public Variables - Scope and Lifetime > > Ugh....not this again! LOL. Marty, that is not what happens. If >you STOP > your code, then everything gets reset. That does include your >global > variables. It's not a maybe, and they don't 'lose' their values, >the code > is stopped. It is just like stopping an .exe, all values in memory >are > cleared. The difference is, with Access, that the Access Shell >didn't stop, > and as soon as you do something requiring code, Access starts it all >up > again, and so your Globals will be reset. > It's not a wishy washy thing, it is just how the code works. > Drew > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Mon Nov 28 08:49:08 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 28 Nov 2005 08:49:08 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD874@corp-es01.fleetpride.com> In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Mon Nov 28 13:05:33 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 13:05:33 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1B5@main2.marlow.com> No. Handled errors do not clear global variables. Unhandled errors where the user clicks 'end' will clear ALL variables. Drew -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Monday, November 28, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Nov 28 13:28:17 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 28 Nov 2005 11:28:17 -0800 Subject: [AccessD] Public Variables - Scope and Lifetime In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1B5@main2.marlow.com> Message-ID: <006301c5f451$e26d7640$017ba8c0@xpserver> Agreed... My two cents worth says every function or class should manage their errors; macros should not be used (very very rarely) then only a hard down can stop the application. At that point the loss of global variables is moot. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 28, 2005 11:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime No. Handled errors do not clear global variables. Unhandled errors where the user clicks 'end' will clear ALL variables. Drew -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Monday, November 28, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime In this context what does division by zero do? (ie on error resume next; x=x/0; ) Does it have the same effect as an End? As I recall (but this was from a discussion looong ago) all globals are cleared with this error. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Saturday, November 26, 2005 11:32 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Change the stop to an End. Stop only 'pauses' the code, it doesn't stop it's execution. End clears the value, just as it would with a global variable. Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Saturday, November 26, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Public Variables - Scope and Lifetime Your reply made me decide to test static functions against a STOP, which I have never done before. Turns out that static values are preserved despite a STOP. Code follows. Place this in a new module: Static Function CurrentValue(Optional lngNew As Long) As Long Dim lngCurrent As Long On Error GoTo CurrentValue_Error If lngNew <> 0 Then lngCurrent = lngNew CurrentValue = lngCurrent #If conDebug = 1 Then Debug.Print "Current Value: ", CurrentValue #End If On Error GoTo 0 Exit Function CurrentValue_Error: MsgBox "Error " & Err.Number & " (" & Err.Description & ")" & vbCrLf & _ "in procedure CurrentValue of Module CurrentValues" End Function Place this in a new module: Option Compare Database Option Explicit Sub TestPersistence() CurrentValue (123) MsgBox "Current value is: " & CurrentValue(), vbInformation + vbOKOnly, "Test Persistence of Static Values" Stop MsgBox "Current value is: " & CurrentValue() End Sub Compile, then run the sub above. At the STOP, hit F5 to continue. The moral of the story is that if you want values to persist beyond a STOP, use static functions. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: November 26, 2005 1:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Public Variables - Scope and Lifetime Ugh....not this again! LOL. Marty, that is not what happens. If you STOP your code, then everything gets reset. That does include your global variables. It's not a maybe, and they don't 'lose' their values, the code is stopped. It is just like stopping an .exe, all values in memory are cleared. The difference is, with Access, that the Access Shell didn't stop, and as soon as you do something requiring code, Access starts it all up again, and so your Globals will be reset. It's not a wishy washy thing, it is just how the code works. Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathrynatgwens at socal.rr.com Mon Nov 28 14:23:43 2005 From: kathrynatgwens at socal.rr.com (KathrynAtGwens) Date: Mon, 28 Nov 2005 12:23:43 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: Message-ID: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Gwen just got a new laptop and I'm installing all her programs, including MS Office 2003 pro. She has one .mdb that she used all the time and the file itself resides on the server. When accessing from the desktop, it opens just fine. But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? If I click on no, then it says "This file may not be safe if it contains code that was intended tohard your computer. Do you want to open this file or cancel the operation?" So, what option needs to be changed so I don't get that warning. I'm assuming it's something that needs changing since both computers are using same version and opening the same file. -- Kathryn Bassett (at work address) kathrynatgwens at socal.rr.com kathryn at bassett.net (home) From john at winhaven.net Mon Nov 28 14:42:40 2005 From: john at winhaven.net (John Bartow) Date: Mon, 28 Nov 2005 14:42:40 -0600 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Message-ID: <010701c5f45c$46d7e610$7a01a8c0@ScuzzPaq> Hi Kathryn, It's the irritating new security feature MS put in A2k3. Turn it off by clicking: Tools | Macro | Security | set to Low HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of KathrynAtGwens But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? So, what option needs to be changed so I don't get that warning. From papparuff at comcast.net Mon Nov 28 15:00:19 2005 From: papparuff at comcast.net (John Ruff) Date: Mon, 28 Nov 2005 13:00:19 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <200511282026.jASKQgmI013681@ms-smtp-03-eri0.socal.rr.com> Message-ID: <002601c5f45e$bf01b330$6501a8c0@DDMJWX41> You need to change the Security Setting for Access (and Word and Excel) if you don't want to get this warning anymore. 1. Open any Access database. 2. From the Top-Line Menu, select Tools > Macro > Security 3. Change the Security Level to Low. That's it. John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of KathrynAtGwens Sent: Monday, November 28, 2005 12:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] What "option" needs fixing? Gwen just got a new laptop and I'm installing all her programs, including MS Office 2003 pro. She has one .mdb that she used all the time and the file itself resides on the server. When accessing from the desktop, it opens just fine. But every time it opens from the laptop, we get: Security Warning: Unsafe expressions are not blocked. Do you want to block unsafe expressions? If I click on no, then it says "This file may not be safe if it contains code that was intended tohard your computer. Do you want to open this file or cancel the operation?" So, what option needs to be changed so I don't get that warning. I'm assuming it's something that needs changing since both computers are using same version and opening the same file. -- Kathryn Bassett (at work address) kathrynatgwens at socal.rr.com kathryn at bassett.net (home) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Mon Nov 28 15:13:10 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 28 Nov 2005 13:13:10 -0800 Subject: [AccessD] Access To HTML To PDF II In-Reply-To: Message-ID: just in case this went unnoticed during the holiday, I will post again. Hello to the list, My client wishes me to export some data and graphs to PDF with some menus and buttons to allow the user to navigate within the PDF. His prototype, using HTML with text and graphs pasted in, works just fine when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, take me to the right location in the document. How can I do this automatically from Access? The excel graphs are not so much a problem, it's the navigation buttons. Preferably without the html. Access reports and forms don't seem to allow other than static (no buttons) output to PDF. TIA bob heygood -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tripledee at bigpond.com Mon Nov 28 15:49:40 2005 From: tripledee at bigpond.com (Darren DICK) Date: Tue, 29 Nov 2005 08:49:40 +1100 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: <20051128214635.XOFY18661.omta02sl.mx.bigpond.com@CRHLAPREGAN> Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren From Donald.A.McGillivray at sprint.com Mon Nov 28 16:01:20 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Mon, 28 Nov 2005 16:01:20 -0600 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: Darren, Try using Excel's conditional formatting. It allows only three conditions to be tested, but should work for this. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, November 28, 2005 1:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] WAY OT:Excel Formatting Q Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Nov 28 16:03:27 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 29 Nov 2005 11:03:27 +1300 Subject: [AccessD] Who Has adp/ade open? Message-ID: <7.0.0.16.0.20051129105929.01a41728@dalyn.co.nz> I am trying to identify what users have a database open. adp's don't seem to have an ldb file (presumably because they use SQL and not Jet). Apart from looking at the current activity in SQL management, is there any other way of finding out who has an adp or ade open? Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua New Zealand 6006 Phone 0064 4 235-6782 Fax 0064 4 235-6783 From KIsmert at texassystems.com Mon Nov 28 16:36:32 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 28 Nov 2005 16:36:32 -0600 Subject: [AccessD] Public Variables - Scope and Lifetime Message-ID: Jim, >> In this context what does division by zero do? ... >> on error resume next: x=x/0 >> As I recall ... all globals are cleared with this error. It first depends on whether you have error handling setup in your code. In this case, you do (on error resume next), so your global context is maintained. Of course, it also depends on your Error Handling options. If set to Break on All Errors, you will get an error message regardless of the error handling you have setup, and your global context will be reset. I have mine set to Break on Unhandled Errors, which respects the in-code error handling. -Ken From martyconnelly at shaw.ca Mon Nov 28 16:47:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 28 Nov 2005 14:47:53 -0800 Subject: [AccessD] Access To HTML To PDF II References: Message-ID: <438B8919.7010100@shaw.ca> I haven't got the ADOBE SDK that runs with the full version of ADOBE AcroBAT this includes the api code. It costs an extra $99. Obtain from http://partners.adobe.com/public/developer/acrobat/devcenter.html You can view for free any documentation without the padlock icon Maybe with something like this. You can do what you are looking for http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/javascript/VBJavaScript.pdf But with the SDK you can fill PDF form fields from Access with something like Sub simpleactpdf() Dim oTK As Object Dim r As Long Dim sInputFile As String sInputFile = "C:\Access files\PDF Forms\sample.pdf" Set oTK = CreateObject("APToolkit.Object") oTK.OpenOutputFile ("C:\Access files\PDF Forms\myoutsample.pdf") 'If numberOfCharacters <= templateOneMax Then r = oTK.OpenInputFile(sInputFile) r = oTK.SetFormFieldData("First_Name", "Wierddata", 0) r = oTK.CopyForm(0, 0) oTK.CloseOutputFile End Sub Also there is a VB/Forms API that allows button creation if you dont have the SDK, you might find something here in the forums http://www.planetpdf.com/ I have only messed around with bookmarks and opening pdf's from access at a specific bookmark Sub RunAdobe() 'for options see ' http://partners.adobe.com/asn/acrobat/sdk/public/docs/PDFOpenParams.pdf Dim intRet As Integer Dim intPage As Integer Dim strPDF As String Dim strCommandLine As String intPage = 1 strPDF = """C:\records management\aircanadacasestudy.pdf""" ' strPDF = """C:\Documents and Settings\marty\My Documents\My Pictures\VS.tif""" ' Adobe will also open a tiff image strCommandLine = """C:\Program Files\Adobe\Acrobat 6.0\Reader\AcroRd32.exe""" & _ " /A " & "page=" & intPage & "&zoom=50,250,100 " & strPDF Debug.Print strCommandLine intRet = Shell(strCommandLine, vbMaximizedFocus) End Sub Bob Heygood wrote: >just in case this went unnoticed during the holiday, I will post again. > > >Hello to the list, > >My client wishes me to export some data and graphs to PDF with some menus >and buttons to allow the user to navigate within the PDF. > >His prototype, using HTML with text and graphs pasted in, works just fine >when I convert to PDF with Adobe Acrobat Pro 7. The buttons when pressed, >take me to the right location in the document. > >How can I do this automatically from Access? The excel graphs are not so >much a problem, it's the navigation buttons. > >Preferably without the html. > >Access reports and forms don't seem to allow other than static (no buttons) >output to PDF. > >TIA > >bob heygood > > > > >-- >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 Jim.Hale at FleetPride.com Mon Nov 28 16:59:20 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 28 Nov 2005 16:59:20 -0600 Subject: [AccessD] WAY OT:Excel Formatting Q Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> Under format select conditional formatting. The wizard will show you how to do what you want to whatever cells you have highlighted. Jim Hale -----Original Message----- From: Darren DICK [mailto:tripledee at bigpond.com] Sent: Monday, November 28, 2005 3:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] WAY OT:Excel Formatting Q Hi all I apologise for the OT So feel free to respond to my personal email if you wish I am setting up an excel document that has a column that records pass/fail/not tested - Only 1 of 3 possibilities What I want is the default to be "Not tested" and the backcolour of that cell to be say...orange The... If a user types F or Fail or fail I want the backcolour to go red If a user types P or Pass or pass I want the backcolour to go green In access I would write a function something like this F_SetBackColour(strControlName as string, strControlValue as string) select case strControlValue Case "F" or "fail" or "fail" Forms!someForm(strControlName).backcolor = 255 Case "P" or "Pass" or "pass" Forms!someForm(strControlName).backcolor = vbGreen Case Else Forms!someForm(strControlName).backcolor = vbOrange end select End function And in the after update of each relevant control I would have something like Private sub SomeControl_AfterUpdate() F_SetBackColour(me.currentControl, me.currentControl.value) End sub To achieve this in Excel what would I have to do? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From artful at rogers.com Mon Nov 28 19:57:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 28 Nov 2005 20:57:48 -0500 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> Message-ID: <200511290157.jAT1vjJ26046@databaseadvisors.com> 10. Yeah, yeah, yeah, you created the universe, but what have you done for me lately? The other nine invited. A. From kathryn at bassett.net Mon Nov 28 20:05:42 2005 From: kathryn at bassett.net (Kathryn Bassett) Date: Mon, 28 Nov 2005 18:05:42 -0800 Subject: [AccessD] What "option" needs fixing? In-Reply-To: <010701c5f45c$46d7e610$7a01a8c0@ScuzzPaq> Message-ID: <20051128180547.BAD9884B@dm18.mta.everyone.net> Thanks John B and John R. Kathryn From newsgrps at dalyn.co.nz Mon Nov 28 20:17:52 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 29 Nov 2005 15:17:52 +1300 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates In-Reply-To: <200511290157.jAT1vjJ26046@databaseadvisors.com> References: <6A6AA9DF57E4F046BDA1E273BDDB67727DD877@corp-es01.fleetpride.com> <200511290157.jAT1vjJ26046@databaseadvisors.com> Message-ID: <7.0.0.16.0.20051129151721.01b4a840@dalyn.co.nz> 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done for >me lately? >The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Nov 28 20:35:59 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 20:35:59 -0600 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1BE@main2.marlow.com> 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done for >me lately? >The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Nov 28 20:44:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 28 Nov 2005 21:44:23 -0500 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1BE@main2.marlow.com> Message-ID: <005d01c5f48e$cf1747f0$667aa8c0@ColbyM6805> 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 28 20:48:58 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 20:48:58 -0600 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa y When YouArrive at the Pearly Gates Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1BF@main2.marlow.com> 6. What does the down arrow mean under the sign 'For Bounders and Natural Key Users'??? Sorry, couldn't resist! Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 28, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 28 22:14:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 28 Nov 2005 20:14:16 -0800 (PST) Subject: [AccessD] Sending Email via Code Message-ID: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From DWUTKA at marlow.com Mon Nov 28 22:16:22 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 28 Nov 2005 22:16:22 -0600 Subject: [AccessD] Sending Email via Code Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1C0@main2.marlow.com> ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Nov 28 23:17:57 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 28 Nov 2005 21:17:57 -0800 (PST) Subject: [AccessD] Sending Email via Code In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1C0@main2.marlow.com> Message-ID: <20051129051757.64120.qmail@web33101.mail.mud.yahoo.com> Thanks a million Drew. DWUTKA at marlow.com wrote: ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Tue Nov 29 00:05:54 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 28 Nov 2005 22:05:54 -0800 Subject: [AccessD] Sending Email via Code References: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Message-ID: <438BEFC2.6080707@shaw.ca> You could try blat from a command line and shell http://www.blat.net/ I use this one has certain restictions see comments 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, and your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Another method http://freevbcode.com/ShowCode.Asp?ID=109 Lonnie Johnson wrote: >Is there a way to send email via code without invoking outlook? > >I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. > > I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Tue Nov 29 01:18:48 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 29 Nov 2005 17:18:48 +1000 Subject: [AccessD] Sending Email via Code In-Reply-To: <438BEFC2.6080707@shaw.ca> Message-ID: <438C8D78.23590.234523E6@stuart.lexacorp.com.pg> On 28 Nov 2005 at 22:05, MartyConnelly wrote: > You could try blat from a command line and shell > http://www.blat.net/ > Or Blat.dll from http://www.geocities.com/toby_korn/blat/ -- Stuart From DWUTKA at marlow.com Tue Nov 29 02:04:28 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 02:04:28 -0600 Subject: [AccessD] Sending Email via Code Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1C2@main2.marlow.com> No problem. Forgot to mention that ASPEmail has two 'versions'. There is a free one, and a 'pro' one. The free one will do almost anything you want to do as far as sending normal email. The pro one has some neat features, but I have never needed them, so I am still using the free one myself. One of the features which may be nice, but not necessary for me is email 'queueing' (SP?), where the code sends the emails to a service which will keep trying to send the email, that's nice if you are doing batch emails, but for one time shots, which aren't happening a hundred times a minute, it works just fine with the free version. Let me know if you need sample code, if I remember right, the instructions actually give you sample VB code. Drew -----Original Message----- From: Lonnie Johnson [SMTP:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 11:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sending Email via Code Thanks a million Drew. DWUTKA at marlow.com wrote: ASPEmail by Persits Software works pretty well, just needs an SMTP server. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Monday, November 28, 2005 10:14 PM To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Tue Nov 29 02:27:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 29 Nov 2005 08:27:15 -0000 Subject: [AccessD] Sending Email via Code In-Reply-To: <20051129041416.32799.qmail@web33110.mail.mud.yahoo.com> Message-ID: Lonnie, You could try using vbSendMail.dll, it's a dll that sends mail only (will need to know the name of your SMTP Server)....but is very simple to use and free. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: 29 November 2005 04:14 To: AccessD solving' Subject: [AccessD] Sending Email via Code Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. I am needing more than the SendObject also because I am exporting two queries into one one file to create two excel sheets in a workbook. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Nov 29 04:54:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 29 Nov 2005 11:54:16 +0100 Subject: [AccessD] Sending Email via Code Message-ID: Hi Lonnie If the machines run WinXP the cdoex.dll is present. That will do: Public Sub SendCdoMsg() Dim msg As New CDO.Message With msg With .Configuration.Fields .Item(cdoSMTPAuthenticate) = cdoAnonymous .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "smtp.yourisp.com" .Item(cdoSMTPConnectionTimeout) = 10 .Item(cdoSMTPServerPort) = 25 .Update End With .Organization = "yourcompany.com" .To = "someone at example.org" .Subject = "Example subject" .TextBody = "Example body" .From = "you at yourcompany.com" .Send End With Set msg = Nothing End Sub /gustav >>> prodevmg at yahoo.com 29-11-2005 05:14:16 >>> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. From Jim.Hale at FleetPride.com Tue Nov 29 08:36:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 29 Nov 2005 08:36:14 -0600 Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD878@corp-es01.fleetpride.com> 9. I forgot to bring the Bill Gates autograph you wanted. -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, November 28, 2005 7:58 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 10. Yeah, yeah, yeah, you created the universe, but what have you done for me lately? The other nine invited. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darsant at gmail.com Tue Nov 29 09:01:59 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 09:01:59 -0600 Subject: [AccessD] Recreating relational data in code with one-pass readthrough Message-ID: <53c8e05a0511290701h980ec15w8b26b09b178da338@mail.gmail.com> Well, I'm faced with having to input data into a C++ program from one of the Access databases. I've got our database library working, and can run and return recordsets and pull data from them. However, my problem is I can only have one recordset / query open at a time, and so I come to a decision (I'm campaigning for them to get a new database library, but at the moment we're stuck with the single-recordset issues) If I need to recreate objects using relationship data from various tables, anyone have any resources on the best way to do this while only passing through the data once? I've got an idea on where to start but looking to see if anyone else has faced the same issues. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From mboyd at deloitte.com Tue Nov 29 12:02:13 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 29 Nov 2005 13:02:13 -0500 Subject: [AccessD] Cycle thru All Tables in DB Message-ID: I'm sure this is possible, but have never coded it. I have 50 tables, each containing 50 fields. Some of the fields contain empty strings. I need to cycle thru every table, and update all empty strings to null. Is there a way to cycle thru each table, and cycle thru each field record by record, and update to null where necessary? I want to avoid using specific table and field names. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From prodevmg at yahoo.com Tue Nov 29 12:32:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 10:32:16 -0800 (PST) Subject: [AccessD] Sending Email via Code In-Reply-To: Message-ID: <20051129183216.73238.qmail@web33109.mail.mud.yahoo.com> Thanks guys. I actually ended using the sendmail method of the .ActiveWorkbook object. I was able to use this and have the excel sheet send itself to who I wanted to. Gustav Brock wrote: Hi Lonnie If the machines run WinXP the cdoex.dll is present. That will do: Public Sub SendCdoMsg() Dim msg As New CDO.Message With msg With .Configuration.Fields .Item(cdoSMTPAuthenticate) = cdoAnonymous .Item(cdoSendUsingMethod) = cdoSendUsingPort .Item(cdoSMTPServer) = "smtp.yourisp.com" .Item(cdoSMTPConnectionTimeout) = 10 .Item(cdoSMTPServerPort) = 25 .Update End With .Organization = "yourcompany.com" .To = "someone at example.org" .Subject = "Example subject" .TextBody = "Example body" .From = "you at yourcompany.com" .Send End With Set msg = Nothing End Sub /gustav >>> prodevmg at yahoo.com 29-11-2005 05:14:16 >>> Is there a way to send email via code without invoking outlook? I have an application that may run on a machine with outlook and it may run on a machine with groupwise. I need something more generic than the Create Outlook Object process. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! DSL Something to write home about. Just $16.99/mo. or less From robert at servicexp.com Tue Nov 29 13:23:16 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 14:23:16 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com From mboyd at deloitte.com Tue Nov 29 13:11:49 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Tue, 29 Nov 2005 14:11:49 -0500 Subject: [AccessD] Cycle thru All Tables in DB Message-ID: After playing with the code, I came up with the following, which does exactly what I needed. Public Sub CycleThruTables() Dim td As TableDef Dim fld As Field Dim i As Integer For Each td In CurrentDb.TableDefs If Left(td.Name, 4) <> "MSys" Then 'not a system table i = 0 For Each fld In td.Fields Set fld = td.Fields(i) DoCmd.RunSQL ("UPDATE [" & td.Name & "] SET [" & fld.Name & "] = Null WHERE [" & fld.Name & "] = ''") i = i + 1 Next End If Next Set td = Nothing Set fld = Nothing End Sub Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com ________________________________ From: Boyd, Mark Thomas (US - Philadelphia) Sent: Tuesday, November 29, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Cycle thru All Tables in DB I'm sure this is possible, but have never coded it. I have 50 tables, each containing 50 fields. Some of the fields contain empty strings. I need to cycle thru every table, and update all empty strings to null. Is there a way to cycle thru each table, and cycle thru each field record by record, and update to null where necessary? I want to avoid using specific table and field names. Any ideas? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From darsant at gmail.com Tue Nov 29 13:30:39 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 13:30:39 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Message-ID: <53c8e05a0511291130l776a7193p545ec15a22b9dc1d@mail.gmail.com> On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the same > app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Tue Nov 29 13:42:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 11:42:31 -0800 Subject: [AccessD] Raise Event Across Network Message-ID: What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 14:53:05 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 15:53:05 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> Josh, This is a pretty complex app, so I can't run any timers, or else I have problems, big problems .. :-) Robert Gracie www.bgsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the > same app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 14:53:47 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 15:53:47 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F97@gbsserver.GBS.local> Charlotte, A2K Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 29, 2005 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Tue Nov 29 14:42:13 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 14:42:13 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> References: <3C6BD610FA11044CADFC8C13E6D5508F4F96@gbsserver.GBS.local> Message-ID: <53c8e05a0511291242re145b54pb80b9294234554a4@mail.gmail.com> On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I have > problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From DWUTKA at marlow.com Tue Nov 29 14:40:25 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:40:25 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D2@main2.marlow.com> Yes, I wrote something like that, and posted it to the list a while back. It involved using the Winsock control, and the UDP protocol. Search the archives for UDP. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.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 Nov 29 14:46:15 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:46:15 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> My UDP solution won't use any timers. VERY easy to code and implement, and lightning fast. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 2:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Josh, This is a pretty complex app, so I can't run any timers, or else I have problems, big problems .. :-) Robert Gracie www.bgsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Hello, > Is it possible to Raise an Event Across A Network In Access of the > same app? > > Sort of like a communication channel between the same app on network... Well, a hack I could think of would be to have a table with messages, and have code running on a timer in the background that polls the linked table. When a record exists, it makes a note of it and does the according action based on the data in the table, and makes an internal note that the action has been dealt with, maybe with a local table (if you need a permenant log of communication) or just internally in memory (if the message in the table can be wiped after it expires, for example, a shutdown notice). Of course, this isn't real time, and the shorter the delay on realizations the more of a performance hit you take from polling the table across the network. Not sure if VBA has any socket code capabilities. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 14:47:30 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 14:47:30 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D6@main2.marlow.com> UDP will work just fine with A2k. I think my sample code was for 97 (but will work fine in 2k). If you can't find it in the archives, let me know. I'm going to bed in about 5 minutes, if you can't find it, email me off list, and I'll dig it up for you tonight or tomorrow morning. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 2:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Charlotte, A2K Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, November 29, 2005 3:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network What version of Access? It might be possible in 2003 by calling into the .Net framework. Otherwise, you have to kludge it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Tuesday, November 29, 2005 11:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Nov 29 14:59:36 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 29 Nov 2005 12:59:36 -0800 Subject: [AccessD] Raise Event Across Network References: <3C6BD610FA11044CADFC8C13E6D5508F4F95@gbsserver.GBS.local> Message-ID: <438CC138.8010804@shaw.ca> Need to know why? Do you need the program or the user interact with the event? I still think you will need a timer. You could use command line NetSend to send a oneway message to all users or to specific machine names Sending System Messages using NetMessageBufferSend http://vbnet.mvps.org/code/network/netmessagebuffersend.htm If you use the Windows Messenger Service to distribute broadcast messages to users on your network, chances are good that you're doing it the hard way--from the command line via the DOS-based Net Send command. But hidden deep within the Windows XP operating system is the Send Console Message tool, which works just like the old WinPopup utility in Windows 9x. Unfortunately, Microsoft hid it so well that most IT professionals don't know it exists. Here's how to uncover and use the Send Console Message tool. Follow these steps: 1. Go to Start | Control Panel, and double-click Administrative Tools. 2. Double-click Computer Management. 3. Go to Action | All Tasks | Send Console Message. Windows will open the Send Console Message tool, but you need to add computer names to the Recipients list. Follow these steps: 1. Click the Add button. 2. In the Select Computer dialog box, click Advanced. 3. Click Find Now. 4. Select the computers, and click OK to exit both dialog boxes. You can now type messages in the Message text box and click the Send button to broadcast messages to the users on your network. Robert Gracie wrote: > >Hello, > Is it possible to Raise an Event Across A Network In Access of the same >app? > >Sort of like a communication channel between the same app on network... > >Robert Gracie >www.gbsysnow.com > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Tue Nov 29 15:01:01 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 29 Nov 2005 15:01:01 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1D5@main2.marlow.com> Message-ID: <53c8e05a0511291301i7d9ad2d1p2757949492553535@mail.gmail.com> On 11/29/05, DWUTKA at marlow.com wrote: > My UDP solution won't use any timers. VERY easy to code and implement, and > lightning fast. Just be careful you don't saturate the network or you'll start losing your UDP events. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From robert at servicexp.com Tue Nov 29 15:19:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 16:19:25 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F98@gbsserver.GBS.local> My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Tue Nov 29 15:19:53 2005 From: robert at servicexp.com (Robert Gracie) Date: Tue, 29 Nov 2005 16:19:53 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F99@gbsserver.GBS.local> Drew, Thank, I'll take a look!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, November 29, 2005 4:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Yes, I wrote something like that, and posted it to the list a while back. It involved using the Winsock control, and the UDP protocol. Search the archives for UDP. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 29 16:47:04 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 14:47:04 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email Message-ID: <20051129224705.47672.qmail@web33115.mail.mud.yahoo.com> I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Tue Nov 29 17:00:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 15:00:02 -0800 Subject: [AccessD] Embed Query Results in an Email Message-ID: You can embed them by pasting into a RichText or HTML format message, but if the receipient only accepts plain text, it won't do you a lot of good. What are you trying to accomplish and how big would these queries be? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 2:47 PM To: AccessD solving' Subject: [AccessD] Embed Query Results in an Email I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Nov 29 17:07:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 15:07:16 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email In-Reply-To: Message-ID: <20051129230716.83274.qmail@web33104.mail.mud.yahoo.com> The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. Charlotte Foust wrote: You can embed them by pasting into a RichText or HTML format message, but if the receipient only accepts plain text, it won't do you a lot of good. What are you trying to accomplish and how big would these queries be? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 2:47 PM To: AccessD solving' Subject: [AccessD] Embed Query Results in an Email I want to embed the results of two queries into an email. Is this possible? I do not want to attach. I want both queries to actually be in the body of the mail like two tables. Lemmeno... May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Donald.A.McGillivray at sprint.com Tue Nov 29 17:35:32 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Tue, 29 Nov 2005 17:35:32 -0600 Subject: [AccessD] Embed Query Results in an Email Message-ID: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. From joeget at vgernet.net Tue Nov 29 17:44:47 2005 From: joeget at vgernet.net (John Eget) Date: Tue, 29 Nov 2005 18:44:47 -0500 Subject: [AccessD] deletion of record from popup Message-ID: <008301c5f53e$e57f4d70$c9c2f63f@JOHN> I have a displayed record (in edit mode) and display a popup when the delete command button asks the question. Are you sure?. Popup created and code for Yes Command Button is below. But nothing happens. Does anyone have an example or know what I am doing wrong? On Error GoTo Err_Delete_Record_Click DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_SELECTRECORD_V2, , A_MENU_VER20 DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_DELETE_V2, , A_MENU_VER20 Exit_Delete_Record_Click: Exit Sub Err_Delete_Record_Click: MsgBox Error$ Resume Exit_Delete_Record_Click From prodevmg at yahoo.com Tue Nov 29 17:46:48 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 29 Nov 2005 15:46:48 -0800 (PST) Subject: [AccessD] Embed Query Results in an Email In-Reply-To: Message-ID: <20051129234648.31490.qmail@web33102.mail.mud.yahoo.com> How do you go about formatting and doing headers? "Mcgillivray, Don [IT]" wrote: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Tue Nov 29 18:04:19 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 29 Nov 2005 16:04:19 -0800 Subject: [AccessD] deletion of record from popup Message-ID: Surely you aren't still using Access 2?? All that code appears to do is this: DoCmd.RunCommand acCmdSelectRecord DoCmd.RunCommand acCmdDeleteRecord Where is the code? It needs to be on the form that contains the record, since you can't select the current record from another form with that code. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Tuesday, November 29, 2005 3:45 PM To: AccessD at databaseadvisors.com Subject: [AccessD] deletion of record from popup I have a displayed record (in edit mode) and display a popup when the delete command button asks the question. Are you sure?. Popup created and code for Yes Command Button is below. But nothing happens. Does anyone have an example or know what I am doing wrong? On Error GoTo Err_Delete_Record_Click DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_SELECTRECORD_V2, , A_MENU_VER20 DoCmd.DoMenuItem A_FORMBAR, A_EDITMENU, A_DELETE_V2, , A_MENU_VER20 Exit_Delete_Record_Click: Exit Sub Err_Delete_Record_Click: MsgBox Error$ Resume Exit_Delete_Record_Click -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Tue Nov 29 18:49:05 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Tue, 29 Nov 2005 18:49:05 -0600 Subject: [AccessD] Embed Query Results in an Email Message-ID: Well, I wrote a little function that accepts a value, converts it to text (if necessary), and pads and justifies it according to the requirements of the layout. I just pass each column's value (or header literal) to the function along with its formatting specs, and concatenate the results together for each row. Terminate each row with a CrLf as you go, and there you have it. Here's my function. It works well in my controlled application, but you might want to modify it to handle values longer than MaxLen. Function PadText(varValue As Variant, strDataType As String, lngMaxLen As Long, strJustify As String) As String '----------------------------------------------------------------------- ---------------- ' Procedure : PadText ' Purpose : builds a string from the passed value per the passed specs ' Arguments : varValue = the value to be processed ' strDataType = the type of data being passed - acceptable values = Text, Num, Date ' lngMaxLen = the maximum number of characters allowed for the resulting string ' strJustify = the justification spec for the resulting string - acceptable values = L, C, or R ' Returns : The input value formatted as desired '----------------------------------------------------------------------- ---------------- ' On Error GoTo ErrorHandle Dim strResult As String, blnError As Boolean If lngMaxLen <> 0 Then Select Case strDataType Case "Text" strResult = varValue Case "Num" strResult = Format(varValue, "#,###") Case "Date" strResult = Format(varValue, "mm/dd/yyyy hh:nn:ss") Case Else blnError = True End Select If blnError = False Then Select Case strJustify Case "L" strResult = strResult & Space(lngMaxLen - Len(strResult)) Case "C" strResult = Space(Int((lngMaxLen - Len(strResult)) / 2)) _ & strResult & Space((lngMaxLen - Len(strResult)) - Int((lngMaxLen - Len(strResult)) / 2)) Case "R" strResult = Space(lngMaxLen - Len(strResult)) & strResult Case Else blnError = True End Select End If Else blnError = True End If If blnError = False Then PadText = strResult Else PadText = "Error" FunctionExit: Exit Function ErrorHandle: Select Case Err.Number Case Else MsgBox Err.Number & " " & Err.Description & vbCrLf & vbCrLf _ & "Error in Function 'PadText' of Module 'basSendCycleConfirmations'." End Select Resume FunctionExit End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email How do you go about formatting and doing headers? "Mcgillivray, Don [IT]" wrote: Lonnie, I've done something similar to what you are trying to do. In my app, I send out daily activity summaries using a procedure that opens a recordset and steps through the resulting rows, formatting and appending the values to a string variable. The procedure adds column headers and explanatory text to the string before using it as the body of an email message that is sent using "Blat." In my case, the process is triggered automatically once a day, but you could just as easily put something like this on a button. HTH, Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, November 29, 2005 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Embed Query Results in an Email The two queries hold the results of stats for case workers that are mailed to the whole company. The requestor was wanting two embedded tables vs attachements. The two queries are both three columns wide and never have any more than 15 rows. It's inner office so everyone can read HTML format. Thanks for the response. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:38:37 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:38:37 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D8@main2.marlow.com> -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:38:59 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:38:59 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1D9@main2.marlow.com> Cool, that is what my sample does. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Tuesday, November 29, 2005 3:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network My "plan" is to raise an event, in this case to present the user with a msg and then log them out of the app If necessary. I have everything except the network communication part... :-) Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Tuesday, November 29, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, Robert Gracie wrote: > Josh, > This is a pretty complex app, so I can't run any timers, or else I > have problems, big problems .. :-) Ok, quick easy hack out of the way then. =) What kind of information / messages are you trying to pass between applications? Just notifications of certain events occuring? -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Nov 29 19:39:43 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 29 Nov 2005 19:39:43 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> I know how to handle my UDP! ;) Drew -----Original Message----- From: Josh McFarlane [SMTP:darsant at gmail.com] Sent: Tuesday, November 29, 2005 3:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network On 11/29/05, DWUTKA at marlow.com wrote: > My UDP solution won't use any timers. VERY easy to code and implement, and > lightning fast. Just be careful you don't saturate the network or you'll start losing your UDP events. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 09:27:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 10:27:32 -0500 Subject: [AccessD] OT: free Sygate personal Message-ID: <001d01c5f5c2$959ad520$667aa8c0@ColbyM6805> Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Wed Nov 30 09:40:09 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 09:40:09 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <001d01c5f5c2$959ad520$667aa8c0@ColbyM6805> Message-ID: <006401c5f5c4$58e7d270$7b01a8c0@ScuzzPaq> Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. From Erwin.Craps at ithelps.be Wed Nov 30 10:08:36 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 30 Nov 2005 17:08:36 +0100 Subject: [AccessD] OT: free Sygate personal Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 30, 2005 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: free Sygate personal Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 10:16:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 11:16:49 -0500 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> Message-ID: <002501c5f5c9$782b9180$667aa8c0@ColbyM6805> LOL. Yea the personal pro edition. It is all about money after all. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Wednesday, November 30, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: free Sygate personal I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Wednesday, November 30, 2005 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: free Sygate personal Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Nov 30 10:19:45 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 10:19:45 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6140@stekelbes.ithelps.local> Message-ID: <007601c5f5c9$e0996cb0$7b01a8c0@ScuzzPaq> Erwin, Do you have a link to the article? I suspected this would happen but missed the announcement. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software From john at winhaven.net Wed Nov 30 10:19:45 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 10:19:45 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <006401c5f5c4$58e7d270$7b01a8c0@ScuzzPaq> Message-ID: <007701c5f5c9$e0de8c00$7b01a8c0@ScuzzPaq> Sorry , wrong link, try this one: http://www.simtel.net/product.download.mirrors.php?id=53687 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Try this link: http://smb.sygate.com/products/spf_standard.htm -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 10:21:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 11:21:13 -0500 Subject: [AccessD] Virtual PC Message-ID: <002601c5f5ca$1599d850$667aa8c0@ColbyM6805> Is anyone using Virtual PC? I am starting to set it up, using an external Drive on a USB, and I am wondering whether I need to bother putting a firewall on it. The virtual PC instances will be used for development in the new Visual Studio 2005 / SQL Server 2005. It seems like rather a large computing load to impose on a virtual machine, although if there is little traffic to the internet perhaps not. Thoughts? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Wed Nov 30 10:51:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 30 Nov 2005 10:51:33 -0600 Subject: [AccessD] OT: free Sygate personal Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> I just started to use the free version of the Outpost firewall and I have to say I'm very happy with it. http://www.agnitum.com/products/outpostfree/download.php Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: free Sygate personal Is the free version of the Sygate firewall now gone? Symantic bought Sygate and I cannot find a "download free version" link anymore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Wed Nov 30 11:13:14 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 30 Nov 2005 11:13:14 -0600 Subject: [AccessD] Raise Event Across Network In-Reply-To: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> References: <17724746D360394AA3BFE5B8D40A9C1BD1DA@main2.marlow.com> Message-ID: <53c8e05a0511300913r11feb07bma7a1fead6bc423d4@mail.gmail.com> On 11/29/05, DWUTKA at marlow.com wrote: > I know how to handle my UDP! ;) > > Drew Just checking. =) When I started working at my new job, all of their program communication dealing with large amounts of data transfer was in UDP on a closed network, and they couldn't understand why every now and then the data would end up corrupted! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From jwcolby at ColbyConsulting.com Wed Nov 30 12:22:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 13:22:29 -0500 Subject: [AccessD] Tracing the source data Message-ID: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From martyconnelly at shaw.ca Wed Nov 30 12:38:47 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 30 Nov 2005 10:38:47 -0800 Subject: [AccessD] Tracing the source data References: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> Message-ID: <438DF1B7.6040206@shaw.ca> http://www.fmsinc.com/products/analyzer/ReportsList.html#Cross%20Reference%20Analysis but it is $300 John Colby wrote: >I have a database I am trying to trace the data for. Every form has a table >/ query. If a query, what queries/tables are used in that? If any queries >used in that query, what queries are used in that. IOW, for FormA exactly >what queries and tables are required for that form, all the way back down >through all the subqueries etc. Same for reports. > >Is there anything out there that does this for a reasonable price? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Wed Nov 30 12:46:05 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 10:46:05 -0800 Subject: [AccessD] Tracing the source data In-Reply-To: <008b01c5f5db$06a162d0$667aa8c0@ColbyM6805> Message-ID: <000001c5f5de$525a4680$6701a8c0@Hewlett> John, FMS Analyzer? WWW.FMSINC.COM Different people have different idea of what is reasonable. HTH Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Nov 30 13:21:35 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 30 Nov 2005 14:21:35 -0500 Subject: [AccessD] Tracing the source data Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F19B68CBB@xlivmbx21.aig.com> Try Rick Fisher's Find and Replace (registered version does x-references) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Nov 30 13:41:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 30 Nov 2005 14:41:26 -0500 Subject: [AccessD] Tracing the source data In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F19B68CBB@xlivmbx21.aig.com> Message-ID: <009301c5f5e6$0dde8fe0$667aa8c0@ColbyM6805> Yes, it does cross reference (I have it) but while it does say: A uses B B uses d, f, g, h D uses c,e,x,y It does not say: Therefore A uses B,D,F,G,H,V,E,X,Y Further the Cross reference does not place the data in tables (that I can find) so I can't even build my own thing using the results of the cross reference. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, November 30, 2005 2:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Tracing the source data Try Rick Fisher's Find and Replace (registered version does x-references) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, November 30, 2005 1:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Tracing the source data I have a database I am trying to trace the data for. Every form has a table / query. If a query, what queries/tables are used in that? If any queries used in that query, what queries are used in that. IOW, for FormA exactly what queries and tables are required for that form, all the way back down through all the subqueries etc. Same for reports. Is there anything out there that does this for a reasonable price? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Nov 30 13:54:20 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 30 Nov 2005 20:54:20 +0100 Subject: [AccessD] OT: free Sygate personal Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B6141@stekelbes.ithelps.local> Its a Zdnet Article This is the link but it is the Belgian/Dutch version. I supose you can do a search in the English version of ZDNet??? http://www.zdnet.be/news.cfm?id=51301&mxp=122 Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Bartow Verzonden: woensdag 30 november 2005 17:20 Aan: 'Access Developers discussion and problem solving' Onderwerp: Re: [AccessD] OT: free Sygate personal Erwin, Do you have a link to the article? I suspected this would happen but missed the announcement. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps I read an article today that Symantec announced in a press release that they will no longer give Sygate for free because it competes with an other Symantec (paying) software -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 30 14:22:10 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 12:22:10 -0800 Subject: [AccessD] Append (?) Query Help Message-ID: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> I am trying to add a field of data from one table to another. The idea is to add the term date to the target table. It errors out to key violation and null values. Please advise. SQL = INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) SELECT [01_PersMasterfor Programming].MyEmpNumb, [01_PersMasterfor Programming].TERM_DATE FROM [01_PersMasterfor Programming]; Joe Hecht jmhecht at earthlink.net From DWUTKA at marlow.com Wed Nov 30 14:23:51 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 14:23:51 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1E8@main2.marlow.com> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 14:37:20 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 14:37:20 -0600 Subject: [AccessD] Append (?) Query Help In-Reply-To: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> References: <000001c5f5eb$bec8af70$6701a8c0@Hewlett> Message-ID: I would change it to just a plain select query and see what results you are getting. Are you getting nulls in one of those two fields?? Perhaps you have some bad records? Perhaps you need a condition to select only if is not null or something? Is that enough info to actually add the record in the table you are trying to insert into? On 11/30/05, Joe Hecht wrote: > I am trying to add a field of data from one table to > another. The idea is to add the term date to the target > table. It errors out to key violation and null values. > > > > Please advise. > > > > SQL = > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > [01_PersMasterfor Programming].TERM_DATE > > FROM [01_PersMasterfor Programming]; > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From john at winhaven.net Wed Nov 30 14:38:54 2005 From: john at winhaven.net (John Bartow) Date: Wed, 30 Nov 2005 14:38:54 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B6141@stekelbes.ithelps.local> Message-ID: <001f01c5f5ee$154c7140$7b01a8c0@ScuzzPaq> Sure can. -thanks -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Its a Zdnet Article This is the link but it is the Belgian/Dutch version. I supose you can do a search in the English version of ZDNet??? http://www.zdnet.be/news.cfm?id=51301&mxp=122 From Gustav at cactus.dk Wed Nov 30 14:42:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2005 21:42:02 +0100 Subject: [AccessD] Raise Event Across Network Message-ID: Hi Drew Great! Didn't you do something similar some years back with Named Pipes? I still have a zip from you with some NP stuff ... /gustav >>> DWUTKA at marlow.com 30-11-2005 21:23:51 >>> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... From Jdemarco at hudsonhealthplan.org Wed Nov 30 14:48:36 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 30 Nov 2005 15:48:36 -0500 Subject: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa yWhen YouArrive at the Pearly Gates Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C418B@TTNEXCHCL2.hshhp.com> 5. Bin Laden's the name... Osama Bin Laden. or should that be #1?? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:49 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Sa yWhen YouArrive at the Pearly Gates 6. What does the down arrow mean under the sign 'For Bounders and Natural Key Users'??? Sorry, couldn't resist! Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, November 28, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] [Spam] Re: Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 7) The guy over there offered Wine, Women and Song for eternity. What's your best offer? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, November 28, 2005 9:36 PM To: accessd at databaseadvisors.com Subject: [Spam] Re: [AccessD] Friday OT: Challenge -- Things Not to Say When YouArrive at the Pearly Gates 8. Hey, where are the strip bars at? -----Original Message----- From: David Emerson [mailto:newsgrps at dalyn.co.nz] Sent: Monday, November 28, 2005 8:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday OT: Challenge -- Things Not to Say When You Arrive at the Pearly Gates 9. So, when do things hot up here? At 29/11/2005, you wrote: >10. Yeah, yeah, yeah, you created the universe, but what have you done >for me lately? The other nine invited. >A. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 DWUTKA at marlow.com Wed Nov 30 14:58:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 14:58:32 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1EC@main2.marlow.com> I think so. Problem with Named pipes, is that it locks the thread that is 'listening'. Since an .mdb is single threaded, it didn't work too well. Using the UDP method allows for a network 'broadcast' however. Very quick and efficient. Drew -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Wednesday, November 30, 2005 2:42 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Hi Drew Great! Didn't you do something similar some years back with Named Pipes? I still have a zip from you with some NP stuff ... /gustav >>> DWUTKA at marlow.com 30-11-2005 21:23:51 >>> Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lyle.hannum at co.wake.nc.us Wed Nov 30 15:02:42 2005 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Wed, 30 Nov 2005 16:02:42 -0500 Subject: [AccessD] Virtual PC Message-ID: Hi Here at my office several people are running VPC with VS2005 and SQL 2005 (ent. ed. for both) with no problems. They say it is slow to load, but then all is well. I will have to ask on the firewall question. A related question if I may...have you looked into Virtual Server 2005? No one here seems to be able to run the admin set up page (hence the use of VPC). I believe a ticket is open at MS with no resolution to date. This is on Win 2003/IIS6, Dual core Intel CPU, 1GB ram. Lyle Hannum MCP Wake County IS "John Colby" , "Tech - Database Advisors Inc." Sent by: accessd-bounces at databasea cc: dvisors.com Subject: [AccessD] Virtual PC 11/30/2005 11:21 AM Please respond to Access Developers discussion and problem solving Is anyone using Virtual PC? I am starting to set it up, using an external Drive on a USB, and I am wondering whether I need to bother putting a firewall on it. The virtual PC instances will be used for development in the new Visual Studio 2005 / SQL Server 2005. It seems like rather a large computing load to impose on a virtual machine, although if there is little traffic to the internet perhaps not. Thoughts? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Nov 30 15:23:34 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 13:23:34 -0800 Subject: [AccessD] Append (?) Query Help In-Reply-To: Message-ID: <000001c5f5f4$52b64730$6701a8c0@Hewlett> Gary, The field is a date field. I tried making the blanks = N/A but they would not take. The source table was a non normalized table that I broke to several smaller tables to normalize the data. I missed taking the Term Date field the first time through. Would it be easier just to rebuild the target table? Joe Hecht jmhecht at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, November 30, 2005 12:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Append (?) Query Help I would change it to just a plain select query and see what results you are getting. Are you getting nulls in one of those two fields?? Perhaps you have some bad records? Perhaps you need a condition to select only if is not null or something? Is that enough info to actually add the record in the table you are trying to insert into? On 11/30/05, Joe Hecht wrote: > I am trying to add a field of data from one table to > another. The idea is to add the term date to the target > table. It errors out to key violation and null values. > > > > Please advise. > > > > SQL = > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > [01_PersMasterfor Programming].TERM_DATE > > FROM [01_PersMasterfor Programming]; > > > > Joe Hecht > > jmhecht at earthlink.net > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 20:12:52 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 20:12:52 -0600 Subject: [AccessD] Append (?) Query Help In-Reply-To: <000001c5f5f4$52b64730$6701a8c0@Hewlett> References: <000001c5f5f4$52b64730$6701a8c0@Hewlett> Message-ID: Date/time fields are actually stored as double precision numeric fields internally, so anything alpha or blanks/spaces is gonna break it. You can do mathematic stuff with them though, so you could test for <>0 or something or perhaps a date > the earliest date you have in your date population?? > #1/1/1900# or something like that. Have a look at this description of the date field's structure....I learned about this when doing Y2K stuff back in 1999 ;-) http://support.microsoft.com/?scid=kb;en-us;210276&spid=2509&sid=202 Ya got to give it what it wants. Or skip the things it can't handle. GK On 11/30/05, Joe Hecht wrote: > Gary, > > The field is a date field. I tried making the blanks = N/A > but they would not take. > > The source table was a non normalized table that I broke to > several smaller tables to normalize the data. > > I missed taking the Term Date field the first time through. > Would it be easier just to rebuild the target table? > > Joe Hecht > jmhecht at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gary Kjos > Sent: Wednesday, November 30, 2005 12:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Append (?) Query Help > > I would change it to just a plain select query and see what > results > you are getting. Are you getting nulls in one of those two > fields?? > Perhaps you have some bad records? Perhaps you need a > condition to > select only if is not null or something? > Is that enough info to actually add the record in the table > you are > trying to insert into? > > > On 11/30/05, Joe Hecht wrote: > > I am trying to add a field of data from one table to > > another. The idea is to add the term date to the target > > table. It errors out to key violation and null values. > > > > > > > > Please advise. > > > > > > > > SQL = > > > > > > > > INSERT INTO 01tblPersonel ( MyEmpNumb, Term_Date ) > > > > SELECT [01_PersMasterfor Programming].MyEmpNumb, > > [01_PersMasterfor Programming].TERM_DATE > > > > FROM [01_PersMasterfor Programming]; > > > > > > > > Joe Hecht > > > > jmhecht at earthlink.net > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From pcs at azizaz.com Wed Nov 30 21:03:23 2005 From: pcs at azizaz.com (Borge Hansen) Date: Thu, 1 Dec 2005 13:03:23 +1000 Subject: [AccessD] Access data to and from Website References: Message-ID: <01c001c5f623$cb1a3db0$fa10a8c0@Albatross> Hi all, I have no experience with pushing data between an Access database and a Website. We have a full featured event management database that we have been running for some years - still in Access97 about to be moved to A2003... A number of conferences are held throughout the year. An organization registers one or more attendees An attendee is assigned to several sessions throughout the conference. All registration related communication used to be handled with postal mailout, now most is done via email. However, de peple in de top office is reguesting that an attendee should be able to visit the website (currently just a static web page) - view all sessions for the conference and select which ones they wish to attend, and submit this information. Relevant procedures will then integrate the information captured into the event database. Something needs to be up and running rather quickly. I'd appreciate anyone's comments, suggestions for a simple, quick and efficient solution. What tools to use? Estimated time involved? Code samples This is how I envisage the functionality: The Attendee enters LastName, FirstName, City and emailaddress. Entry is validated against table containing data for all attendees for the Conference: AttendeeID, LastName, FirstName and City (we may not have email address at this stage). As part of the validation the AttendeeID is identified. The list of sessions are displayed grouped by Date and Session Category and order by StartTime. There is a tickbox (?) for each Session where the Attendee can tick if he/she wishes to attendee the Session. Each session is identified by a SessionID, (not necessarily displayed). At the bottom a Submit button. Curious as to how do you make this part of the webpage dynamic/interactive - i.e. the code behind the submit button to walk the page, identify the sessions that have been ticked and capture the corresponding SessionID The submit button will do the following: 1. Send an email confirming Name, City and listing the Sessions that the Attendee wishes to attend. 2. Capture information from the Webpage to a table called say tblWebRegistrationAttendee AttendeeID emailaddress (no editing of Name and City information) and to a table called say tblWebRegistrationAttendeeSession AttendeeID SessionID The captured information will then be copied from the webserver tables to the event database for further processing..... .... that's it any suggestions, comments, pointers appreciated regards /borge From jmhecht at earthlink.net Wed Nov 30 22:10:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 30 Nov 2005 20:10:11 -0800 Subject: [AccessD] Members in Los Angeles Area Message-ID: <000301c5f62d$201f4a90$6701a8c0@Hewlett> Are there any list members in the Los Angeles area who have Visual Studio Tools for Office? Please let me know. I may ask to meet with you. Joe Hecht jmhecht at earthlink.net From bchacc at san.rr.com Wed Nov 30 22:31:21 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 30 Nov 2005 20:31:21 -0800 Subject: [AccessD] OT: free Sygate personal References: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> Message-ID: <036501c5f630$14ba8b80$6a01a8c0@HAL9004> If you're behind a router with a firewall (and running AV scanning email, etc.) do you need one of these additional products? Rocky ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, November 30, 2005 8:51 AM Subject: Re: [AccessD] OT: free Sygate personal >I just started to use the free version of the Outpost firewall and I have >to > say I'm very happy with it. > > http://www.agnitum.com/products/outpostfree/download.php > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Wednesday, November 30, 2005 10:28 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] OT: free Sygate personal > > > Is the free version of the Sygate firewall now gone? Symantic bought > Sygate > and I cannot find a "download free version" link anymore. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From robert at servicexp.com Wed Nov 30 22:54:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 30 Nov 2005 23:54:13 -0500 Subject: [AccessD] Raise Event Across Network Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F9A@gbsserver.GBS.local> Hey Drew, Yes Indeed I found it, however the code is based on the winsock.dll which I guess is not installed by default. I guess you need Vb6 to distribute it, SO I have started the process of puzzling out a system using the http://www.ostrosoft.com/oswinsck.asp .dll Interesting but not fun.... :-) Thanks For You Help!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 30, 2005 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jengross at gte.net Wed Nov 30 23:07:18 2005 From: jengross at gte.net (Jennifer Gross) Date: Wed, 30 Nov 2005 21:07:18 -0800 Subject: [AccessD] Database Corruption Message-ID: <004c01c5f635$1daffea0$6501a8c0@jefferson> I have a multi-user (approximately 15 users) database split BE and FE, with the FE residing on each individual work station or Terminal Server in separate user directories. About a week ago IT moved the BE to a SAN and since then we have been experiencing corruption of the BE about 3 times a day. I have imported all the tables and relationships into a new database - still corrupting, rolled back the FE to one that was stable prior to the corruptions starting - still corrupting, moved the BE back to the server off the SAN - still corrupting and now I am going to import the table structures into a new database and then import the data into the new tables. It is an A2K FE and BE. Most users are on Win2K with A2K, some are on WinXP with AXP or A2003. Does anyone have any ideas what could be going on here? Any suggestions are appreciated. Thanks in advance, Jennifer Gross From DWUTKA at marlow.com Wed Nov 30 23:17:24 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 30 Nov 2005 23:17:24 -0600 Subject: [AccessD] Raise Event Across Network Message-ID: <17724746D360394AA3BFE5B8D40A9C1BD1EE@main2.marlow.com> I could compile a winsock project for you if you want. Drew -----Original Message----- From: Robert Gracie [SMTP:robert at servicexp.com] Sent: Wednesday, November 30, 2005 10:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Raise Event Across Network Hey Drew, Yes Indeed I found it, however the code is based on the winsock.dll which I guess is not installed by default. I guess you need Vb6 to distribute it, SO I have started the process of puzzling out a system using the http://www.ostrosoft.com/oswinsck.asp .dll Interesting but not fun.... :-) Thanks For You Help!! Robert Gracie www.gbsysnow.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, November 30, 2005 6:45 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Raise Event Across Network Didn't hear back from you about this. But I just looked, I have the sample available at http://www.marlow.com/RemoteShutdown.zip. It has an A2k .mdb with a form (that you open hidden with your application). Then there is a VB form that you can use to shutdown, message, or prompt/shutdown all remote clients on your network. The source and .exe for the VB program is in the zip. You can open them with notepad if you don't have VB 6, and make a similar project in Access. Drew -----Original Message----- From: Robert Gracie [mailto:robert at servicexp.com] Sent: Tuesday, November 29, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: [AccessD] Raise Event Across Network Hello, Is it possible to Raise an Event Across A Network In Access of the same app? Sort of like a communication channel between the same app on network... Robert Gracie www.gbsysnow.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Nov 30 23:53:19 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 23:53:19 -0600 Subject: [AccessD] Database Corruption In-Reply-To: <004c01c5f635$1daffea0$6501a8c0@jefferson> References: <004c01c5f635$1daffea0$6501a8c0@jefferson> Message-ID: Hi Jennifer, In my experiences with corruptions over the years, pretty much all of them have been caused by network connectivity issues. Even with the database moved off the SAN ad back to the original server, did they still have other drives mapped to the SAN?? Did all the workstations reboot after the move back?? I am theorizing that some connectivity issue with the SAN is causing the workstations to go into some temporary wait state and then the Access database thinks the user has disconnected....and bang, it sets the corrupted flag and the next user that tries to get in is locked out until the compact/repair is done. Good luck figuring it out, its likely gonna be tough. GK On 11/30/05, Jennifer Gross wrote: > I have a multi-user (approximately 15 users) database split BE and FE, > with the FE residing on each individual work station or Terminal Server > in separate user directories. About a week ago IT moved the BE to a SAN > and since then we have been experiencing corruption of the BE about 3 > times a day. I have imported all the tables and relationships into a > new database - still corrupting, rolled back the FE to one that was > stable prior to the corruptions starting - still corrupting, moved the > BE back to the server off the SAN - still corrupting and now I am going > to import the table structures into a new database and then import the > data into the new tables. > > It is an A2K FE and BE. Most users are on Win2K with A2K, some are on > WinXP with AXP or A2003. Does anyone have any ideas what could be going > on here? Any suggestions are appreciated. > > Thanks in advance, > > Jennifer Gross > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Wed Nov 30 23:55:44 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 30 Nov 2005 23:55:44 -0600 Subject: [AccessD] OT: free Sygate personal In-Reply-To: <036501c5f630$14ba8b80$6a01a8c0@HAL9004> References: <1D7828CDB8350747AFE9D69E0E90DA1F19B68BD9@xlivmbx21.aig.com> <036501c5f630$14ba8b80$6a01a8c0@HAL9004> Message-ID: The firewall mostly protects you from stuff going OUT, not coming in. The built into Xp firewall is getting better. I might be trusting it on one or more of my systems. Or not. Don't want to tip my hand ;-) On 11/30/05, Rocky Smolin - Beach Access Software wrote: > If you're behind a router with a firewall (and running AV scanning email, > etc.) do you need one of these additional products? > > Rocky > > ----- Original Message ----- > From: "Heenan, Lambert" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, November 30, 2005 8:51 AM > Subject: Re: [AccessD] OT: free Sygate personal > > > >I just started to use the free version of the Outpost firewall and I have > >to > > say I'm very happy with it. > > > > http://www.agnitum.com/products/outpostfree/download.php > > > > Lambert > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Wednesday, November 30, 2005 10:28 AM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] OT: free Sygate personal > > > > > > Is the free version of the Sygate firewall now gone? Symantic bought > > Sygate > > and I cannot find a "download free version" link anymore. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Andrew.Curtis at wapl.com.au Wed Nov 30 23:45:30 2005 From: Andrew.Curtis at wapl.com.au (Curtis, Andrew (WAPL)) Date: Thu, 1 Dec 2005 13:45:30 +0800 Subject: [AccessD] Database Corruption Message-ID: We have had some problems when the filepath from the server perspective is longer than 255 characters for the BE. I.E you may access the BE via a share name (\\server\sharename\BE.mdb), however the REAL file path on the server may be something like S:\databases for public use\department one\..\..\..\BE.MDB When the BE.mdb path may actually be longer than 255 characters Also check Microsoft for file locking issue with Windows XP non SP workstations on Windows 2003 servers. You have said that this has only been a problem since the SAN move, is the new SAN hosts 2003? And the old server host was 2000? If this is the case, file locking by the CLIENT is likely. --andrew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, 1 December 2005 1:07 PM To: AccessD List Subject: [AccessD] Database Corruption I have a multi-user (approximately 15 users) database split BE and FE, with the FE residing on each individual work station or Terminal Server in separate user directories. About a week ago IT moved the BE to a SAN and since then we have been experiencing corruption of the BE about 3 times a day. I have imported all the tables and relationships into a new database - still corrupting, rolled back the FE to one that was stable prior to the corruptions starting - still corrupting, moved the BE back to the server off the SAN - still corrupting and now I am going to import the table structures into a new database and then import the data into the new tables. It is an A2K FE and BE. Most users are on Win2K with A2K, some are on WinXP with AXP or A2003. Does anyone have any ideas what could be going on here? Any suggestions are appreciated. Thanks in advance, Jennifer Gross -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message and any attached files may contain information that is confidential and/or subject of legal privilege intended only for use by the intended recipient. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, be advised that you have received this message in error and that any dissemination, copying or use of this message or attachment is strictly forbidden, as is the disclosure of the information therein. If you have received this message in error please notify the sender immediately and delete the message.